Hello,
Is ther a way to get the first value of askPrice?
Regards,
Orlando Gautier
Hello,
Is ther a way to get the first value of askPrice?
Regards,
Orlando Gautier
Hi there,
If you use https://binance-docs.github.io/apidocs/spot/en/#order-book, you’ll obtain the “asks” prices, which will be in ascending order [0.8249, 0.8251, 0.8252, 0.8253, 0.854], so the ask price you’ve pointed is the fifth element.
In case you want to be updated with the best ask price (0.8249, first element), please check: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-book-ticker-streams
Best.
That value you indicate is not the first value, it is the fifth