Access Daily external series within intraday code
Author: dankimel
Creation Date: 10/6/2009 3:51 PM
profile picture

dankimel

#1
I'm working on an intraday code and would like to access the stocks of my DataSet as well as the Nasdaq Composite Index on a daily scale. Is the following code the right way to do it?
CODE:
Please log in to see this code.
profile picture

Cone

#2
Right, although if you have .ixic in more than one DataSet/Scale, then you should use the parameter overload for GetExternalSymbol to specify the DataSet's name (5.4 and up). Also, I'm not certain that it makes a difference for a symbol name, but to be safe you should use the same case (.ixic or .IXIC) as the symbol in the DataSet.
profile picture

dankimel

#3
Thanks.
profile picture

Cone

#4
By the way, if you're accessing a Daily source directly, SetScaleDaily/RestoreScale should not be required.
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).