Nasdaq
Nasdaq functions are used for downloading and accessing Nasdaq Data Link datasets. Make sure that NasdaqlInitialize is called before all other functions.
Sections
Name |
Description |
Initializes the Nasdaq Data Link API functions. This function must be called before any other Nasdaq API function. |
|
Refreshes the loaded time series with the latest values based on the current Desktop time. This function is usually called at the beginning of each OnBarUpdate call. |
|
Gets the timestamp of a specified point in a specified time series. |
|
Gets the field index for a specified field id in a specified time series or -1 if the field is not found. |
|
Gets the field Ids of a specified time series. |
|
Loads a specified time series and returns a unique time series index to identify it. |
|
Gets the value of a specified data point in a specified time series. |
NasdaqInitialize(string apiKey) |
||||||
Initializes the Nasdaq Data Link API functions. This function must be called before any other Nasdaq API function. Parameters
Scripts All |
NasdaqUpdateTimeSeries() |
Updates the loaded time series with the latest values based on the current Desktop time. This function is usually called at the beginning of each OnBarUpdate call. Parameters No Parameters Scripts All |
long NasdaqTimeSeriesDate(int, int) |
|||||||||
Gets the timestamp of a specified point in a specified time series. Returns The timestamp of the specified point. Parameters
Scripts All |
int NasdaqTimeSeriesFieldIndex(int timeSeriesIndex, string fieldId) |
|||||||||
Gets the field index for a specified field in a specified time series or -1 if the field is not found. Returns The field index for the specified field in the specified time series or -1 if the field is not found. Parameters
Scripts All |
string[] NasdaqTimeSeriesFields(int timeSeriesIndex) |
||||||
Gets the field Ids of a specified time series. Returns The field Ids of the specified time series. Parameters
Scripts All |
int NasdaqTimeSeriesLoad(string databaseCode, string datasetCode, bool checkForUpdates, int reportingLagMinutes) |
|||||||||||||||
Loads a specified time series and returns a unique time series index to identify it. Returns The unique time series index that identifies the requested time series. Parameters
Scripts All |
double NasdaqTimeSeriesValue(int timeSeriesIndex, int fieldIndex, int timeSeriesShift) |
||||||||||||
Gets the value of a specified data point in a specified time series. Returns The value of the specified data point in the specified time series. Parameters
Scripts All |