altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

Update BitfinexClient.ts #306

Open DanZBo opened 2 years ago

DanZBo commented 2 years ago

Problem: When the tool subscribes to futures contracts we received data but it will not be emitted because the market will be undefined. And it is right for heartbeat messages.

Changes: I did add getting market via "channel.symbol" if we do not get market via "channel.pair"

305