Intraday Stock Prices for Security

Intraday Stock Prices for Security Javascript API Documentation

Deprecated. Return intraday stock prices for the Security with the given `identifier`

API Class:
SecurityApi
Instance Method:
getSecurityIntradayPrices()

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 security = new intrinioSDK.SecurityApi();
var identifier = "AAPL";
var opts = {
'source': null,
'startDate': new Date("2018-01-01"),
'startTime': null,
'endDate': new Date("2019-01-01"),
'endTime': null,
'pageSize': 100,
'nextPage': null
};
security.getSecurityIntradayPrices(identifier, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
sourceStringReturn intraday prices from the specified data source[optional]  
startDateDateReturn intraday prices starting at the specified date[optional]  
startTimeStringReturn intraday prices starting at the specified time on the `start_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
endDateDateReturn intraday prices stopping at the specified date[optional]  
endTimeStringReturn intraday prices stopping at the specified time on the `end_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
pageSizeNumberThe number of results to return[optional] [default to 100]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseSecurityIntradayPrices

Properties

NameTypeDescription
intradayPrices[IntradayStockPrice]The intraday stock prices for the Security  
securitySecuritySummaryThe Security resolved from the given identifier  
sourceStringThe source of the data  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
object
IntradayStockPrice

Properties

NameTypeDescription
timeDateThe timestamp that the `last_price` represents.  
lastPriceNumberThe price of the last trade.  
askPriceNumberThe price of the top ask order.  
askSizeNumberThe size of the top ask order.  
bidPriceNumberThe price of the top bid order.  
bidSizeNumberThe size of the top bid order.  
volumeNumberThe number of shares exchanged during the trading day on the exchange.  
sourceStringThe source of the data.  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
exchangeStringThe exchange's MIC  
exchangeMicStringThe security's exchange MIC  
stockExchangeIdStringThe exchange's Intrinio ID  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
compositeTickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
primaryListingBooleanIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange