bmoscon / cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler
Other
2.14k stars 668 forks source link

BTCAUCTION-USD messed with BTC-USD in Coinbase #928

Closed xc5211 closed 1 year ago

xc5211 commented 1 year ago

During data feed init for ticker BTC-USD at Coinbase, instead of streaming data feed of BTC-USD, it sometimes receives feed of BTCAUCTION-USD. Whether the program chooses to receive BTC-USD or BTCAUCTION-USD is pretty random.

After some shallow dig, seems the issue is around the symbol conversion back from normalized version (https://github.com/bmoscon/cryptofeed/blob/00e30db6ecbcd2b34a130bd61f7f903160b586d8/cryptofeed/feed.py#L202).

bmoscon commented 1 year ago

fixed