Sometimes, if I have an open stop limit order which I created via website, but /fapi/v1/openOrders returns an empty array?
Other times it returns very old data for orders which were cancelled minutes ago?
What’s the caching policy on results from this endpoint?
Please subscribe from user data stream and keep a local open order list; /fapi/v1/openOrders could have lags when there’s high trading volume. From what I can see, /fapi/v1/openOrders is good now
How long is the maximum time this endpoint will cache results for?
The endpoint would query the persistent layer and as long as that layer gets updated it’d reflect the latest status.