Monday, 7 September 2020

How to get ALL (or multiple) pair's historical klines from Binance API in ONE request?

I have a trading bot that trades multiple pairs (30-40). It uses the previous 5m candle for the price input. Therefore, I get 5m history for ALL pairs one by one. Currently, the full cycle takes about 10 minutes, so the 5m candles get updated once in 10m, which is no good.

Any ideas on how to speed things up?



from How to get ALL (or multiple) pair's historical klines from Binance API in ONE request?

No comments:

Post a Comment