Class: YahooFinance::FinancialStatement::AnnualIncomeStatementPage

Inherits:
FinancialStatementPage show all
Defined in:
lib/yahoo_finance/financial_statement.rb

Instance Attribute Summary

Attributes inherited from FinancialStatementPage

#symbol

Instance Method Summary collapse

Methods inherited from FinancialStatementPage

#available_fields, #fetch, #statement_periods, #term=, #value_for

Constructor Details

#initialize(symbol = nil) ⇒ AnnualIncomeStatementPage

Returns a new instance of AnnualIncomeStatementPage.



274
275
276
277
278
279
280
# File 'lib/yahoo_finance/financial_statement.rb', line 274

def initialize symbol = nil
  super symbol
  @term = :annual
  @data_columns = 3
  @type="is"
  @field_defs = YahooFinance::FinancialStatement::INCOME_STMT_FIELDS
end