All End of Day Index Prices

All End of Day Index Prices Ruby API Documentation

API Class:
Intrinio::IndexApi
Instance Method:
get_all_eod_index_prices()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
index_api = Intrinio::IndexApi.new
opts = {
page_size: 100,
start_date: nil,
end_date: nil
}
result = index_api.get_all_eod_index_prices(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
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
Intrinio::ApiResponseEodIndexPricesAll

Properties

NameTypeDescription
pricesArray 
next_pageStringThe token required to request the next page of the data. If null, no further results are available.  
object
Intrinio::EodIndexPrice

Properties

NameTypeDescription
indexApiResponseIndexThe index  
closeFloatThe close price  
openFloatThe open price  
highFloatThe high price  
lowFloatThe low price  
volumeIntegerThe volume  
dateDateThe date of the pricing data.  
object
Intrinio::ApiResponseIndex

Properties

NameTypeDescription
symbolStringThe index symbol  
nameStringThe index name