Pages:
Actions
  • #1 by Botfair on 06 Mar 2014
  • In the Correct Score market, I dutchback 6 different selections of the 17 selections available.

     I want to hedge(greenup) the market when I am in profit for 50% of my dutchstake. If no profit or less profit, just let it ride.

    Can't seem to get the 'greenup' trigger right, it keeps hedging individual selections and not greenup the market, or no hedging at all.

    Any hint on how to get the greenup(hedging) trigger right, please?
  • #2 by mcbee on 07 Mar 2014
  • hi
    you have to a condition to calculate the profit and loss for each back matched selection and add them all together to get the combined profit and loss.


    mcbee
  • #3 by Botfair on 07 Mar 2014
  • You are right, Mcbee...


    An example trigger/condition would be very much appreciated,

     Cheers!
  • #4 by mcbee on 08 Mar 2014
  • hi
    this is for horses upto 15 selections, you can add the other 2 selections or if you use fixed selections then just use there index numbers.
    (((((s_1_bm_backa*(s_1_bm_backp-1))+s_1_bm_backa)/(s_1_lay_price+.0001))-s_1_bm_backa)+((((s_2_bm_backa*(s_2_bm_backp-1))+s_2_bm_backa)/(s_2_lay_price+.0001))-s_2_bm_backa)+((((s_3_bm_backa*(s_3_bm_backp-1))+s_3_bm_backa)/(s_3_lay_price+.0001))-s_3_bm_backa)+((((s_4_bm_backa*(s_4_bm_backp-1))+s_4_bm_backa)/(s_4_lay_price+.0001))-s_4_bm_backa)+((((s_5_bm_backa*(s_5_bm_backp-1))+s_5_bm_backa)/(s_5_lay_price+.0001))-s_5_bm_backa)+((((s_6_bm_backa*(s_6_bm_backp-1))+s_6_bm_backa)/(s_6_lay_price+.0001))-s_6_bm_backa)+((((s_7_bm_backa*(s_7_bm_backp-1))+s_7_bm_backa)/(s_7_lay_price+.0001))-s_7_bm_backa)+((((s_8_bm_backa*(s_8_bm_backp-1))+s_8_bm_backa)/(s_8_lay_price+.0001))-s_8_bm_backa)+((((s_9_bm_backa*(s_9_bm_backp-1))+s_9_bm_backa)/(s_9_lay_price+.0001))-s_9_bm_backa)+((((s_10_bm_backa*(s_10_bm_backp-1))+s_10_bm_backa)/(s_10_lay_price+.0001))-s_10_bm_backa)+((((s_11_bm_backa*(s_11_bm_backp-1))+s_11_bm_backa)/(s_11_lay_price+.0001))-s_11_bm_backa)+((((s_12_bm_backa*(s_12_bm_backp-1))+s_12_bm_backa)/(s_12_lay_price+.0001))-s_12_bm_backa)+((((s_13_bm_backa*(s_13_bm_backp-1))+s_13_bm_backa)/(s_13_lay_price+.0001))-s_13_bm_backa)+((((s_14_bm_backa*(s_14_bm_backp-1))+s_14_bm_backa)/(s_14_lay_price+.0001))-s_14_bm_backa)+((((s_15_bm_backa*(s_15_bm_backp-1))+s_15_bm_backa)/(s_15_lay_price+.0001))-s_15_bm_backa))
    is equal or greater than (your minimum set profit required)

    the .0001 is required because you cannot devide by 0, so if a selection has no bet placed it can still do the calculations

    just to give you an idea of the work involved in creating a condition

    mcbee
  • #5 by racepro on 08 Mar 2014
  • Hi mcbee,
    Nice bit of work there mcbee :)
    I tried it out on a rugby match and it works fine, meaning
    without any error logs.
    I am wondering if this could be modified to greenup unequally.?
    maybe a bit too complicated eh?
    R
  • #6 by mcbee on 09 Mar 2014
  • hi
    that is just the calculation for the amount of profit, the formula for the bet amount is different.


    mcbee
Pages:
Actions