Originally Posted by Zheka
Not sure how this works with StartDate=NOW.


Based on what I read in the manual, it seems best not to define StartDate at all in TRADEMODE.

Quote
StartDate = NOW sets the start date to the current day, and executes the run function in [Trade] mode immediately after the lookback period, regardless of the current time. Useful for strategies that do not run permanently, but are only started for modifying a portfolio.
- StartDate = 0 (default) starts the simulation with NumYears before the current year.

Last edited by Grant; 04/20/22 15:23.