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
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
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."
implemented, markets of other types are silently ignored."
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


Comment