Pages:
Actions
  • #1 by wehey on 08 May 2014
  • Hiya all
    On the trading ladder you have the "what if p/l"
    Is there a formula/variable within MF that will return this value?
    Thanks in advance
  • #2 by Oxa (WellDoneSoft) on 08 May 2014
  • Hi,

    A special variable will be added in the next program update.

    But right now you can calculate this value. If you placed more back bets than lay bets on a selection, e.g. if you backed first, then it'll be:

    (back_payout-lay_payout)/lay_price - back_matched

    If you placed more lay bets than back bets, then it is:

    lay_matched - (lay_payout-back_payout)/back_price
  • #3 by binsey on 20 May 2014
  • Hi , should the lay_price-back_matched be in brackets ?
    I tried this out as it was , without brackets on the denominator and couldn't get it to work...
    Thanks
  • #4 by mcbee on 21 May 2014
  • hi
    yes you need the brackets to define the amounts


    mcbee
  • #5 by Oxa (WellDoneSoft) on 22 May 2014
  • Hi mcbee, I'm afraid I don't agree.

    The formula I suggested does not need additional brackets.

    If you made a back bet of £10 @ 2.2, and the current lay price is 2.1, then the expected profit from the greening up bet will be:

    (back_payout-lay_payout)/lay_price - back_matched

    That is

    (10*2.2 - 0)/2.1 - 10 = 0.48

    Whereas if you add brackets it will give a totally different (incorrect) result:

    (back_payout-lay_payout)/(lay_price - back_matched)

    (10*2.2 - 0)/(2.1 - 10) = -2.78


    binsey, you need to give an example of what exactly didn't work.
  • #6 by mcbee on 22 May 2014
  • hi
    yes you are correct oxa.
    because the lay_price, is one calculation followed by -back_matched another calculation.
    having brackets makes the calculation 1 whole value.


    mcbee
Pages:
Actions