trigger_time#

swordfish.plugins.backtest.trigger_time(t)#

A timer event that triggers at a specified time or frequency. Set the trigger using the @trigger_time decorator. Only intervals in seconds (SECOND) are supported.

Parameters:

t (str) – A STRING scalar specifying the trigger time in “HH:MM:SS” format. The callback function will be executed at this time.