Company metrics by Company

Company metrics by Company Python API Documentation

Returns the latest company metrics.

API Class:
CompanyApi
Instance Method:
get_company_daily_metrics()

Stock Price Code Example

Use my API Key
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
on_date = '2013-10-20'
page_size = 100
next_page = ''
next_page2 = ''
response = intrinio.CompanyApi().get_company_daily_metrics(identifier, on_date=on_date, page_size=page_size, next_page=next_page, next_page2
  =next_page2)
print(response)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierstrA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
on_datedateDate of the metric[optional]  
page_sizeintThe number of results to return[optional] [default to 100]  
next_pagestrGets the next page of data from a previous API call[optional]  
next_page2strGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseCompanyDailyMetrics

Properties

NameTypeDescription
daily_metricslist[CompanyDailyMetric] 
next_pagestrThe token required to request the next page of the data. If null, no further results are available.  
object
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
CompanySummary

Properties

NameTypeDescription
idstrThe Intrinio ID of the company  
tickerstrThe stock market ticker symbol associated with the company's common stock securities  
namestrThe company's common name  
leistrThe Legal Entity Identifier (LEI) assigned to the company  
cikstrThe Central Index Key (CIK) assigned to the company