Can I retrieve the WIN / LOSE status of a completed bet?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pete101
    Junior Member
    • Sep 2019
    • 22

    #1

    Can I retrieve the WIN / LOSE status of a completed bet?

    Hi Guys,

    Is it possible for my bot to determine whether a bet has won or lost?

    Currently my bot places BACK bets on various football matches, but I still need to manually check which bets have won.

    Ideally, I would like to know the bet id so that after the match I can check if that bet was a winner or not.

    Is it possible to obtain or assign a bet id,and then check if it has won or not?

    Many thanks,

    Pete
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    You can get the closed version of the marketBook for three months after the event. If you cycle through the runners you can find the winner(s). You'll just need the marketId. That's one way.

    Also have a look in the documentation on listClearedOrders.
    Last edited by jabe; 17-01-2021, 09:39 PM.

    Comment

    Working...
    X