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)
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)
Rename
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?
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.
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
1. what kind of strategy (code-based? need a sample code; Blocks? need them; etc.)
2. everything from the Strategy Settings tab
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 ?
How do I copy a screen shot here ?
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.
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.
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)?
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)?
I was able to reproduce the error message. Let's get rid of it for Buid 8. No need in script/symbols.
Your Response
Post
Edit Post
Login is required