Dave-Vallance / bt-ccxt-store

Fork of Ed Bartosh's CCXT Store Work
MIT License
423 stars 187 forks source link

Hitting API rate limit after some minutes #56

Open AminSaqi opened 2 years ago

AminSaqi commented 2 years ago

Even though that I've set enableRateLimit to True in the exchange config, the library hits the rate limit of the exchange.

I enabled logging and I saw that the library is requesting data too much frequently, i.e. one or even two requests in each second.

What I want to achieve is that the library makes requests every 15 seconds or so. How can I set that?

Thanks in advance.