End of Day Index Prices By Identifier

End of Day Index Prices By Identifier R API Documentation

API Class:
IntrinioSDK::IndexApi
Instance Method:
get_eod_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"
# Optional params
opts <- list(
page_size = 100,
start_date = NULL,
end_date = NULL
)
response <- IndexApi$get_eod_index_price_by_id(identifier, opts)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierCharacterThe index symbol 
page_sizeIntegerThe number of results to return[optional] [default to 100]  
start_dateDateLimit prices to those on or after this date[optional]  
end_dateDateLimit prices to those on or before this date[optional]  


Return Type

object
IntrinioSDK::ApiResponseEodIndexPrices

Properties

NameTypeDescription
pricesList of EodIndexPriceSummary 
prices_data_frameData FrameData frame representation of prices
indexApiResponseIndexThe index  
next_pageCharacterThe token required to request the next page of the data. If null, no further results are available.  
object
IntrinioSDK::EodIndexPriceSummary

Properties

NameTypeDescription
closeNumericThe close price  
openNumericThe open price  
highNumericThe high price  
lowNumericThe low price  
volumeIntegerThe volume  
dateDateThe date of the pricing data.  
object
IntrinioSDK::ApiResponseIndex

Properties

NameTypeDescription
symbolCharacterThe index symbol  
nameCharacterThe index name