python-binance icon indicating copy to clipboard operation
python-binance copied to clipboard

Inconsistent client.futures_get_all_orders data

Open haloboyscp opened this issue 3 years ago • 1 comments

Describe the bug When calling the API on client.futures_get_all_orders I am many times getting not the most recent orders or getting no orders at all

To Reproduce orders[coin] = client.futures_get_all_orders(symbol=coin, limit=1) Expected behavior It should return the data for the latest order

Is it me doing something wrong or is there an issue with lag or something else? Thanks

haloboyscp avatar Jun 16 '22 14:06 haloboyscp

Something like this might work , think orders come back in reverse: orders[coin] = client.futures_get_all_orders(symbol=coin)[-1]

conor19w avatar Jul 16 '22 16:07 conor19w

When calling the API in client.futures_get_all_orders, many times I don't get the most recent orders, how can I solve this?

wapd27 avatar Nov 10 '22 02:11 wapd27