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

Tags:
  • All members
  • Posts: 829
minutes before the off
« on: 29 May 2014, 11:49 »
hi,
I am using the following condition in my trigger
'and market's minutes before the off is less than 1'
However it is placing bets long after the off and upon checking
the logs it says "true"
In 'settings' I have selected start monitoring markets 10 minutes before the off.
Am I doing something wrong?
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: minutes before the off
« Reply #1 on: 29 May 2014, 11:52 »
hi
what are you trying or want the trigger to do.



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: 405
Re: minutes before the off
« Reply #2 on: 29 May 2014, 13:58 »
maybe set your market status in the trigger to 'idle or suspended'.  That should stop it  firing inplay.

  • All members
  • Posts: 829
Re: minutes before the off
« Reply #3 on: 29 May 2014, 16:41 »
Hi mcbee,
I have a trigger with 3 sets of 'OR' condition blocks.
I want the first of the three to place a bet prior to the event going in play.

armarni.... you may be right if I add:
'and market's status is idle'
Hopefully that should solve it

all agree ?

Thanks a heap
R
My grandma taught me not to run downstairs and never back odds on.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: minutes before the off
« Reply #4 on: 29 May 2014, 17:01 »
hi
yes, or set your trigger market status to  idle or suspended


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 #5 on: 30 May 2014, 15:57 »
thanks mcbee
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: minutes before the off
« Reply #6 on: 01 Jun 2014, 13:50 »
hi,

Does minutes since off include time markets started monitoring in settings?
Or minutes from time market goes in play?

Whichever way I want the trigger to fire no later than 10 minutes after
event goes in play.
How does this work nowadays with tennis events being delayed ? and the in play clock keeps on ticking even overnight.
My objective is to bet no later than 10 minutes of actual tennis being played irrespective of recording clocks etc
Can this be attained ?
Many thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: minutes before the off
« Reply #7 on: 01 Jun 2014, 14:40 »
My objective is to bet no later than 10 minutes of actual tennis being played irrespective of recording clocks etc
Can this be attained ?
Many thanks
R

Hi
your conditions
AND
     selections trigger expression market_score1 is greater than 0
     or selections trigger expression market_score2 is greater than 0

You can also set a user variable with now_time when the above conditions are met.
then
and selections trigger expression (now_time-uservar)/mf_minute is less than 10
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 #8 on: 01 Jun 2014, 14:46 »
Hi Mark,

Nice to see you on here again.
Thanks, it makes sense.
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: minutes before the off
« Reply #9 on: 01 Jun 2014, 15:21 »
Hi Mark,

Is there an and/or function for one condition in the one condition block.
You gave the following conditions:
AND
     selections trigger expression market_score1 is greater than 0
     or selections trigger expression market_score2 is greater than 0

The way I currently structure this is to make a new "OR" condition block.
I feel this could get out of hand if there are multiple and/or conditions hence
I believe I am missing something.
Thanks once again
R
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: minutes before the off
« Reply #10 on: 01 Jun 2014, 16:10 »
Hi
I think what you are asking is what I suggested above. In the attached screenshot the conditions will be met if:

selections back price is between 2.00 and 4.00
and rank is 1 or 2
AND the game is in progress because
player 1 has a score
or player 2 has a score


I hope this answers your question.
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 #11 on: 01 Jun 2014, 17:11 »
Hi Mark,
I have three condition blocks all set to "OR"
with about eight conditions in each block

example

OR
     selection's rank equals 1
     and number of back matched equals 0
     and etc etc
     etc up to about 8 conditions
OR
     selection's rank equals 1
     and number of back matched equals 1
     and etc etc
     etc up to about 8 conditions
OR
     selection's rank equals 1
     and number of back matched equals 1
     and etc etc
     etc up to about 8 conditions

What I would like to do is to add
AND
     selections trigger expression market_score1 is greater than 0
     or selections trigger expression market_score2 is greater than 0
in the first "OR" condition block.

But the error message of course says AND and OR do not match.
Thanks for further help
R

     
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: minutes before the off
« Reply #12 on: 01 Jun 2014, 17:59 »
Hi
The attached shot shows how to do it.
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 #13 on: 01 Jun 2014, 20:12 »
Hi Mark,
Perfect solution.
Thank You and hoping other newbies benefit from these Q&A's
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: minutes before the off
« Reply #14 on: 01 Jun 2014, 22:31 »
Hi Mark,

Things get a little tricky when play stops overnight and restarts next day with a score greater than 0. Lets say the tennis match score is 1-1 then I would not want to bet it
as my rule was to bet less than 10 minutes since the off. Which in the above case would be the day before.
How can I ensure that the trigger obeys only the first "in play" session ?
To confuse matters even further I have noticed that sometimes overnight some events still show "in play" and other times "idle" with both occasions showing scorelines. This sounds like a Betfair issue. I do realise some matches around the world can go on shortly after midnight but not 3,4 or 5am. In addition no changes to volume proves market is idle despite sometimes showing "in play"
Anyway back to my trigger and how to fire only during first "in play" session.
If that is possible Mark
Cheers
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE