Author Topic: minutes before the off  (Read 8275 times)

Tags:
  • Moderator
  • Posts: 3597
*
Re: minutes before the off
« Reply #15 on: 02 Jun 2014, 11:27 »
Hi
A couple of ideas:
Only bet if the last matched back bet was made less than 4 hours ago:
selections trigger expression (now_time-bm_backtime)/mf_hour is less than 4

or record the scores with a timestamp and only bet if the scores have changed in the last hour, otherwise delete market:

TRIGGER
record market_score1 score in user variables score_var1 and score_var2
record now_time in time_var
repeat this trigger every 10 mins or so.

BETTING TRIGGER
checks market_score1 is not equal to score_var1
or checks market_score2 is not equal to score_var2
and (now_time-time_var)/mf_hour is less than 1

TRIGGER
Delete market
checks market_score1 is equal to score_var1
and checks market_score2 is equal to score_var2
and (now_time-time_var)/mf_hour is greater than 1

A quick check on the Betfair API-NG rollout shows a Tennis Scores and events API is due for release 16th June. It might incorporate info like this.   
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.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: minutes before the off
« Reply #16 on: 02 Jun 2014, 12:53 »
hi
you would need to create a variable to do that.
start the variable at 0 in the constants , set to remember last value.
then have a trigger to change the varaible to 1 when the first 10 minutes has gone.
your betting trigger would have
and trigger expression (variable name) is equal to 0


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: 829
Re: minutes before the off
« Reply #17 on: 02 Jun 2014, 19:50 »
Hi Guys,

Thanks for those suggestions. I'm wondering if it may be worthwhile waiting for 16-Jun to see what Betfair comes up with.
mcbee's idea sounds simpler but still a bit beyond my ken.
I'll study it and if any image showing how it would look comes my way I'd much appreciate it.
Many thanks
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE