Pages:
Actions
  • #1 by hoodlikt on 09 Jul 2022
  • 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

  • #2 by MarkV on 09 Jul 2022
  • Hi
    Try x/(r_ticks(lay_price, -3)-1)
  • #3 by hoodlikt on 09 Jul 2022
  • That works perfectly

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