Module: YahooFinance::KeyStatistics

Defined in:
lib/yahoo_finance/key_statistics.rb

Defined Under Namespace

Classes: StatsPage

Constant Summary collapse

AVL_KEY_STATS =
{
  # String_to_parse, Description, Source Value format factor (some values are in % but dont't show %)
  :market_cap => ['Market Cap ', "Market Cap, intraday"],
  :enterprise_value => ['Enterprise Value ', "Enterprise Value"],
  :enterprise_value_to_ebitda => ['Enterprise Value\/EBITDA \(ttm\)', "Enterprise Value/EBITDA"],
  :ebitda => ['EBITDA \(ttm\)', 'Earnings before Income/Taxes/Depreciation'],
  :trailing_pe => ['Trailing P\/E \(ttm\, intraday\)\:', "Trailing PE, trailing twelve months, intraday (based on price)"],
  :forward_pe => ['Forward P\/E ', "Forward P/E"],
  :peg_ratio => ['PEG Ratio ', "PEG Ratio (5 year expected (forward looking))"],
  :price_to_sales_ttm => ['Price\/Sales \(ttm\)\:', "Price/Sales, trailing 12 months"],
  :price_to_book_mrq => ['Price\/Book \(mrq\):', "Price/Book, most recent quarter"],
  :roa_ttm => ['Return on Assets \(ttm\)\:', "Return on Assets, trailing twelve months"],
  :roe_ttm => ['Return on Equity \(ttm\)\:', "Return on Equity, trailing twelve months"],
  # Income Statement
  :revenue_ttm => ['Revenue \(ttm\)\:', "Revenue, trailing twelve months"],
  :revenue_per_share_ttm => ['Revenue Per Share \(ttm\)\:', "Revenue per share, trailing twelve months"],
  :qtrly_revenue_growth_yoy => ['Qtrly Revenue Growth \(yoy\)\:', "Quarterly Revenue Growth, year on year"],
  :diluted_eps_ttm => ['Diluted EPS \(ttm\)\:', "Diluted Earnings per share, trailing twelve months"],
  :qtrly_earnings_growth_yoy => ['Qtrly Earnings Growth \(yoy\)\:', "Quarterly Earnings Growth, year on year"],
  # Balance Sheet
  :total_cash_mrq => ['Total Cash \(mrq\)\:', "Total Cash, most recent quarter"],
  :total_cash_per_share_mrq => ['Total Cash Per Share \(mrq\)\:', "Total Cash per Share, most recent quarter"],
  :total_debt_mrq => ['Total Debt (mrq):', "Total Debt, most recent quarter"],
  :total_debt_to_equity_mrq => ['Total Debt/Equity \(mrq\)\:', "Total Debt/Equity (expressed as a percentage), most recent quarter", 0.01],
  :current_ratio_mrq => ['Current Ratio \(mrq\)\:', "Total Current Assets / Total Current Liabilities, most recent quarter"],
  :book_value_per_share_mrq => ['Book Value Per Share \(mrq\)\:', "Total Common Equity / Total Common Shares Outstanding, most recent quarter"],
  # Trading additional info:
  :beta => ['Beta\:', "Equity monthly beta relative to S&P500. Uses 36 months when available."],
  # Share Statistics
  :shares_outstanding => ['Shares Outstanding', "Number of outstanding shares"],
  :pcnt_held_by_insiders => ['\% Held by Insiders', "Percent of shares held by insiders (returned as a fraction of 1)"],
  :pcnt_held_by_institutions => ['\% Held by Institutions', "Percent of shares held by institutions (returned as a fraction of 1)"],
  :pcnt_short_of_float => ['Short % of Float \(', "Percent of shares shorted relative to total (returned as a fraction of 1)"],
  # Cash Flow
  :operating_cash_flow_ttm => ['Operating Cash Flow \(ttm\)\:', "Operating cash flow, trailing twelve months"],
  :levered_cash_flow_ttm => ['Levered Free Cash Flow \(ttm\)\:', "Levered Free Cash Flow, trailing 12 months: (EBIT + Interest Expense) x (1 x Tax Rate) + Depreciation & Amort., Total + Other Amortization + Capital Expenditure + Sale (Purchase) of Intangible assets - Change in Net Working Capital + Pref. Dividends Paid + Total Debt Repaid + Total Debt Issued + Repurchase of Preferred + Issuance of Preferred Stock"]
  # ,
  # # Profitability
  # :Profit_Margin,
  # :Operating_Margin,
  # # Mgt Effectiveness
  # :Return_on_Assets,
  # :Return_on_Equity,
  # # Income Stmt
  # :Qtrly_Revenue_Growth_yoy,
  # :EBITDA,
  # :Qtrly_Earnings_Growth_yoy,
  # # Balance Sheet
  # :Total_Cash_mrq,
  # :Total_Debt_mrq,
  # :Total_Debt_to_Equity_mrq,
  # :Book_Value_per_share_mrq,
  # :Total_Assets_to_Total_Liabilities,
  # # Shares
  # :Shares_Outstanding,
  # :Pcnt_Shares_Held_by_Insiders,
  # :Pcnt_Shares_Held_by_Institutions,
  # :Shares_Short,
  # :Shares_Short_Date,
  # :Short_Ratio,
  # :Shares_Short_prior_month,
  # # Dividends
  # :Fwd_Annual_Dividend_Yield,
  # :Trailing_Annual_Dividend_Yield,
  # :Five_Year_Average_Dividend_Yield,
  # :Next_Ex_Dividend_Date,
  # :Next_Dividend_Date
}

Class Method Summary collapse

Class Method Details

.key_stats_availableObject

, # Profitability :Profit_Margin, :Operating_Margin, # Mgt Effectiveness :Return_on_Assets, :Return_on_Equity, # Income Stmt :Qtrly_Revenue_Growth_yoy, :EBITDA, :Qtrly_Earnings_Growth_yoy, # Balance Sheet :Total_Cash_mrq, :Total_Debt_mrq, :Total_Debt_to_Equity_mrq, :Book_Value_per_share_mrq, :Total_Assets_to_Total_Liabilities, # Shares :Shares_Outstanding, :Pcnt_Shares_Held_by_Insiders, :Pcnt_Shares_Held_by_Institutions, :Shares_Short, :Shares_Short_Date, :Short_Ratio, :Shares_Short_prior_month, # Dividends :Fwd_Annual_Dividend_Yield, :Trailing_Annual_Dividend_Yield, :Five_Year_Average_Dividend_Yield, :Next_Ex_Dividend_Date, :Next_Dividend_Date



74
75
76
# File 'lib/yahoo_finance/key_statistics.rb', line 74

def KeyStatistics.key_stats_available
  return AVL_KEY_STATS.keys;
end