binance_data
binance_data copied to clipboard
oo much request weight used; current limit is 1200 request weight per 1 MINUTE
Would be a good idea, to add a request limiter to avoid errors. The most simple is just to add a parameter request_delay
binance.exceptions.BinanceAPIException: APIError(code=-1003): Too much request weight used; current limit is 1200 request weight per 1 MINUTE. Please use the websocket for live updates to avoid polling the API.
As a workaround, I limit the number of pairs I request in parallel. Just don't pass a list of more than 2 or 3 pairs at a time.