Runtime error calling GetExternalSeries
Author: abate
Creation Date: 2/13/2011 5:10 AM
profile picture

abate

#1
I am trying to get external series from Index lab using GetExternalSeries and getting runtime error - following is the code I am using.

CODE:
Please log in to see this code.


I get runtime error - could not load data from symbol, eventhough the data exists.
When I copy and print the debug output to GetExternalSeries it works.
What I am doing wrong.

Thanks
Abate
profile picture

Eugene

#2
What the debug output is?
Why are you adding extra quotes and converting to upper case?
profile picture

abate

#3
Eugene,

The industry name is lower case and the Index Lab name is upper case so I need to convert it to uppercase.
The debug output is %I_AIRLINES.
I added extra quotes becauase the GetExternalSeries argument is enclosed in quotes - GetExternalSeries("%I_AIRLINES",Close).

Abate
profile picture

Eugene

#4
OK, upper case is known to be somewhat more "robust".

But you should not add extra quotes.
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).