Author Topic: Horse racing results in test mode  (Read 5897 times)

Tags:
  • All members
  • Posts: 80
Horse racing results in test mode
« on: 04 Nov 2014, 10:15 »
Hi Guys,

I have a VPS setup and am running MarketFeeder on that so that so I can run it across all horse races in the UK and Australia.

Sometimes almost once a day I get a race that doesnt result and given that my trigger relies on the previous market being settled the trigger hangs.

Is there anyone that has seen this sort of thing happen before, and if so what did you do to fix it.

Regards
Steve

  • All members
  • Posts: 905
Re: Horse racing results in test mode
« Reply #1 on: 04 Nov 2014, 13:50 »
There is no guarantee that you will have the result of the previous race before you bet on the next one.  Races often have a delayed start,  there may be a steward's inquiry, the ambulance might have taken a jockey to hospital.  Also Betfair may delay in settling a race on an arbitrary basis.

So your triggers need to be powerful enough to cope with almost any eventuality.  I presume you need the previous result for staking purposes.  If the race goes in-play then in most cases you can determine the winner by looking at which horse had the lowest last traded price at suspension - this should work most of the time.   You can wait for the race to settle normally, but if that fails you can then use a trigger to look at the last traded price and fire it a few seconds before your staking triggers operate.

  • All members
  • Posts: 80
Re: Horse racing results in test mode
« Reply #2 on: 05 Nov 2014, 03:19 »
Thanks Rubold, that is exactly why I am after that. COuld you please point me the way of any examples of where this has been done.


There is no guarantee that you will have the result of the previous race before you bet on the next one.  Races often have a delayed start,  there may be a steward's inquiry, the ambulance might have taken a jockey to hospital.  Also Betfair may delay in settling a race on an arbitrary basis.

So your triggers need to be powerful enough to cope with almost any eventuality.  I presume you need the previous result for staking purposes.  If the race goes in-play then in most cases you can determine the winner by looking at which horse had the lowest last traded price at suspension - this should work most of the time.   You can wait for the race to settle normally, but if that fails you can then use a trigger to look at the last traded price and fire it a few seconds before your staking triggers operate.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Horse racing results in test mode
« Reply #3 on: 05 Nov 2014, 06:40 »
hi
if you are only using one selection per meeting, then you can use the balance as a result, because the balance is normaly altered before the result/market 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: 905
Re: Horse racing results in test mode
« Reply #4 on: 05 Nov 2014, 08:06 »
Thanks Rubold, that is exactly why I am after that. COuld you please point me the way of any examples of where this has been done.


I have some triggers where I implemented this, so I'll dig out the relevant parts for you.  If you are only using test mode at present, you can try the bet settlement simulator under the Test Mode tab in settings.  Select "By Last Price" and tick "Settle finished markets automatically".   I believe you also need to untick "Download results from Betfair...."    This is not ideal since you are giving up normal settlement, but works most of the time.

The balance does update before the market displays settled, but in my experience you only gain a minute at most and will still not cope with delays or steward's inquries etc.  

  • All members
  • Posts: 80
Re: Horse racing results in test mode
« Reply #5 on: 09 Nov 2014, 04:49 »
Thanks. It's not that much anyways, so I think it won't really matter.
Automatic isn't always everything.

 

Please note, BetFair is seems to be currently OFFLINE