Author Topic: Recording the highest lay price, in Play  (Read 795 times)

Tags:
  • All members
  • Posts: 27
  • Gender: Male
Recording the highest lay price, in Play
« on: 04 Feb 2020, 15:09 »
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.

  • Moderator
  • Posts: 3430
*
Re: Recording the highest lay price, in Play
« Reply #1 on: 04 Feb 2020, 20:53 »
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}   
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: 27
  • Gender: Male
Re: Recording the highest lay price, in Play
« Reply #2 on: 05 Feb 2020, 11:49 »
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

 

Please note, BetFair is seems to be currently OFFLINE