diff --git a/vnpy/app/spread_trading/strategies/statistical_arbitrage_strategy.py b/vnpy/app/spread_trading/strategies/statistical_arbitrage_strategy.py index 935b8b7284..80309cb7ab 100644 --- a/vnpy/app/spread_trading/strategies/statistical_arbitrage_strategy.py +++ b/vnpy/app/spread_trading/strategies/statistical_arbitrage_strategy.py @@ -136,6 +136,8 @@ def on_spread_bar(self, bar: BarData): interval=self.interval ) + self.put_event() + def on_spread_pos(self): """ Callback when spread position is updated.