bitfinexcom / bitfinex-api-node

BITFINEX NodeJS trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
459 stars 215 forks source link

Per channel sequencing? #484

Open serzhiio opened 5 years ago

serzhiio commented 5 years ago

Hi, as it looks now sequencing is working for whole socket, but it makes no sense to me! If i have two channels (book+trade) i cant track only book data sequences. Why?

serzhiio commented 5 years ago

With current logic if i have 10 streams subscribed after one sequence curruption i should resubscribe all channels at once or restart socket because i cant be sure what channel caused problem.