Intraday Stock Prices for Security

Intraday Stock Prices for Security Python API Documentation

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

API Class:
SecurityApi
Instance Method:
get_security_intraday_prices()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
source = ''
start_date = '2018-01-01'
start_time = ''
end_date = '2019-01-01'
end_time = ''
page_size = 100
next_page = ''
response = intrinio.SecurityApi().get_security_intraday_prices(identifier, source=source, start_date=start_date, start_time=start_time, end_date
  =end_date, end_time=end_time, page_size=page_size, next_page=next_page)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
sourcestrReturn intraday prices from the specified data source[optional]  
start_datedateReturn intraday prices starting at the specified date[optional]  
start_timestrReturn intraday prices starting at the specified time on the `start_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
end_datedateReturn intraday prices stopping at the specified date[optional]  
end_timestrReturn intraday prices stopping at the specified time on the `end_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseSecurityIntradayPrices

Properties

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

Properties

NameTypeDescription
timedatetimeThe timestamp that the `last_price` represents.  
last_pricefloatThe price of the last trade.  
ask_pricefloatThe price of the top ask order.  
ask_sizefloatThe size of the top ask order.  
bid_pricefloatThe price of the top bid order.  
bid_sizefloatThe size of the top bid order.  
volumefloatThe number of shares exchanged during the trading day on the exchange.  
sourcestrThe source of the data.  
object
SecuritySummary

Properties

NameTypeDescription
idstrThe Intrinio ID for Security  
company_idstrThe Intrinio ID for the Company for which the Security is issued  
exchangestrThe exchange's MIC  
exchange_micstrThe security's exchange MIC  
stock_exchange_idstrThe exchange's Intrinio ID  
namestrThe name of the Security  
codestrA 2-3 digit code classifying the Security (reference)  
currencystrThe currency in which the Security is traded on the exchange  
tickerstrThe common/local ticker of the Security  
composite_tickerstrThe country-composite ticker of the Security  
figistrThe OpenFIGI identifier  
composite_figistrThe country-composite OpenFIGI identifier  
share_class_figistrThe global-composite OpenFIGI identifier  
primary_listingboolIf True, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange