python-binance
python-binance copied to clipboard
Inconsistent client.futures_get_all_orders data
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
Something like this might work , think orders come back in reverse: orders[coin] = client.futures_get_all_orders(symbol=coin)[-1]
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?