Strategy
: used for intraday strategies—actions taken during multiple occasions during a trading day.DailyStrategy
: used for actions taken at one point during the trading day. The default action is taken at the end of the day.Strategy
or DailyStrategy
class, it is a hard requirement to implement the strategy_initialization
method. If not, an exception will occur at runtime. strategy_initialization
method, although the implementation only uses the the keyword pass
—these strategies will not perform any actions. DailyStrategy
class: