AbstractStrategy
- class qf_lib.backtesting.strategies.abstract_strategy.AbstractStrategy(ts: TradingSession)[source]
Bases:
objectBasic interface used to create a generic strategy.
Methods:
The base function of every strategy.
subscribe(event)Subscribes the strategy to a given Time event.