n0mad01 / node.bittrex.api

No longer maintained
MIT License
183 stars 187 forks source link

Randomly get 'Nonce' from the past #78

Open jay8ee opened 6 years ago

jay8ee commented 6 years ago

Hi all.

When getting real-time data from the web-socket after subscribing to a currency pair, sometimes I randomly start getting nonce values from the past.

As I understand it, this value should be constantly counting up, one at a time with every message received from the server. Discontinuities in this number indicates that you've missed an update and your data will now have holes in it.

I am tracking this number, and suddenly the subscribe starts sending nonce's that are much lower than my tracked nonce value.

Does anyone know why this is, and what it indicates?

Thanks.