Author Topic: Time of day trigger  (Read 6501 times)

Tags:
  • All members
  • Posts: 19
  • Gender: Male
Time of day trigger
« on: 12 Oct 2024, 10:20 »
Hi there, is it possible to have a single trigger within a block of triggers to not fire after a certain time of the day?
Thanks in advance

  • Moderator
  • Posts: 3652
*
Re: Time of day trigger
« Reply #1 on: 12 Oct 2024, 14:25 »
Hi
Say you want the trigger to stop at 8pm add this condition to the trigger in question:
and global current time is less than 20:00

or you could use a time range for when you want the trigger to fire:
and global current time is between 07:30 and 20:00
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: 19
  • Gender: Male
Re: Time of day trigger
« Reply #2 on: 13 Oct 2024, 08:01 »
Thank you 🙏 

  • All members
  • Posts: 33
  • Gender: Male
Re: Time of day trigger
« Reply #3 on: 25 Oct 2024, 11:22 »
I operate some very simple horse race triggers. I manually stop some and start others at a particular time of day. I have added the appropriate global current time instruction to the conditions for each individual trigger, but this has resulted in each such trigger not firing at all. All my triggers have a condition "markets minutes before off equal or less than (say) 1"
I have added global condition as first condition and alternatively as last condition but with same non firing result.
Your guidance would be much appreciated.
pjms

  • Moderator
  • Posts: 3652
*
Re: Time of day trigger
« Reply #4 on: 26 Oct 2024, 17:14 »
I operate some very simple horse race triggers. I manually stop some and start others at a particular time of day. I have added the appropriate global current time instruction to the conditions for each individual trigger, but this has resulted in each such trigger not firing at all. All my triggers have a condition "markets minutes before off equal or less than (say) 1" I have added global condition as first condition and alternatively as last condition but with same non firing result. Your guidance would be much appreciated. pjms
Hi
It would be much easier to help if you could attach the trigger so I can test 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: 33
  • Gender: Male
Re: Time of day trigger
« Reply #5 on: 28 Oct 2024, 08:23 »
Hi MarkV, I have realised my error. The full stop in the middle of the time should be a colon (14:00 NOT 14.00)
Many apologies and thanks for your attention.
pjms

  • Moderator
  • Posts: 3652
*
Re: Time of day trigger
« Reply #6 on: 28 Oct 2024, 10:29 »
Hi MarkV, I have realised my error. The full stop in the middle of the time should be a colon (14:00 NOT 14.00) Many apologies and thanks for your attention. pjms
8)
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.

 

Please note, BetFair is seems to be currently OFFLINE