Why FindNamedSeries in GetExternalSymbol doesn't return data?
Author: Eriko
Creation Date: 4/15/2014 5:26 AM
profile picture

Eriko

#1

I have some problem with the FindNamedSeries method in WealthLab. In my data set I have a symbol called “Benchmark” which is populated by Index data. In addition to the OHLCV values, there are series called “PBR” and “ROE”, which I create as part of the import process. I am accessing this data in my strategy using the code

CODE:
Please log in to see this code.


When I had trouble using the PBR_Idx DataSeries I inserted a couple of debug statements to look at the values being populated in the series

CODE:
Please log in to see this code.


If I run the Strategy on the Benchmark Symbol itself, I am getting the expected values from the PBR_Idx Dataseries in the Debug window. However, if I run the Strategy on any other symbol, the PBR_Idx Dataseries appears to be zero filled. Is there any problem with what I am trying to do here?

It worked fine on the previous version of WealthLab.
profile picture

Eugene

#2
Have you tried the other overloaded call for GetExternalSymbol? Is it any different?

CODE:
Please log in to see this code.


Which data provider (and revision number) are you using for NamedSeries?
profile picture

Eriko

#3
Thank You very much Eugene,

The overloaded call worked perfectly.

We use ASCII Files Static 1.3.4.0 data provider (Bloomberg and converted into csv files)
profile picture

Eugene

#4
Glad to have helped. So this problem occurs on both Bloomberg Static and ASCII data? I'm pretty sure that all NamedSeries bugs were squashed years ago.