mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-24 07:45:15 +00:00
xmaker: fix market data subscribe
This commit is contained in:
parent
4fea25e00a
commit
8641640ee7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user