Realtime Quote Prices by Exchange

Realtime Quote Prices by Exchange Javascript API Documentation

Returns many popular metrics for securities from a given exchange 'identifier' from multiple products conveniently in one API. Realtime stock price data requires at least one realtime product subscription (IEX, NASDAQ Basic, and/or Delayed SIP). If you are subscribed to multiple realtime stock price products, the api will return the most recent realtime stock price. Previous close price and percent change fields require both an EoD US Stock Price subscription and a realtime stock price subscription. Market_cap, price_to_earnings, and dividendyield data fields require a fundamentals subscription.

API Class:
StockExchangeApi
Instance Method:
getStockExchangeQuote()

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 stockExchange = new intrinioSDK.StockExchangeApi();
var identifier = "USCOMP";
var tickers = ["AAPL,MSFT,NVDA"];
var opts = {
'source': "delayed_sip",
'activeOnly': null
};
stockExchange.getStockExchangeQuote(identifier, tickers, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Stock Exchange identifier (MIC or Intrinio ID) 
tickers[String]The comma-delimited list of ticker symbols to return quotes for. 
sourceStringReturn the realtime price from the specified source instead of the most recent.[optional]  
activeOnlyBooleanReturns prices only from the most recent trading day.[optional]  


Return Type

object
ApiResponseStockExchangeQuote

Properties

NameTypeDescription
quotes[ApiResponseSecurityQuote]The realtime stock prices for all Securities traded on the Stock Exchange  
stockExchangeStockExchangeThe Stock Exchange resolved from the given identifier  
object
ApiResponseSecurityQuote

Properties

NameTypeDescription
securitySecuritySummaryThe Security of the stock quote  
lastNumberThe price of the latest trade  
lastTimeDateThe date and time when the last trade occurred.  
sourceStringThe source of the pricing data.  
openNumberThe open price from the latest day of trading.  
highNumberThe highest price from the latest day of trading.  
lowNumberThe lowest price from the latest day of trading.  
exchangeVolumeNumberThe volume of the security from the source.  
marketVolumeNumberThe volume of the security for the entire market.  
eodFiftyTwoWeekHighNumberThe 52 week high price.  
eodFiftyTwoWeekLowNumberThe 52 week low price.  
marketcapNumberThe current market cap.  
pricetoearningsNumberThe current price to earnings.  
previousCloseNumberThe previous close price.  
previousCloseDateDateThe date of the previous close.  
changeNumberThe difference in last price from the last close price  
changePercentNumberThe percent difference in last price from the last close price  
adjClose5DaysAgoNumberThe adjusted close price 5 days ago.  
adjClose30DaysAgoNumberThe adjusted close price 30 days ago.  
adjClose90DaysAgoNumberThe adjusted close price 90 days ago.  
adjClose180DaysAgoNumberThe adjusted close price 180 days ago.  
adjClose365DaysAgoNumberThe adjusted close price 365 days ago.  
adjClose730DaysAgoNumberThe adjusted close price 730 days ago.  
adjClose1825DaysAgoNumberThe adjusted close price 1825 days ago.  
adjCloseYearToDateNumberThe adjusted close price at the start of the calendar year.  
changePercent5DaysNumberThe percent change from the adjusted price 5 days ago to now.  
changePercent30DaysNumberThe percent change from the adjusted price 30 days ago to now.  
changePercent90DaysNumberThe percent change from the adjusted price 90 days ago to now.  
changePercent180DaysNumberThe percent change from the adjusted price 180 days ago to now.  
changePercent365DaysNumberThe percent change from the adjusted price 365 days ago to now.  
changePercent730DaysAgoNumberThe percent change from the adjusted price 730 days ago to now.  
changePercent1825DaysNumberThe percent change from the adjusted price 1825 days ago to now.  
changePercentYearToDateNumberThe percent change from the adjusted price since the start of the calendar year to now.  
extendedHoursLastNumberThe price of the latest trade in pre and post market trading. Might be null during normal trading  
extendedHoursChangeNumberThe difference in extended_hours_last price from most recent official close price  
extendedHoursChangePercentNumberThe percent difference in extended_hours_last from the most recent official close price  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
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  
object
StockExchange

Properties

NameTypeDescription
idStringThe Intrinio ID for the Stock Exchange  
nameStringThe name of the exchange  
micStringThe Market Identifier Code (MIC) of the exchange  
acronymStringThe acronym of the exchange's name  
cityStringThe city in which the exchange is located  
countryStringThe country in which the exchange is located  
countryCodeStringThe 2-digit code of the exchange's country  
websiteStringThe website of the exchange  
firstStockPriceDateDateThe earliest date for which Intrinio has stock prices for the exchange  
lastStockPriceDateDateThe latest date for which Intrinio has stock prices for the exchange