Print Page  
MISC / UTILITY
GetSeries("ticker/series")
Full Description

This function returns a series id than can be used in a "series" parameter.

NOTE: GetSeries() must be used for Aggregate Series and Imported Series. For everything else you can simply use the series id directly as the series parameter. For example you can use the StockID found here (StockIDs never change) or a predefined Time Series ID found in the reference MISC→TIME SERIES IDS.

For example to access IBM latest close you can use any of this formulas:

Close(0, 4737)
Close(0, GetSeries("IBM"))
Close(0, GetSeries("IBM:USA"))

 

GetSeries Examples

Using a fully qualified ticker

GetSeries("SPY:USA")

When USA is your preferred country

GetSeries("SPY")

 For an Aggregate Series or an Imported Series

GetSeries("%AboveSMA200-SP500")
GetSeries("My series name")

Using a Time Series ID (see MISC→TIME SERIES IDS)

Note that Time Series IDs can be used directly, for example: Close(0,$RUI)

GetSeries("$RUI")