Author Topic: Minutes since the off - value negative before the off?  (Read 497 times)

Tags:
  • All members
  • Posts: 11
  • Gender: Female
I have a trigger which as the final condition has:
  • Market's Minutes Since the Off is equal or less than 1

In other words I only want the trigger to fire in the first minute after the start.

However, I have noticed on several occasions that despite this condition the trigger fires and lays bets BEFORE the off

Prior to the off is Minutes Since the Off calculated as a negative number (hence the trigger firing because the condition is therefore true)?

If so, should condition above be replaced with two conditions:
  • Market's Minutes Since the Off is equal or greater than 0
  • AND
  • Market's Minutes Since the Off is equal or less than 1


Thx

  • Moderator
  • Posts: 3597
*
Re: Minutes since the off - value negative before the off?
« Reply #1 on: 05 Jan 2023, 16:51 »
Hi
If you set the market status field in the trigger to in-play that should take care of it

or you can use conditions:
markets status is in-play
and markets minutes since the off is between 0.001 and 1

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: 11
  • Gender: Female
Re: Minutes since the off - value negative before the off?
« Reply #2 on: 05 Jan 2023, 16:52 »
Perfect - many thanks

 

Please note, BetFair is seems to be currently OFFLINE