mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix: bug in wrong channel subscription in drift
This commit is contained in:
parent
7368069c7a
commit
b52208d7b6
|
@ -94,7 +94,7 @@ func (s *Strategy) Subscribe(session *bbgo.ExchangeSession) {
|
|||
})
|
||||
|
||||
if !bbgo.IsBackTesting {
|
||||
session.Subscribe(types.MarketTradeChannel, s.Symbol, types.SubscribeOptions{})
|
||||
session.Subscribe(types.BookTickerChannel, s.Symbol, types.SubscribeOptions{})
|
||||
}
|
||||
s.ExitMethods.SetAndSubscribe(session, s)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user