Need help understanding how listClearedOrders works.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Raeen
    Junior Member
    • Nov 2023
    • 1

    #1

    Need help understanding how listClearedOrders works.

    Hello,
    I am having problem understanding ClearedOrderSummaryReportreturned by listClearedOrders​.
    I appreciate if someone can help me out.
    I will try to give example here for my question.

    Question 1:-
    Have 1 BACK bet of $10 on 1.60, from this 5 is MATCHED and rest is UNMATCHED and event has finished.
    Now if I use this filter
    Code:
    {betStatus: "SETTLED"}
    .
    This will return this response:-
    Code:
    {"sizeSettled" => "this will be 5.00"}​​
    **Removed extra fields.
    Now this bet will be visible in any other filter? if yes then in which one and with what response?


    Question 2:-
    Have 1 BACK bet of $10 on 1.60, from this 5 is MATCHED and rest is Cancelled by me and event has finished.
    Now if I use this filter
    Code:
    {betStatus: "SETTLED"}
    .
    This will return this response:-
    Code:
    {"sizeSettled" => "this will be 5.00"}​​
    **Removed extra fields.
    Now this bet will be visible in any other filter? if yes then in which one and with what response?​

    Question 3:-
    Have 1 BACK bet of $10 on 1.60, Completely UNMATCHED and Cancelled by me and event has finished.
    In which filter this bet will be visible? With what fields?

    ​​​​​​​​​​​​​​Question 4:-
    Have 1 BACK bet of $10 on 1.60, Completely UNMATCHED and event has finished.
    In which filter this bet will be visible? With what fields?​​​​​​​​

    Filters available:-
    VOIDED, SETTLED, CANCELLED, LAPSED.

    Response fields which I want to understand that what value it will contain.
    VOIDED:- {sizeSettled: "WHAT SIZE IT WILL SHOW?"}
    SETTLED:- {sizeSettled: "THIS WILL BE VALUE OF sizeMatched"}
    CANCELLED:- {sizeCancelled: "WHAT SIZE IT WILL SHOW?"}
    LAPSED:- {sizeCancelled: "WHAT SIZE IT WILL SHOW?"}

    Any help will be appreciated.
    Thank you.

    ​​​​​​​
  • geoffw123
    Senior Member
    • Mar 2014
    • 250

    #2
    Hi

    Just off the top of my head, hopefully this is correct

    1) You place a bet on a horse race that gets fully matched, then after the market is closed, you will get all the bet info back if you request "SETTLED" orders

    2) If you place a matched bet on a football match, then during the game it snows and the match is abandoned, you will get all the bet info back if you request "VOIDED" orders

    3) You place a bet on a horse, the price you chose was too high, none of it gets matched and you decide to remove that bet totally, then after the market is closed, you will get all the bet info back if you request "CANCELLED" orders

    4) You place a pre-race back bet on a horse with the "Cancel Bet" at in-play flag set, also the price you chose was too high and none of your stake was matched, then after the market is closed, you will get all the bet info back if you request "LAPSED" orders

    Comment

    Working...
    X