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.
DailyStrategyclass, it is a hard requirement to implement the
strategy_initializationmethod. If not, an exception will occur at runtime.
strategy_initializationmethod, although the implementation only uses the the keyword
pass—these strategies will not perform any actions.