Author Topic: Hedging Correct score market.  (Read 4536 times)

Tags:
  • All members
  • Posts: 39
Hedging Correct score market.
« on: 06 Mar 2014, 16:02 »
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?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Hedging Correct score market.
« Reply #1 on: 07 Mar 2014, 08:16 »
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
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 39
Re: Hedging Correct score market.
« Reply #2 on: 07 Mar 2014, 14:45 »
You are right, Mcbee...


An example trigger/condition would be very much appreciated,

 Cheers!

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Hedging Correct score market.
« Reply #3 on: 08 Mar 2014, 11:18 »
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
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 829
Re: Hedging Correct score market.
« Reply #4 on: 08 Mar 2014, 18:53 »
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
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Hedging Correct score market.
« Reply #5 on: 09 Mar 2014, 00:41 »
hi
that is just the calculation for the amount of profit, the formula for the bet amount is different.


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE