by Gavin » Mon Oct 15, 2018 8:47 pm
Hi Snowflame,
To realise the profit in your demo balance you must cancel all the unmatched bets and green up the entire market before it closes. The demo market never finds out which horse won, so it assumes your worst possible outcome. If you green up then it overcomes that.
It is calculated in the same way Betfair:
First, sum the liability of all the matched bets:
So for your matched lay bets :
= total stakes x (odds -1)
= £20.15 x (2.8 -1)
= £36.27
The, sum the liability of all the unmatched bets.
So for your unmatched lay bets :
= total stakes x (odds -1)
= 45.92 x (2.8 -1)
= £82.66
Add the two together:
= £36.27 + £82.66
= £118.93 total potential liability, which also corresponds to the reduction in your demo balance.
That may not be the best way to calculate maximum exposure but it is how Betfair do it.
Kind regards,
Gavin