mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-24 15:55:14 +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 = types.NewStreamBook(s.Symbol, s.makerSession.ExchangeName)
|
||||||
s.makerBook.BindStream(s.makerSession.MarketDataStream)
|
s.makerBook.BindStream(makerMarketStream)
|
||||||
|
|
||||||
if err := makerMarketStream.Connect(ctx); err != nil {
|
if err := makerMarketStream.Connect(ctx); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user