DailyMarketEvent¶
-
class
qf_lib.backtesting.events.time_event.regular_time_event.daily_market_event.DailyMarketEvent[source]¶ Bases:
qf_lib.backtesting.events.time_event.regular_time_event.regular_time_event.RegularTimeEventClass implementing the logic for all events happening every day such as MarketOpenEvent, MarketCloseEvent etc. The time has to be set up by calling
set_trigger_timebefore being able to run the backtest.Methods
Returns the RelativeDelta which describes at what time the RegularTimeEvent occurs (e.g.