All Realtime Index Prices

All Realtime Index Prices Javascript API Documentation

API Class:
IndexApi
Instance Method:
getAllRealtimeIndexPrices()

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 opts = {
'pageSize': 100
};
index.getAllRealtimeIndexPrices(opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
pageSizeNumberThe number of results to return[optional] [default to 100]  


Return Type

object
ApiResponseRealtimeIndexPrices

Properties

NameTypeDescription
prices[RealtimeIndexPrice] 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
RealtimeIndexPrice

Properties

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

Properties

NameTypeDescription
symbolStringThe current ticker of the index