- ago
Hello again -- I am transitioning code strategies from 6.9 to 8. They compile, and data (daily ASCII OHLCV going back 30 yrs) are readable for WL and shown in charts. Backtesting though is another story. I am getting an exception from WL C++ code when debugging with VS 2022. Stack traces from WL and VS debugger are attached. Any insights?

Kind regards,

Hermann9775-ealthLab-Initialize-Exception-job-59-pdf
0
114
1 Replies

Reply

Bookmark

Sort
Cone8
 ( 9.83% )
- ago
#1
Hard to say without seeing some code, but check that you're assigning the StartIndex correctly in Initialize(). It should be set to the largest period (at a minimum) of all indicators in used. Look up StartIndex in the QuickRef in the UserStrategyBase class for more info.
0

Reply

Bookmark

Sort