Author Topic: See the lowest odd of the selection throughout the race  (Read 2434 times)

Tags:
  • All members
  • Posts: 118
Hi,

I like to record some data in order to study and, hopefully, to perfect my trigger.

Before I wanted to record the prices of the other selections in order to see the difference in ticks.

Now I would like to see, once a bet is made in the place market, what is the lowest odd of that selection in the win market.

I DO NOT want to see the odd at the time the bet is placed. I'll give an example:

Let's say my trigger made a bet in the place market at 1.12. And the current odd in the win market is 1.46. I don't want to record that odd. What I want is to see, between the bet time the bet was placed and the end of the race, what was the lowest odd.

Is this possible?


The idea behind this is to lay in the win market and make a profit regardless.

  • All members
  • Posts: 118
Re: See the lowest odd of the selection throughout the race
« Reply #1 on: 20 Aug 2014, 16:19 »
So, I saw this post by Mark

"The minimum value of the back or lay price within the latest time specified by {minutes}. The variable minbp_{minutes} returns back price and minlp_{minutes} - lay price. If it's been less than {minutes} since you started refreshing the market, these figures will show the maximum or minimum value since the beginning of the refresh. The time should not exceed the market's history depth."

It is a selection variable. So it will remember the minimum back price like a trailing stop for the duration of {minutes} and reset after {minutes}.

To answer your question, so long as {minutes} exceeds the duration of the race, it will retain the minimum back price attained during the race.

I am sure the stop entry you mentioned triggers when the back price is x ticks higher than minbp_{minutes}.

So I just have to:

Write to Action Log: [winplace_minbp_10]


Can someone confirm this?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: See the lowest odd of the selection throughout the race
« Reply #2 on: 23 Aug 2014, 06:27 »
hi
yes, but set the trigger to suspended, so it records the price when the race has ended, if you set it to settled or finished then it might not work every time because of a delay in been settled.


mcbee
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: 118
Re: See the lowest odd of the selection throughout the race
« Reply #3 on: 23 Aug 2014, 13:29 »
hi
yes, but set the trigger to suspended, so it records the price when the race has ended, if you set it to settled or finished then it might not work every time because of a delay in been settled.


mcbee

Hello mcbee, it's not working:

This is what shows in Program Log

Special log message from trigger "ODD". All Market's Selections: MENOR ODD WIN MARKET=minbp_vm
. Market "Horse Racing / GB / 14:20 Good 23rd Aug - 7f Grp3".

In my trigger I have like this:

MENOR ODD WIN MARKET=[minbp_vm] and vm is a constant I set the value to 20

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: See the lowest odd of the selection throughout the race
« Reply #4 on: 23 Aug 2014, 14:06 »
hi
if you have not set your history depth to at least 20 in the monitoring options, then there will be an error.
you have to set the history depth to equal or greater than your required minutes over.

mcbee
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