bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
303 stars 222 forks source link

Separate subids by socket #211

Closed JacobPlaster closed 4 years ago

JacobPlaster commented 4 years ago

Description:

When there are lots of subscriptions being created, on multiple sockets, sometimes their chanID clashes which causes for major errors when trying to parse the incoming messages. This pull request forces the specification of both the chanID and the socketID.

Breaking changes:

New features:

Fixes:

PR status: