Wrong Handicap in listCurrentOrders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arteny1
    Junior Member
    • Jul 2014
    • 17

    #1

    Wrong Handicap in listCurrentOrders

    This is a note for API developers.
    Documentation for CurrentOrderSummary (https://api.developer.betfair.com/se...rSummaryReport) says:
    handicap
    double
    The handicap associated with the runner in case of Asian handicap markets, null otherwise.

    But actually null is never returned, 0.0 returned instead of for non Asian handicap markets.
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi arteny1

    Thanks for pointing this out.

    The documentation has now been corrected.

    Neil

    Comment

    • tucunduva.
      Junior Member
      • Nov 2012
      • 1

      #3
      Values of Handicap field

      I still not understand how this field works. If I select a market like team +1 this, sometimes returns -3, others 0.0. For Asian Handicap market it gives me always 0.0.

      Is it working correctly?

      My main goal is to know when I should create an array with increments of 0.01 (for Asian Handicap markets and Total Goals) and, on other markets with variable increments as described in https://api.developer.betfair.com/se...ice+Increments

      Thank you in advance

      Comment

      • Lopiner
        Junior Member
        • Feb 2009
        • 117

        #4
        That should be clarified by the BDP team but i think you can get away by checking the MarketBettingType (ODDS, ASIAN_HANDICAP_DOUBLE_LINE, ASIAN_HANDICAP_SINGLE_LINE). The ODDS market type are incremented in the usual way, the other two are incremented in 0.01 (i think).
        fooledbyabet.com

        Comment

        Working...
        X