From 8641640ee78406ff92828f70389f3220cf1ea28d Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 18 Nov 2024 16:46:39 +0800 Subject: [PATCH] xmaker: fix market data subscribe --- pkg/strategy/xmaker/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/xmaker/strategy.go b/pkg/strategy/xmaker/strategy.go index b2ef73f76..b57ab3d70 100644 --- a/pkg/strategy/xmaker/strategy.go +++ b/pkg/strategy/xmaker/strategy.go @@ -1737,7 +1737,7 @@ func (s *Strategy) CrossRun( }) s.makerBook = types.NewStreamBook(s.Symbol, s.makerSession.ExchangeName) - s.makerBook.BindStream(s.makerSession.MarketDataStream) + s.makerBook.BindStream(makerMarketStream) if err := makerMarketStream.Connect(ctx); err != nil { return err