Lookup Economic Index

Lookup Economic Index Ruby API Documentation

Returns reference data for a specified Federal Reserve Economic Data (FRED) series ID.

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

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
identifier = "$GDP"
result = index_api.get_economic_index_by_id(identifier)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringAn Index Identifier (symbol, Intrinio ID) 

Return Type

object
Intrinio::EconomicIndex

Properties

NameTypeDescription
idStringThe Intrinio ID for the Index  
symbolStringThe symbol used to identify the Index  
nameStringThe name of the Index  
continentStringThe continent of the country of focus for the Index  
countryStringThe country of focus for the Index  
update_frequencyStringHow often the Index is updated  
last_updatedDateTimeWhen the Index was updated last  
descriptionStringA paragraph describing the index and its scope  
observation_startDateThe earliest date for which data is available  
observation_endDateThe latest date for which data is available  
seasonal_adjustmentStringWhether the data is adjusted to account for seasonality  
unitsStringThe units of the data