Author Topic: Formula to find the maximum lay price i can use.  (Read 4078 times)

Tags:
  • All members
  • Posts: 6
I would really appreciate if anyone can help me.
If it goes wrong i would like to exit the race with 0 profit.
Its not as simply as it may sound at least for me.

Example
I lay horse 1 at odd 2.00
I lay horse 2 at odd 5.20

Lets forget all other horses and just say that i will have a potencial loss in horse 2 of 1.20£ and a potencial profit on horse 1 of 0.60£

Now this is where it gets complicated in my opinion.

To exit the race with a 0 pl in both those horses what formula should i use to tell the bot with maximum lay price it can use?

I think i need to use the negative profit loss from horse 2 and ABS(horse2_profit_loss) to lay horse 1 but at what maximum lay price.

I tried attempt to green but that will place 2 bets, one in each horse, i would like to place only one bet and i would prefer it to be on horse 1 (the one with a potential profit)

Thank you.

  • Administrator
  • Posts: 8819
  • Gender: Female
*
Re: Formula to find the maximum lay price i can use.
« Reply #1 on: 09 Sep 2017, 16:47 »
Hello!

I need some clarifications to understand your problem.

1. Do you Dutch those selections rather than lay with fixed amounts?

2. Do you want to somehow have a zero P/L on both of them or only on one of them (Horse 1)?
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 6
Re: Formula to find the maximum lay price i can use.
« Reply #2 on: 09 Sep 2017, 20:13 »
Hello Oxa,

I have tried another approach and it seems to be working, thank you for trying to help.

Cheers. 

 

Please note, BetFair is seems to be currently OFFLINE