Pages:
Actions
  • #1 by SimmoSK on 11 Jan 2022
  • I am looking for the formula to bet at percentage higher than starting price. I've tried a few formula from triggers but it doesn't seem to work. Is there a basic set formula for this to be implemented?
  • #2 by Tim (WellDoneSoft) on 12 Jan 2022
  • Hello,

    Could you please give me an example?
    Thank you.
  • #3 by SimmoSK on 12 Jan 2022
  • Hi Tim, I would like Market feeder to place a back bet at a set percentage higher than actual sp, so the bet isn't taken straight away when a race goes inplay, but only if the horse drifts out to the given percentage higher than actual sp.

    Hope that makes sense.
  • #4 by MarkV on 16 Jan 2022
  • Hi
    try:

    r_ticks(actual_sp*(1+(5/100)),0)

    replace the 5 with your percentage increase
    the formula will adjust the increased price to the closest correct tick size
  • #5 by SimmoSK on 17 Jan 2022
  • Excellent, thankyou Mark.
  • #6 by MarkV on 17 Jan 2022
  • in the trigger where that formula is used it could be worthwhile putting in a safety condition to check actual_sp is greater than 0  
Pages:
Actions