- ago
I am getting this message. Is there a Visual Studio version or some other Microsoft module issue ? What are the requirements ?

WL7: Error populating equity curve. Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index'). ArgumentOutOfRangeException.
at WealthLab.Core.TimeSeries.GetLowest(Int32 bar, Int32 range)
at ConfigurationParser.SetupWorker(Object , Int32 , Int32 , ConfigurationParser )
at WealthLab7.visEquityCurve.Populate(Backtester backtester, Backtester backtesterBenchmark)
at ProcInterpreter.SetupWorker(Object , Backtester , Backtester , ProcInterpreter )
at WealthLab7.cwStrategy.PatchRecord(Object value, EventArgs cust)
0
939
8 Replies

Reply

Bookmark

Sort
- ago
#1
This looks like pretty unexpected. What were you doing and on what data and with what settings, step by step, so we could attempt reproduce and fix?
0
- ago
#2
If it helps, the same code works fine on my 6-year old Dell Windows 8 laptop. The error is generated on my new Dell Windows 10 laptop. Please provide the requisites.
0
- ago
#3
It's not enough to draw any conclusions. To reproduce and fix, could you provide a more detailed report that demonstrates the anomaly including:

1. what kind of strategy (code-based? need a sample code; Blocks? need them; etc.)
2. everything from the Strategy Settings tab
0
- ago
#4
Code-based. It works on two other PC's. Using 60-minute bars. IQ Feed is the data source.

How do I copy a screen shot here ?
0
- ago
#5
To copy code, select it with Ctrl-C and then Ctrl-V here.

For a screenshot, press the "Print Screen" key (PrntScrn, PrntScr, PrtScn, PrtScr, PrtSc) and paste into Paint or other imaging application. Save as PNG and attach.
0
- ago
#6
0
- ago
#7
This is a start. These settings work just fine for me.

1. Can you provide a watered down script that demonstrates the issue?

2. What symbols does "my test set" contain? Is "Regular session only" activated in IQFeed's settings on Historical Providers tab (Data Manager)?
0
- ago
#8
I was able to reproduce the error message. Let's get rid of it for Buid 8. No need in script/symbols.
0

Reply

Bookmark

Sort