fix: bug in wrong channel subscription in drift

This commit is contained in:
zenix 2022-07-14 13:44:05 +09:00
parent 7368069c7a
commit b52208d7b6

View File

@ -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)
}