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:
New customers only, bet up to €/£20 on the Exchange and if your first bet loses, we’ll refund you €/£20 in Cash. Bet must be placed in first 7 days of account opening. T&Cs apply.
Gamble responsibly! Always be aware that betting is NOT risk-free. You must be 18+ years old before you try gambling, but even as an adult, withhold from spending money in an ill-judged manner. Our company does not encourage you to prefer gambling over other meaningful activities. If gambling is affecting your life or the lives of people close to you, please contact GamCare
 
© 2005-2023 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of Flutter Entertainment plc. Gamble responsibly.