Open johnxn opened 1 week ago
Yes, this is an excellent idea. I wasn’t aware it was possible to make this general API request.
Reducing the number of API calls would significantly increase the scan frequency. Additionally, decreasing the lag between retrieving the first sell orders and the last buy orders—which is present now—will reduce vulnerability to market movements.
I’m not certain how substantial the practical upside will be, but significantly reducing the number of API calls is certainly a big advantage on its own.
I’ll update it when I get around to it.
Thank you very much for the feedback!
hi, in stead of geting buy/sell orders one token at a time, we could retrieve order books for all tokens in a single request, like this
This will save us a little more time, could it make our bot a little more profitable? Thanks again for sharing with your work, l learnt a lot from it.