Author Topic: Please make me a trigger for horse races  (Read 163 times)

  • All members
  • Posts: 40
  • Karma: +0/-0
  • Gender: Male
Please make me a trigger for horse races
« on: Sat, 03 April, 2021, 17:48 »
Hello,

Please make me a trigger for horse races (no scores at them )
Parameters:

- minute before the off to place bets (ex. 0.5 minute)
- minimum pre off winning percent (ex. 20%)
- minimum in play winning percent (ex. 10%)
- maximum selection percent for back dutching (ex. I want to obtain 20% winnings from back dutching a maximum of 60% from the total number of selections) If this is not possible skip the race.
- percent of bank used for staking (ex. 1%)
- percent of increase of initial bank when stop betting (ex. 2.5%)
- percent of decrease of initial bank when stop betting (ex. -5%)

The trigger will back dutching the maximum percent of most traded volumes selections before the off. (ex. back dutching maximum 60% of runners for at least 20% winnings)
At In play trade out if it is possible to have minimum set winning percent (ex. trade out for at least 10% winnings of the initial stake)

Thank you

  • Administrator
  • Posts: 8924
  • Karma: +335/-2
  • Gender: Female
*
Re: Please make me a trigger for horse races
« Reply #1 on: Thu, 08 April, 2021, 13:13 »
Hello!

Please see your triggers attached.

Use the constants inside the file to adjust the trigger settings.

I have created two triggers for trading out:

trading all at once - the trade-out bets are placed on all selections at once if the total outcome is a profit of inp_profit_prc, so the winnings from the horses whose price has dropped will cover the losses from the horses whose price has increased (or even no longer available)

trading one by one - the trade-out bets will be placed on each selection separately, as the tradeout profit reaches inp_profit_prc.

Make sure you've tested the triggers in Test Mode.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Usuários brasileiros, bem vindos ao nosso WhatsApp chat!

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 40
  • Karma: +0/-0
  • Gender: Male
Re: Please make me a trigger for horse races
« Reply #2 on: Sun, 11 April, 2021, 11:06 »
Thank you !
Elegant coding :)