Crypto-toolbox / bitex

Crypto-currency Exchange API Framework
MIT License
483 stars 134 forks source link

429 Response handling? #144

Closed Jwely closed 6 years ago

Jwely commented 6 years ago

I was surprised to see the GDAX interface does not provide any handling for the submission of many requests that may exceed API limits. Is there any intention to add features in this category for GDAX or other interfaces in the future?

deepbrook commented 6 years ago

Hey @Jwely, There currently is no such feature planned. I believe that rate-limiting is job of the user and not the library, as this may interfere with trading strategies in an unexpected way.

Thanks for your question!

Jwely commented 6 years ago

Understood.

I've been using it for analyzing historical trades where waiting any arbitrary time for a response is no problem, but any live trade strategy will have non trivial requirements for handling this kind of thing.