Author Topic: lowest price in play  (Read 4521 times)

Tags:
  • All members
  • Posts: 124
lowest price in play
« on: 14 Feb 2014, 14:49 »
hi , I would like to be able to record the lowest price that a named selection reached in the in play place market. Would you please advise on the best way of achieving this. Many thanks

  • Moderator
  • Posts: 3597
*
Re: lowest price in play
« Reply #1 on: 14 Feb 2014, 16:27 »
Hi
The attached trigger will record the lowest back price attained by a named selection. In the trigger this is set as index=1. If you view the user variable mnp in the view variables window you can see it recording and updating the lowest price.

You can also look at built-in variable minbp_{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: 124
Re: lowest price in play
« Reply #2 on: 14 Feb 2014, 20:58 »
That's great , many thanks.

  • All members
  • Posts: 124
Re: lowest price in play
« Reply #3 on: 14 Feb 2014, 21:16 »
Just one thing , do I add my condition ' and selections name is in list ..... ' to the record minimum price trigger ( there may well be more than one per race ).How  will the minimum price be recorded  ? Will I have to scroll down the trigger log ?
Thanks again

  • Moderator
  • Posts: 3597
*
Re: lowest price in play
« Reply #4 on: 15 Feb 2014, 10:50 »
Hi
The previously posted trigger file was intended for use in triggers as a live user variable.

The attached trigger file will write the lowest achieved back price for the named selections to the program log at the end of the race.

You specified "is in list", so I have included that condition in the trigger. You will need to update the list with your own selection names.

The trigger uses the variable minbp_{minutes} which records the minimum back price over the time {minutes}. I have made the {minutes} a constant, so it is easy to change. Assuming you start monitoring markets about 1 min before the start, 10 minutes should cover most races, but you may need to experiment with this.

The trigger writes the minimum back price to the program log when the market is settled, so you should not delete finished or settled markets.

Attached please find the trigger file and a sample output to the program log.
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: 124
Re: lowest price in play
« Reply #5 on: 15 Feb 2014, 20:46 »
Just brilliant. Thanks so much.

  • All members
  • Posts: 124
Re: lowest price in play
« Reply #6 on: 18 Feb 2014, 19:35 »
Hi, seem to be having some problems with this, the trigger just writes this to the log and not any actual figures ( I have checked the obvious, like not deleting the markets and making sure it is monitoring in play )- any ideas ?

Special log message from trigger "Write minimum back price to action log". All Market's Selections: Lowest recorded back price:[minbp_vm. Market "Horse Racing / GB / 17:10 Sthl 18th Feb (Place) - To Be Placed

  • Moderator
  • Posts: 3597
*
Re: lowest price in play
« Reply #7 on: 18 Feb 2014, 20:12 »
Hi
I just tested it in Win and Place markets and it worked OK.

Please check this setting:
Settings > Monitoring Options > Market Refresh > Default market history depth should be 10mins or greater.

When do you start monitoring the markets. Is it about 1min before the off?
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: 124
Re: lowest price in play
« Reply #8 on: 19 Feb 2014, 14:41 »
Hi Mark, got monitoring set to start 0.5 mins before the beginning, and default history set to 12 minutes. Any other ideas, I'm sure it must be something blindingly obvious- if only I could see it !

  • Moderator
  • Posts: 3597
*
Re: lowest price in play
« Reply #9 on: 19 Feb 2014, 23:47 »
Hi
I have done extensive testing and I can't get it to not work.
Please can you try opening a new Profile with the default settings and try it there.
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.

 

Please note, BetFair is seems to be currently OFFLINE