Index out of Range, Unable to get Data on Demand
Author: RainManRam
Creation Date: 11/17/2009 2:00 PM
profile picture

RainManRam

#1

When running a strategy, I get and index out of range error followed by "Unable to get Data on Demand for symbol:xxx". This happens before the strategy is executing while the DataSet tab in the Strategy window shows a status message of "Collecting Data... XXX".

Is this an indication of corrupt data? Any thoughts on how to fix this?

Thanks,
Ray
profile picture

Eugene

#2
Here are the typical reasons: Index was out of range.

Which symbol(s) usually produce the error? Can you give more insight about the data?

I guess you haven't tried disabling on demand data update in the Data Manager? Try unchecking the box [first thing I do when installing WL5], updating your dataset(s) and then enjoying the benefit of faster backtests.
profile picture

RainManRam

#3

The data is minute data from Fidelity, JPM, PFE come to mind as ones I saw multiple times. Removing the demand data update tick mark solved the problem.

- Ray
profile picture

Eugene

#4
Minute data takes longer than other and probably something times out while updating. For backtests, it's enough to keep the data up to date and disabling on demand updates.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).