Hi everyone
I have been using the 'write to file' action to store a lot of information about each UK horse racing market at 07:30 am each day. There can be 40 races on most days, so the trigger is trying to write an awful lot of info about each market all at the same time, and as a result I think errors and discrepancies are creeping in.
What I want to do is start this process at 07:30:00 and do it one market at a time, pausing for 3 seconds before executing the trigger in the next market so that each market has a chance to write its stuff to file before the next one does the same.
I have been trying to combine now_time_timestr and 7:30:00+market_index to create a trigger condition that achieves this, but to no avail. A lot of examples I've seen on here use the difference between now_time & time of the last bet to create delays, but this trigger needs to have a delay without any bets having been placed. Does anybody have any suggestions?
Thanks.