Greening up to an unequal profit

Description

Normally when you "green up" the market you want all P/Ls to be equal. But on certain occasions you may want to increase the potential profit on the selection you bet on and decrease it on all other selections. This could be the case if you are greening up an obvious favourite, so let's say you want it to get 70% of the profit and all other selections 30%.

The profit pool above is £17.53 + £4.38 = £21.91. The traded selection's profit makes 20% (4.38*100/21.91).

You may decide to do quite the opposite and leave a small fraction of the potential profit on the selection you trade on, for example if you lay then back on the drifter.

The profit pool above is £0.58 + £0.38 = £0.96. The traded selection's profit makes 60% (0.58*100/0.96).

Triggers

Download trigger file.

The file contains three trigger blocks. The first one does some necessary calculations so please leave it intact. The second and the third ones implement two different green-up sequences: backing-then-laying and laying-then-backing. Obviously you would want to have only one of them active at the same time to not let them interfere with each other. However you may add more conditions to the betting triggers that pick different selections for different approaches (i.e. the favourite for backing-then-laying and a drifter for laying-then-backing.

The percentage of the profit appointed for the traded selection is defined by the constant pr_profit. So if it is equal to 50%, then the profit is distributed evenly (50% goes to this selection and the other 50% to all other selections). If it is equal to 80%, then you leave 80% of the total greenup profit on this selection and 20% on all other selections.

The minimum ticks by which the price must change to trigger the green-up are set by the constant min_ticks.

 

If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
 
© 2005-2017 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of The Sporting Exchange Limited. Gamble responsibly.