Author Topic: Settled markets  (Read 1204 times)

  • All members
  • Posts: 13
  • Gender: Male
Settled markets
« on: 12 Aug 2016, 09:37 »
Hi all

So I wrote a trigger to deal with the lack of race status in Oz :o-got tired of waiting for BF to update their API   ;D
I especially was struggling with delayed races so handled that by not refreshing markets after a certain time via trigger. This worked well but I noticed that my results weren't updating (in the test statement) so I have to go through each race manually and hit the 'play' (start) button to refresh the market which updates the statement with each result.If I settle the market manually the result is incorrect (shows a winner as a loser) There is no trigger for refreshing the market( I have read forum comments here as to why not)- has anyone else noticed that settling the market manually doesn't reveal the true winner? Is there a setting(settle markets with data loaded from Betfair is checked, Finish a market after settlement is not checked,Refresh account statement /update account statement -every 10 sec- is checked ) I should be modifying or if I use a trigger to settle the market will this reveal the actual result in test ( I haven't tested real bets yet as I would be able to check this result in my real BF statement anyway)?
Any advice appreciated.Cheers

  • Moderator
  • Posts: 3509
Re: Settled markets
« Reply #1 on: 12 Aug 2016, 12:48 »
The Bet Settlement Simulator does not correspond with the results from Betfair, it is designed to let you test triggers and reset the markets repeatedly without having to wait for actual results. There is a good description in the Help File.

Test (and Real) Mode market settlement using the results from Betfair requires the market to be refreshing in order to collect the result from Betfair.

Depending on how your triggers are set up, it might be better to, for example:

Use a trigger to delete markets where the has been no betting activity after x amount of minutes since scheduled start time
Use a trigger to set the idle and / or in-play refresh rates to a high value after a given time, so they are still available for automatic settlement using Betfair results.
and of course once a market has been correctly settled, the statement is updated automatically and you can use the settings to automatically delete settled markets.

Hope this helps.
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: 13
  • Gender: Male
Re: Settled markets
« Reply #2 on: 12 Aug 2016, 22:58 »
Thanks for the reply MarkV. I didn't rfully appreciate that the settle markets option was only for test purposes-thanks for that. The option to delete markets where there is no betting activity may work in terms of simplification/tidiness, so I might try that. I can live with getting the result manually .Thanks again


Please note, BetFair is seems to be currently OFFLINE