Realtime Index Price By Identifier

Realtime Index Price By Identifier R API Documentation

API Class:
IntrinioSDK::IndexApi
Instance Method:
get_realtime_index_price_by_id()

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
IndexApi <- IntrinioSDK::IndexApi$new(client)
# Required params
identifier <- "SPX"
response <- IndexApi$get_realtime_index_price_by_id(identifier)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierCharacterThe index symbol 


Return Type

object
IntrinioSDK::RealtimeIndexPrice

Properties

NameTypeDescription
last_priceNumericThe last price  
last_timePOSIXltThe timestamp of the last price  
indexRealtimeIndexPriceIndex