I've tried to use listCurrentOrders and listClearedOrders with different options. None of them returned lapsed orders. How to check it?
How to check if order has lapsed?
Collapse
X
-
You mentioned that you've used listClearedOrders, but perhaps you didn't quite have it right. listClearedOrders is definitely the right method to use.
You'll need to have the betStatus set to 'LAPSED', which means your request parameters should look something like this:
{"betStatus":"LAPSED", "sortDir":"LATEST_TO_EARLIEST", "groupBy":"MARKET", "recordCount":"10"}


Comment