Author Topic: Final Race Status before In-Play  (Read 343 times)

  • All members
  • Posts: 219
  • Karma: +1/-0
Final Race Status before In-Play
« on: Sun, 31 December, 2017, 20:07 »
Hi all,

As per the subject, I am looking to have my trigger start executing only when the final part of the race comes before horses go in-play...

I can see from the manual that we have

3 - Going Down
4 - At The Post
5 - Going Behind
6 - Under Orders
7 - Off

Can I assume that race_status = 6 (Under Orders) is the final stage before in-play?

I want to set my Lay at SP at this latest time, as I have conditions, and this seems the appropriate time to set my trigger in motion. I appreciate there is probably a lot of violent price fluctuation at this time, but, hopefully less at this final part?

So I can use "and Market's Race Status is Under Orders"

I am sure there is usually at least a couple of seconds before they go in play, once they are 'Under Orders', which, I assume will be plenty to get a trigger fired and place a bet if the conditions are met.

OR, am I being ambitious due to a smaller time delay, between Under Orders and In-Play?

One of the reasons I am asking this is because I did, at one point, have a lay at SP bet placed, and the race time, for whatever reason, was extended quite a few minutes past the scheduled start time, and whilst my bet was placed 0.1 minutes before the off, one of the runners pulled out, and my bet liability changed, with the consequent stake being lower, due to the reduction factor. This isn't my only reason, as I would like to do it at the last moments before in-play anyway.

And finally, a happy new year, and hopefully a prosperous new year to ALL!

Thanks

Mark.

  • All members
  • Posts: 772
  • Karma: +37/-1
Re: Final Race Status before In-Play
« Reply #1 on: Sun, 31 December, 2017, 22:47 »
I have never seen 'under orders' reported on the market window, so don't know if it works.  In a jumps race the horses are under orders from when the starter calls on them to line up which could be as long as several minutes in a large race field.   In a flat race they are only under orders from the moment all horses are installed to the moment the stall doors are opened, a matter of seconds. 

  • Administrator
  • Posts: 5981
  • Karma: +207/-2
  • Gender: Female
*
Re: Final Race Status before In-Play
« Reply #2 on: Tue, 02 January, 2018, 20:56 »
Hello Mark,

Yes, the condition you used is correct, however, like rubold said, some race preparation stages may be skipped, so your condition might rarely be satisfied.

I would maybe include some other stages into this range using the OR condition.
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 219
  • Karma: +1/-0
Re: Final Race Status before In-Play
« Reply #3 on: Tue, 02 January, 2018, 21:17 »
Yes, I understand,

Thanks to both rubold, and Oxa,

after all, I decided to stick with what I had previously, using the simple  - minutes before race starts <= 0.1....

The only problem with that, is if there is a delay before the take off, the prices can fluctuate significantly, which is why I was preferring to take the Lay at SP as late as possible.

Unfortunately this was the case with a race today, and as my trigger is not working as expected, it placed a Lay at SP, 0.1 minutes before start, with the condition that the current lay price is above 16.06, and at the 17:10 race, a horse called Caspian Prince satisfied that condition, Lay at SP placed, and the damned thing took off at 13.5, and the bugger WON! The backing part of my trigger is not placing a back bet if the actual_sp is below 16.06, and I wasnt around to do it manually.

Hopefully, someone will fix my trigger, although I am convinced it is right.... It has to be something else which I have missed...

Anyway, rant over

Thanks again.

Mark.

  • Administrator
  • Posts: 5981
  • Karma: +207/-2
  • Gender: Female
*
Re: Final Race Status before In-Play
« Reply #4 on: Wed, 03 January, 2018, 06:47 »
Well, logically there is nothing wrong with your trigger: if the price drops dramatically just before the off, you can't do anything to prevent this unfortunately.

Maybe it would make sense to also check the dynamics of that horse over X minutes before your bet, e.g. if its price fell by X ticks over Y minutes, then stay away from that horse.
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 219
  • Karma: +1/-0
Re: Final Race Status before In-Play
« Reply #5 on: Wed, 03 January, 2018, 09:46 »
Hi Oxa,

My issue is not with the horse dropping in odds.

I am well aware that the odds can fall below, or rise above those that satisfy my criteria, I am not even slightly concerned about this, what I need to do is place the opposite bet if my lay bet has gone in and the take off price (BSP) is above or below my range.

For some reason my trigger is not following the rules, and I need to know what is wrong with it.

There has to be some basic fault with what I have done, because when you examine the logic, it is very simple. Place lay bet, when matched, check the SP, if its outside the given range, place a matching back bet - simple. BUT, in this case, its not working. Very frustrating. If only it could be C#, hmmm, that would be yummy! That isn't a criticism of MFP, it is just my frustration that I cannot dig into the code to get detail.

Mark.


  • Administrator
  • Posts: 5981
  • Karma: +207/-2
  • Gender: Female
*
Re: Final Race Status before In-Play
« Reply #6 on: Wed, 03 January, 2018, 11:01 »
Have you checked the logs of the trigger that performs in the way it shouldn't?
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 219
  • Karma: +1/-0