Closed aspramsh closed 5 years ago
I try to subscribe every pair in hitbtc sending 880 requests(...!!!) but I got 429(too many requests error). Anyone solved this problem? I would like to know as well
This is exactly my case.
@aspramsh or..Do you know anyway to send delay requests to the server by websockets?
@icehongssii no, I am waiting for someone to answer here.
@hitbtc-com how is this realtime data when it's impossible to subscribe without getting 429 even with a 1 second delay?
see example https://gist.github.com/hitbtc-com/fc738c1b926d9d7aa7e3bd5247f792a1 you should subscribe once
see example https://gist.github.com/hitbtc-com/fc738c1b926d9d7aa7e3bd5247f792a1 you should subscribe once
You mean with
for (let s of subscribeSymbols) { logger.info('Subscribe to orderbook', s.id); await socketApi.request('subscribeOrderbook', {symbol: s.id}); }
?
It still does requests one by one instead of a single multi-subscribe. as what was requested. I don't mind either way but looks to me that it's just a waste of resources. Odd that they make a javascript version like that, it's asking to get mass-pinged.
I'm left wondering where to re-open this issue to ask HitBTC to add support for this to its API.
Hi all from @hitbtc-com ,
I want to subscribe simultaneously to multiple pairs to get trades on Hitbtc websocket. Is it possible with one JSON request?