kucoin: convert symbol to global symbol

This commit is contained in:
c9s 2021-12-25 19:35:08 +08:00
parent f0d4236169
commit 5f9753b281

View File

@ -112,7 +112,7 @@ func (s *Stream) handleOrderBookL2Event(e *WebSocketOrderBookL2Event) {
})
} else {
f.AddUpdate(types.SliceOrderBook{
Symbol: e.Symbol,
Symbol: toGlobalSymbol(e.Symbol),
Bids: e.Changes.Bids,
Asks: e.Changes.Asks,
}, e.SequenceStart, e.SequenceEnd)