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