Author Topic: Lay to Liability issue  (Read 678 times)

Tags:
  • All members
  • Posts: 72
Lay to Liability issue
« on: 09 Jul 2022, 13:25 »
If i cross the spread on my selection price

e.g.      lay Price r_ticks(lay_price,-3)

and my amount is

            x/(lay_price-1)

where x is my default liability

In this case I will always have a liability on my lay bet that is less than I want as I have submitted a lay bet at less than the calculation used for the amount.
I have tried putting the ticks variable into the amount but can't get it to work.
Can someone tell me the correct syntax please.

Many thanks for your help


  • Moderator
  • Posts: 3597
*
Re: Lay to Liability issue
« Reply #1 on: 09 Jul 2022, 14:47 »
Hi
Try x/(r_ticks(lay_price, -3)-1)
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 72
Re: Lay to Liability issue
« Reply #2 on: 09 Jul 2022, 15:47 »
That works perfectly

many thanks for your quick reply, especially in this weather!

 

Please note, BetFair is seems to be currently OFFLINE