All Companies daily metrics

All Companies daily metrics Ruby API Documentation

Returns the company metrics for a date.

API Class:
Intrinio::CompanyApi
Instance Method:
get_all_companies_daily_metrics()

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
company_api = Intrinio::CompanyApi.new
opts = {
on_date: Date.parse("2013-10-20"),
page_size: 100,
next_page: nil,
next_page2: nil
}
result = company_api.get_all_companies_daily_metrics(opts)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
on_dateDateDate of the metric[optional]  
page_sizeIntegerThe number of results to return[optional] [default to 100]  
next_pageStringGets the next page of data from a previous API call[optional]  
next_page2StringGets the next page of data from a previous API call[optional]  

Return Type

object
Intrinio::ApiResponseCompanyDailyMetrics

Properties

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

Properties

NameTypeDescription
dateDateTimeThe date of the metric  
enterprise_valueFloatThe enterprise value.  
ev_to_ebitFloatThe enterprise value to earnings before interest and taxes ratio.  
ev_to_ebitdaFloatThe enterprise value to earnings before interest, taxes, depreciation, and amoritization ratio.  
market_capFloatThe market cap.  
price_to_bookFloatThe price to book ratio.  
price_to_earningsFloatThe price to earnings ratio.  
price_to_revenueFloatThe price to revenue ratio.  
price_to_tangible_bookFloatThe price to tangible book ratio.  
dividend_yieldFloatThe dividend yield.  
earnings_yieldFloatThe earnings yield.  
ev_to_invested_capitalFloatThe enterprise value to invested capital ratio.  
ev_to_revenueFloatThe enterprise value to revenue ratio.  
ev_to_nopatFloatThe enterprise value to normalized operating profit after tax ratio.  
ev_to_ocfFloatThe enterprise value to operating cash flow ratio.  
ev_to_fcffFloatThe enterprise value to free cash flow to the firm ratio.  
companyCompanySummary 
object
Intrinio::CompanySummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the company  
tickerStringThe stock market ticker symbol associated with the company's common stock securities  
nameStringThe company's common name  
leiStringThe Legal Entity Identifier (LEI) assigned to the company  
cikStringThe Central Index Key (CIK) assigned to the company