listClearedOrders problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lopiner
    Junior Member
    • Feb 2009
    • 117

    #1

    listClearedOrders problem

    In the listClearedOrders documentation (https://api.developer.betfair.com/se...tClearedOrders) there is a field in the request to filter by date, the field is called "settledDateRange". It suggests that the field would filter the bets by it's settled date. My first question is what is the settled date for the canceled bets? The second question regards the text of the "settledDateRange" filter criteria that is as followed:

    "Optionally restricts the results to be from/to the specified settled date. This date is inclusive, i.e. if an order was placed on exactly this date (to the millisecond) then it will be included in the results. If the from is later than the to, no results will be returned."

    I don't understand the section in bold because the criteria is not about the placed date but the settled date. Could someone from the BDP team kindly clarify? Thanks
    fooledbyabet.com
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi Lopiner,

    Thanks for bringing this to our attention.

    My first question is what is the settled date for the canceled bets
    This represents the time that the associated market was settled

    Optionally restricts the results to be from/to the specified settled date. This date is inclusive, i.e. if an order was placed on exactly this date (to the millisecond) then it will be included in the results. If the from is later than the to, no results will be returned."
    This has now been corrected in the documentation the word cleared replaces placed

    Kind Regards

    Neil

    Comment

    • Lopiner
      Junior Member
      • Feb 2009
      • 117

      #3
      BDP Team, what about cancelled orders for markets that haven't been settled yet? Does the field "SettledDate" comes empty or the response never includes bets canceled for events that are not settled yet? Thanks
      fooledbyabet.com

      Comment

      • jen123
        Junior Member
        • May 2012
        • 1

        #4
        Similar question on cancelled bets for BDP team

        I'm trying to retrieve cancelled bets on current markets. They don't seem to appear in the listCurrentOrders response?

        Comment

        • BetfairDeveloperProgram
          Administrator
          • Oct 2008
          • 679

          #5
          Hi Lopinder/jen123,

          listCurrentOrders doesn't return cancelled orders for unsettled markets.

          listClearedOrders returns cancelled orders once the market has been settled.

          Kind Regards

          Neil

          Comment

          • Lopiner
            Junior Member
            • Feb 2009
            • 117

            #6
            Hi Neil, so this means that we cannot retrieve from the new API canceled orders from markets that haven't yet been settled right?

            If this is true i think it's something worth looking into. We should be able, at least, to access all orders that were placed in markets that are still open (Matched, UnMatched and Cancelled).
            fooledbyabet.com

            Comment

            • Tappy
              Junior Member
              • Mar 2009
              • 3

              #7
              Did you get anywhere with this. One of the few issues I'm still having is trying to find out about cancelled bets on current markets.

              Comment

              Working...
              X