Is there a possibility to configure the period the barrier is active, using Quantlib for python? Namely to set up the start and the end dates we compare the spot vs the barrier.
If we look at quantlib-python-docs (https://quantlib-python-docs.readthedocs.io/en/latest/instruments/options.html?highlight=BarrierOption#ql.BarrierOption), the ql.BarrierOption class constructor seems not to have such a possibility. Should we use another class?
Any help is appreciated.