Pages:
Actions
  • #1 by John Simpson on 04 Feb 2020
  • Is it possible to record the highest lay price, for a horse, in play? I have created a trigger (attached), but it does not work.

    Has anyone got any ideas?

    Thanks for any help.
  • #2 by MarkV on 04 Feb 2020
  • Hi
    A few things:

    the user variable needs to be initialised either through a trigger or using a constant
    the variable Lay_price should be lay_price
    I would set the market status to in-play because Actual SP is only known then
    and finally I suggest to swap the conditions around so the selection is defined first, because otherwise the trigger is looking at all selections whose lay price is increasing.

    please see the attached screenshot, this should do what you are after.

    btw perhaps have a look at the variables traded_maxp and maxlp_{minutes}   
  • #3 by John Simpson on 05 Feb 2020
  • Hi Mark,

    Thanks for your help, it now appears to be working how I wanted. I am still performing more tests, but it is looking good.

    Kind Regards

    John
Pages:
Actions