I would like to enable a strategy at 8:00AM. Is there a way to enable a strategy at a specific time?
Every day I disable the strategy at 3:50PM. I disable the strategy (within the strategy) using the command Disable();.
Once the strategy is disabled, how can I enable the strategy the next day at 8:00AM if the strategy is not running?
One option is to always run the strategy and make the decisions based on time, but I don't want to do that. Disabling the strategy reset all the variables from that day.
Thank you.
Comment