Author Topic: Lay in Win Market a Percentage of the Profit in Place Market  (Read 2766 times)

Tags:
  • All members
  • Posts: 118
Good morning people,

Let's say I have a trigger that is betting in the place market. When a bet is matched in the place market, I want a new trigger to make a lay in that selection but in the win market, with the liability as a percentage of the total profit in place market.

This seems to be not so hard to do it and It's the first time I post something here before I try to do it. But I won't be able to test right away so if someone is willing to do the heavy work it would be great.

  • All members
  • Posts: 118
Got this.

Created a variable plp (Profit Loss Percentage to risk)

Then in the bet amount (winplace_profit_loss*plp)/(lay_price-1)

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Well done jmbt. I assume you input the value of the variable as a fraction of 1.0, e.g. 0.2 for 20%.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 118
That is correct  :P

Instead of putting 20 in the space and then have to divide it by 100 in the formula. It's just easier to put 0.2

 

Please note, BetFair is seems to be currently OFFLINE