self.is_backtesting

property Strategy.is_backtesting: bool

Boolean flag indicating whether the strategy is running in backtesting mode.