cryptoqween / cryptoqween.github.io

CryptoCompare API tutorials
194 stars 114 forks source link

Receiving undocumented flag "0" when subscribed to Current #14

Closed dgellow closed 6 years ago

dgellow commented 6 years ago

Hi,

I notice today that I was receiving messages with a flag value of 0. I'm subscribed to Current.

Example of messages:

"2~Kraken~BTC~EUR~0~5250.542889769999~82158362.46584696~15840~8c00"
                  ^—— flag

"2~Kraken~BTC~USD~0~3022.9073560299994~56512986.796085~19219~19258.4~18c00"
                  ^—— flag

A zero value isn't documented in the API neither in https://github.com/cryptoqween/cryptoqween.github.io/blob/master/streamer/ccc-streamer-utilities.js. Could you please provide some information about it?

jcuypers commented 6 years ago

I've noticed the same. one of the examples are the 24H volume updates etc. I have only noticed this for kraken until now, but it can be for everything. In general the documentation could be improved. some mistakes and in general unclarity.

cryptoqween commented 6 years ago

Hi,

jcuypers is right, it shows volume update. We will add this to the documentation.

cryptoqween commented 4 years ago

Hi there, just wanted to let you know that this version of the streaming API is being sunset in the next couple of weeks as we are moving to version 2, that has a lot more features and better support. Please visit our documentation page which provides code examples in javascript, node, python and golang: https://min-api.cryptocompare.com/documentation/websockets.