Pages:
Actions
  • #1 by Gary on 22 May 2023
  • Hi

    Ive been logging the match_minute into a file every 60 seconds for a few football markets, but the match minute seems to get confused at half time. at first I thought it carried on and then reset to 45 mins when the second half began but a match today (Newcastle vs leicester) changed a few times during the break

    the match_minute is the first column on the below

    is there a better way to get the minute?

    thanks, Gary
  • #2 by Tim (WellDoneSoft) on 23 May 2023
  • Yes, that's how it's supposed to work.
    There is no other way to indicate additional time.
    But yes, it must happen only once.
    I'm not sure what really happened but suppose the second half was postponed several times.
  • #3 by Gary on 23 May 2023
  • thanks Tim

    I think it possible to have a to set a variable to show if the second half is started by looking for a match_minute if 45.00 and hoping that doesn't trigger on the first 45 mins and only the second one

    cheers 
  • #4 by MarkV on 24 May 2023
  • Hi
    Try:
    selections trigger expression match_period is equal to 2
    and selections trigger expression match_minute is equal or greater than 46

     
  • #5 by Gary on 24 May 2023
  • fantastic, thanks Mark
Pages:
Actions