Class: YahooFinance::StandardQuote

Inherits:
BaseQuote
  • Object
show all
Defined in:
lib/yahoofinance.rb

Instance Method Summary collapse

Methods inherited from BaseQuote

#load_quote, #to_s, #valid?

Constructor Details

#initialize(valarray = nil) ⇒ StandardQuote

Returns a new instance of StandardQuote.



323
324
325
# File 'lib/yahoofinance.rb', line 323

def initialize( valarray=nil )
  super( YahooFinance::STDHASH, valarray )
end

Instance Method Details

#get_infoObject



327
328
329
# File 'lib/yahoofinance.rb', line 327

def get_info()
  "#{symbol} : #{lastTrade} : #{changePoints} (#{changePercent})"
end