- ago
When I open an instance of WealthLab 8 and then open a strategy and run a Backtest, I get a long delay before the back test completes. If I open a second strategy in the same WealthLab instance and run a Backtest the backtest completes almost instantly.

My WealthLab system:
WealthLab 8 v. 160
Advanced smoothers v. 12
Candlesticks v. 23
ChartPatterns v. 17
DataExtensions v. 44
DeepLearning v. 8
Fundamental v. 18
IndexLab v. 9
IndicatorProfiler v. 7
IQFeed v. 36
MonteCarloLab v. 10
PowerPack v. 68
PureMath v. 2
TrendChartStyles v. 6

This is the process I followed to generate the error:

A. Open instance of Wealth lab

WealthLab connection and exceptions log:
3/16/2026 07:08:33:392
Dummy Broker
Dummy Broker Broker: Welcome colotrader, you are now connected to our Dummy Broker!
--------
3/16/2026 07:08:39:442
IQFeed
Connected
--------
B. Open strategy: One Percent a Week v3

C. Click "Run Backtest"
Wait about 1 minute and 40 seconds before COMPLETION of back test

WealthLab connection and exceptions log has additional entry:

3/16/2026 07:16:37:514
WL8
Error populating Monte Carlo: One or more errors occurred. (A task was canceled.)
AggregateException
One or more errors occurred. (A task was canceled.) Inner Exception: A task was canceled.
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at WealthLab.Core.WLWebClient.DownloadString(String url)
at WealthLab.Core.Exceptions.ParamsAuthenticationException.DefineInterpreter(String reference, String cfg, Boolean updateres, String reference2)
at WealthLab.Core.Exceptions.ParamsAuthenticationException.SearchInterpreter(String init, Boolean iscaller, String role, DateTime attr2)
at WealthLab.Core.FredFactory.GetFred(String series, Boolean getDescription, String units)
at WealthLab.Indicators.Fred.Populate()
at WealthLab.Indicators.Fred..ctor(BarHistory bars, String series, Boolean getDescription, String units)
at WealthLab.Indicators.Fred.Series(BarHistory bars, String series, Boolean getDescription, String units)
at WealthLab.Indicators.USTYield.Populate()
at WealthLab.Indicators.USTYield..ctor(YieldPeriod yp)
at WealthLab.MonteCarloLab.visMonteCarlo.Populate(Backtester backtester, Backtester backtesterBenchmark)
at WealthLab8.cwStrategy.IncludeAdapter(Object item, EventArgs ivk)

D. Open strategy: Knife Juggler in the same open WealthLab instance.

E. Click "Run Backtest"
This completes with no delay
No changes to the connection and exception log

I can reverse the selection of strategies and open Knife Juggler first in a new instance of Wealth lab and get the same results. A long delay for "Run Backtest" in Knife Juggler, and normal results for "Run Backtest" in One Percent a Week v3 strategy.

If I place the strategy in a Streaming chart and save that as a workspace, everything runs normally when I reopen the workspace.
0
47
Solved
2 Replies

Reply

Bookmark

Sort
Glitch8
 ( 9.97% )
- ago
#1
Try updating to Build 161. There were some changes to the FRED web site which we relied on that we needed to adapt to.
0
Best Answer
- ago
#2
Problem resolved with build 161.
Thanks
1

Reply

Bookmark

Sort