Module: YahooFinance::FinancialStatement

Defined in:
lib/yahoo_finance/financial_statement.rb

Defined Under Namespace

Classes: AnnualBalanceSheetPage, AnnualCashFlowStatementPage, AnnualIncomeStatementPage, FinancialStatementPage, QuarterlyBalanceSheetPage, QuarterlyCashFlowStatementPage, QuarterlyIncomeStatementPage

Constant Summary collapse

INCOME_STMT_FIELDS =
{
  :statement_periods => ['Period Ending', "Ending date per period"],
  :total_revenue => ['Total Revenue', "Total Revenue (per period)"],
  :cost_of_revenue => ['Cost of Revenue', 'Cost of Revenue (per period)'],
  :gross_profit => ['Gross Profit', 'Gross profit (per period)'],
  :research_development => ['Research Development', 'Research and Development (per period)'],
  :selling_general_and_administrative => ['Selling General and Administrative', 'Selling General and Administrative (per period)'],
  :non_recurring => ['Non Recurring', 'Non Recurring (per period)'],
  :other_expenses => ['Others', 'Other expenses (per period)'],
  :total_operating_expenses => ['Total Operating Expenses', 'Total Operating Expenses (per period)'],
  :operating_income_or_loss => ['Operating Income or Loss', 'Operating Income or Loss (per period)'],
  :total_other_income_expenses_net => ['Total Other Income/Expenses Net', 'Total Other Income/Expenses Net (per period)'],
  :EBIT => ['Earnings Before Interest And Taxes', '	Earnings Before Interest And Taxes (per period)'],
  :interest_expense => ['Interest Expense', 'Interest Expense (per period)'],
  :income_before_tax => ['Income Before Tax', 'Income Before Tax (per period)'],
  :income_tax_expense => ['Income Tax Expense', 'Income Tax Expense (per period)'],
  :minority_interest => ['Minority Interest', 'Minority Interest (per period)'],
  :net_income_from_continuing_operations => ['Net Income From Continuing Ops', 'Net Income From Continuing Ops (per period)'],
  :discontinued_operations => ['Discontinued Operations', 'Discontinued Operations (per period)'],
  :extraordinary_items =>['Extraordinary Items', 'Extraordinary Items (per period)'],
  :effect_of_accounting_changes => ['Effect Of Accounting Changes', 'Effect Of Accounting Changes (per period)'],
  :other_items => ['Other Items', 'Other Items (per period)'],
  :net_income => ['Net Income', 'Net Income (per period)'],
  :preferred_stock_and_other_adjustments => ['Preferred Stock And Other Adjustments', 'Preferred Stock And Other Adjustments (per period)'],
  :net_income_applicable_to_common_shares => ['Net Income Applicable To Common Shares', 'Net Income Applicable To Common Shares (per period)']
}
BALANCE_SHEET_FIELDS =
{
  :statement_periods => ['Period Ending', "Ending date per period"],
  :cash_and_cash_equivalents => ['Cash And Cash Equivalents', 'Cash And Cash Equivalents'],
  :short_term_investments => ['Short Term Investments', '	Short Term Investments'],
  :net_receivables => ['Net Receivables', 'Net Receivables'],
  :inventory => ['Inventory', 'Inventory'],
  :other_current_assets => ['Other Current Assets', 'Other Current Assets'],
  :total_current_assets => ['Total Current Assets', 'Total Current Assets'],
  :long_term_investments => ['Long Term Investments', 'Long Term Investments'],
  :property_plant_and_equipment => ['Property Plant and Equipment', 'Property Plant and Equipment'],
  :goodwill => ['Goodwill', 'Goodwill'],
  :intangible_assets => ['Intangible Assets', 'Intangible Assets'],
  :accumulated_amortization => ['Accumulated Amortization', 'Accumulated Amortization'],
  :other_assets => ['Other Assets', 'Other Assets'],
  :deferred_long_term_asset_charges => ['Deferred Long Term Asset Charges', 'Deferred Long Term Asset Charges'],
  :total_assets => ['Total Assets', 'Total Assets'],
  :accounts_payable => ['Accounts Payable', 'Accounts Payable'],
  :short_current_long_term_debt => ['Short/Current Long Term Debt', 'Short/Current Long Term Debt'],
  :other_current_liabilities => ['Other Current Liabilities', 'Other Current Liabilities'],
  :total_current_liabilities => ['Total Current Liabilities', 'Total Current Liabilities'],
  :long_term_debt => ['Long Term Debt', 'Long Term Debt'],
  :other_liabilities => ['Other Liabilities', 'Other Liabilities'],
  :deferred_long_term_liability_charges => ['Deferred Long Term Liability Charges', 'Deferred Long Term Liability Charges'],
  :minority_interest => ['Minority Interest', 'Minority Interest'],
  :negative_goodwill => ['Negative Goodwill', 'Negative Goodwill'],
  :total_liabilities => ['Total Liabilities', 'Total Liabilities'],
  :misc_stocks_options_warrants => ['Misc Stocks Options Warrants', 'Misc Stocks Options Warrants'],
  :redeemable_preferred_stock => ['Redeemable Preferred Stock', 'Redeemable Preferred Stock'],
  :preferred_stock => ['Preferred Stock', 'Preferred Stock'],
  :common_stock => ['Common Stock', 'Common Stock'],
  :retained_earnings => ['Retained Earnings', 'Retained Earnings'],
  :treasury_stock => ['Treasury Stock', 'Treasury Stock'],
  :capital_surplus => ['Capital Surplus', 'Capital Surplus'],
  :other_stockholder_equity => ['Other Stockholder Equity', 'Other Stockholder Equity'],
  :total_stockholder_equity => ['Total Stockholder Equity', 'Total Stockholder Equity'],
  :net_tangible_assets => ['Net Tangible Assets', 'Net Tangible Assets']
}
CASH_FLOW_STMT_FIELDS =
{
  :statement_periods => ['Period Ending', "Ending date per period"],
  :net_income => ['Net Income', 'Net Income'],
  :depreciation => ['Depreciation', 'Depreciation'],
  :adjustments_to_net_income => ['Adjustments To Net Income','Adjustments To Net Income'],
  :changes_in_accounts_receivables => ['Changes In Accounts Receivables', 'Changes In Accounts Receivables'],
  :changes_in_liabilities => ['Changes In Liabilities','Changes In Liabilities'],
  :changes_in_inventories => ['Changes In Inventories', 'Changes In Inventories'],
  :changes_in_other_operating_activities => ['Changes In Other Operating Activities', 'Changes In Other Operating Activities'],
  :total_cash_flow_from_operating_activities => ['Total Cash Flow From Operating Activities', 'Total Cash Flow From Operating Activities'],
  :capital_expenditures => ['Capital Expenditures', 'Capital Expenditures'],
  :investments => ['Investments', 'Investments'],
  :other_cash_flows_from_investing_activities => ['Other Cash flows from Investing Activities', 'Other Cash flows from Investing Activities'],
  :total_cash_flows_from_investing_activities => ['Total Cash Flows From Investing Activities', 'Total Cash Flows From Investing Activities'],
  :dividends_paid => ['Dividends Paid', 'Dividends Paid'],
  :sale_purchase_of_stock => ['Sale Purchase of Stock', 'Sale Purchase of Stock'],
  :net_borrowings => ['Net Borrowings', 'Net Borrowings'],
  :other_cash_flows_from_financing_activities => ['Other Cash Flows from Financing Activities', 'Other Cash Flows from Financing Activities'],
  :total_cash_flows_from_financing_activities => ['Total Cash Flows From Financing Activities', 'Total Cash Flows From Financing Activities'],
  :effect_of_exchange_rate_changes => ['Effect Of Exchange Rate Changes', 'Effect Of Exchange Rate Changes'],
  :change_in_cash_and_cash_equivalents => ['Change In Cash and Cash Equivalents', 'Change In Cash and Cash Equivalents']
}