API question for BetFair Tech Support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geoffw123
    Senior Member
    • Mar 2014
    • 250

    #1

    API question for BetFair Tech Support

    Hi

    I placed some bets on the website on tonights Villa Southampton game on the Total Goals market. I then used my work in progress App. and checked that market, I could see the matched orders but it wasn't showing any profit loss figures.

    I thought this must be a bug in my code, but after some debugging it turned out not to be. The reason for the problem is that "Total goals" market is actually classified as an Asian handicap market. BettingType = "ASIAN_HANDICAP_SINGLE_LINE"

    I Then noticed in the api docs for the listMarketProfitLoss() command
    "Only odds (MarketBettingType = ODDS) markets are
    implemented, markets of other types are silently ignored."
    So that's the reason it doesn't work. My question is why doesn't this command work for all markets ?

    If it doesn't work on a market like "Total Goals" it makes this command unusable in my App. This is annoying as its a big rewrite to my code to make my App. handle all the profit loss figures

    My question is why isn't this implemented properly on all markets ? Are Betfair going to fix this in the future ?

    Geoff
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi Geoff,

    We are aware of this gap and do plan to address this in the future, but cannot provide a specific ETA at the moment.

    Providing the profit and loss function for Match Odds market was a priority but we decided to carry out the additional work required for ASIAN_HANDICAP_SINGLE_LINE and ASIAN_HANDICAP_DOUBLE_LINE markets at a later date.

    Sorry for the inconvenience.

    Neil

    Comment

    Working...
    X