coinut / api

25 stars 5 forks source link

nonce #3

Closed ghost closed 3 years ago

ghost commented 6 years ago

Where do I get the "nonce" number from is this just a random # I choose?

Also is there a websocket call for all crypto/currency pairs on the exchange?

countcain commented 6 years ago

@Placid7 https://github.com/coinut/api/wiki/Websocket-API#nonce For nonce, you can choose any number as long as it meets the requirement.

countcain commented 6 years ago

@Placid7 You can fetch all pairs' ticks at the same time. The request is

{"request": "inst_tick", "sec_type": "SPOT",  subscribe: true, "nonce": 391166762}