I never use Asian handicap markets, so they always puzzle me when I working on my App. Here is another one that has got me pondering.....
What I am unsure of currently is how the commerical apps that implement a Practice mode can calculate a profit or loss amount internally, without getting the actual monetary amount returned by Betfair (Obviously this wont be returned as a practice mode bet is not a real bet and is inviisible to the Betfair Server)
lets say I place £2 bet on Team A +1 & +1.5
So we are effectively having 2 bets on Team A of £1 each with Team A getting a 1 goal and a 1.5 goal advantage before we start
Possible outcomes are
As far as I am aware at market close Betfair will just return me a "Win" or "Lose" result for this market row.
That means I cant distinguish between the condition where both my £1 bets win or the condition where 1 bet wins and 1 bet loses. So how can I calculate the profit/loss for this bet ?
Would be great if one of the commercial guys (Hello Mr BFExplorer) could explain this please ?
Thanks
Geoff
What I am unsure of currently is how the commerical apps that implement a Practice mode can calculate a profit or loss amount internally, without getting the actual monetary amount returned by Betfair (Obviously this wont be returned as a practice mode bet is not a real bet and is inviisible to the Betfair Server)
lets say I place £2 bet on Team A +1 & +1.5
So we are effectively having 2 bets on Team A of £1 each with Team A getting a 1 goal and a 1.5 goal advantage before we start
Possible outcomes are
Code:
Team A Wins by any score Both Bets win
Any Draw Both Bets win
Team B Wins by 1 goal Bet +1 is level outcome so bet is void, £1 stake returned
Bet +1.5 still wins so we get 1 * (odds-1) profit returned
Team B Wins by 2 goals or more
Both Bets Lose we lose 2 quid
As far as I am aware at market close Betfair will just return me a "Win" or "Lose" result for this market row.
That means I cant distinguish between the condition where both my £1 bets win or the condition where 1 bet wins and 1 bet loses. So how can I calculate the profit/loss for this bet ?
Would be great if one of the commercial guys (Hello Mr BFExplorer) could explain this please ?
Thanks
Geoff


Comment