Pages:
Actions
  • #1 by Gary on 03 Aug 2022
  • Hi

    I have seen that there is an event_start which gives data and time, and also an event_start_timestr which is a string

    is there a way to add selection criteria on races that start before 5pm every day?

    thanks, Gary   
  • #2 by Tim (WellDoneSoft) on 03 Aug 2022
  • Hello Gary,

    It's kind of tricky one:
    1. You can't do that within the Market Locator. So you have to add all of them (met other conditions) and then delete ones starting after 5pm
    2. The triggers are executed on refreshed markets only. So to delete market you have to refresh it at least once.
    3. The condition for deleting the markets

    Code: [Select]
    Selection's Trigger expression event_start - INTEGER(event_start) is greater than 17/24
    ;)
  • #3 by Gary on 03 Aug 2022
  • thanks Tim

    Im guessing that I just put that in a trigger condition so that trigger wont run against any event that start after 5pm?
  • #4 by Tim (WellDoneSoft) on 03 Aug 2022
  • My example deletes markets starting after 5 pm.
    So if you need your trigger to fire on markets starting before 5 pm, then change to 
    Code: [Select]
    Selection's Trigger expression event_start - INTEGER(event_start) is LESS than 17/24
  • #5 by Gary on 03 Aug 2022
  • thank you :)
Pages:
Actions