I 'm coding a trade history table in python and i need to know my trades history for all symbols. Do you have a quick way to do it instead of looping on all symbols?
For information, i’m using now the endpoint ‘/api/v3/allOrders’ but it needs symbol to work…
Thank you in advance for your help
unfortunately symbol is mandatory for these endpoints.
Also it’s recommended to subscribe to user data stream, and store the orders/trades into local storage. Then it will be easy to query all of them.
This workaround only makes sense if you’ve been hanging on the websocket since the day the account was created, which seems unlikely. It also renders the allTrades API redundant.
Please recognise that making the symbol mandatory is an error which needs fixing.