How to check if order has lapsed?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misiek
    Junior Member
    • Oct 2018
    • 20

    #1

    How to check if order has lapsed?

    I've tried to use listCurrentOrders and listClearedOrders with different options. None of them returned lapsed orders. How to check it?
  • TheLosingStrategy
    Junior Member
    • Jun 2019
    • 3

    #2
    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

    Working...
    X