Realtime Index Price By Identifier

Realtime Index Price By Identifier Javascript API Documentation

API Class:
IndexApi
Instance Method:
getRealtimeIndexPriceById()

Stock Price Code Example

Use my API Key
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var index = new intrinioSDK.IndexApi();
var identifier = "SPX";
index.getRealtimeIndexPriceById(identifier).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringThe index symbol 


Return Type

object
RealtimeIndexPrice

Properties

NameTypeDescription
lastPriceNumberThe last price  
lastTimeDateThe timestamp of the last price  
indexRealtimeIndexPriceIndex 
object
RealtimeIndexPriceIndex

Properties

NameTypeDescription
symbolStringThe current ticker of the index