Max 1200 requests binance | Pre-check query size and split accordingly
Dear team,
I'm having issues when using 1h, 4h, 12h,1d on the max 1200 req per minute. any method to make a sort of timeout between?
so i can pull more?
thanks and cheers.
As indicated in the README.md file, the sleep variable in the config.py takes care of this.Try incrementing the default value so that less requests are sent to the Binance server. Cheers.
I know, but if i am doing scan on all pairs on 1, 4, 12h it still does more than 1200 requests a minute. could turn multithread of so it would take longer but in that way my reaction to buy would be later.
the sleep variable is the sleep between the full check. but the full check already is having 2800 checks needed?
Are you running it live? In any case, it might be worth including some function to assess the number of API requests before sending them to the server while adding the necessary breaks to not overload it. I might be able to look at it next week. Also feel free to contribute ;)
Sure m8, will try some. thanks for your quick help.
will update thread if i found out something.
Any update on this?