Response :-
[{“buySellRatio”:“0.8228”,“sellVol”:“586.0370”,“buyVol”:“482.1670”,“timestamp”:1698720600000},{“buySellRatio”:“2.0879”,“sellVol”:“228.2800”,“buyVol”:“476.6160”,“timestamp”:1698720900000}]
*** The return response doesn’t match the time period. But when I apply the same time period for another api it gives me the correct data. **
Other Request : -
https://fapi.binance.com/futures/data/globalLongShortAccountRatio?symbol=BTCUSDT&limit=500&startTime=1698720900000&endTime=1698721200000&period=5m
Response :-
[{“symbol”:“BTCUSDT”,“longAccount”:“0.4969”,“longShortRatio”:“0.9877”,“shortAccount”:“0.5031”,“timestamp”:1698720900000},{“symbol”:“BTCUSDT”,“longAccount”:“0.4984”,“longShortRatio”:“0.9936”,“shortAccount”:“0.5016”,“timestamp”:1698721200000}]
This api gives me the correct time period
The error is only in the takerlongshortRatio api
Is it a bug or am I doing something wrong.
I tried these request in a normal chrome browser