Module Finance::Quote::Yahoo::USA
In: lib/finance/quote/yahoo/usa.rb

Fetch quotes from Yahoo USA.

 require 'finance/quote'

 q = Finance::Quote.new
 qd = q.fetch( 'usa', 'CRM' )

This module provides access to information from a number of exchanges in the USA and Canada, using Yahoo USA as its source. The following exchanges are available:

 canada
 usa
 yahoo
 nyse
 nasdaq
 vanguard
 fidelity

These exchanges all use the same information source and can thus be considered somewhat interchangable. However, yahoo should be passed to fetch if you wish to obtain information from any source that Yahoo tracks.

Note that Yahoo makes no distinction between the various exchanges in the USA and Canada. For example, it is possible to request a stock using the NYSE exchange and obtain data even if that stock does exists on a different exchange from the NYSE.

Information returned by this module may be subject to Yahoo‘s terms and conditions. See finance.yahoo.com/ for more information.

Methods

Constants

YAHOO_URL = 'http://download.finance.yahoo.com/d'   URL from where to obtain information.
YIELD_FUNDS = { :FDRXX => 1, :FDTXX => 1, :FGMXX => 1, :FRTXX => 1, :SPRXX => 1, :SPAXX => 1, :FDLXX => 1, :FGRXX => 1  

Public Instance methods

[Validate]