mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
kucoin: convert symbol to global symbol
This commit is contained in:
parent
f0d4236169
commit
5f9753b281
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user