Intraday Stock Prices for Security

Intraday Stock Prices for Security R API Documentation

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

API Class:
IntrinioSDK::SecurityApi
Instance Method:
get_security_intraday_prices()

Stock Price Code Example

Use my API Key
client <- IntrinioSDK::ApiClient$new()
# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"
#Configure retries
client$configuration$allowRetries <- TRUE
# Setup API with client
SecurityApi <- IntrinioSDK::SecurityApi$new(client)
# Required params
identifier <- "AAPL"
# Optional params
opts <- list(
source = NULL,
start_date = as.Date("2018-01-01"),
start_time = NULL,
end_date = as.Date("2019-01-01"),
end_time = NULL,
page_size = 100,
next_page = NULL
)
response <- SecurityApi$get_security_intraday_prices(identifier, opts)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierCharacterA Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) 
sourceCharacterReturn intraday prices from the specified data source[optional]  
start_dateDateReturn intraday prices starting at the specified date[optional]  
start_timeCharacterReturn 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_timeCharacterReturn intraday prices stopping at the specified time on the `end_date` (24-hour in ‘hh:mm' format, UTC timezone)[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageCharacterGets the next page of data from a previous API call[optional]  


Return Type

object
IntrinioSDK::ApiResponseSecurityIntradayPrices

Properties

NameTypeDescription
intraday_pricesList of IntradayStockPriceThe intraday stock prices for the Security  
intraday_prices_data_frameData FrameData frame representation of intraday_prices
securitySecuritySummaryThe Security resolved from the given identifier  
sourceCharacterThe source of the data  
next_pageCharacterThe token required to request the next page of the data. If null, no further results are available.  
object
IntrinioSDK::IntradayStockPrice

Properties

NameTypeDescription
timePOSIXltThe timestamp that the `last_price` represents.  
last_priceNumericThe price of the last trade.  
ask_priceNumericThe price of the top ask order.  
ask_sizeNumericThe size of the top ask order.  
bid_priceNumericThe price of the top bid order.  
bid_sizeNumericThe size of the top bid order.  
volumeNumericThe number of shares exchanged during the trading day on the exchange.  
sourceCharacterThe source of the data.  
object
IntrinioSDK::SecuritySummary

Properties

NameTypeDescription
idCharacterThe Intrinio ID for Security  
company_idCharacterThe Intrinio ID for the Company for which the Security is issued  
exchangeCharacterThe exchange's MIC  
exchange_micCharacterThe security's exchange MIC  
stock_exchange_idCharacterThe exchange's Intrinio ID  
nameCharacterThe name of the Security  
codeCharacterA 2-3 digit code classifying the Security (reference)  
currencyCharacterThe currency in which the Security is traded on the exchange  
tickerCharacterThe common/local ticker of the Security  
composite_tickerCharacterThe country-composite ticker of the Security  
figiCharacterThe OpenFIGI identifier  
composite_figiCharacterThe country-composite OpenFIGI identifier  
share_class_figiCharacterThe global-composite OpenFIGI identifier  
primary_listingLogicalIf TRUE, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange