Module | Finance::Quote::Yahoo::Australia |
In: |
lib/finance/quote/yahoo/australia.rb
|
require 'finance/quote' q = Finance::Quote.new qd = q.fetch( 'australia', 'BHP' ) qd = q.fetch( 'yahoo_australia', 'BHP' ) # alternative form
This module allows the fetching of information about stocks traded on the Australian Stock Exchange. Information about indexes (such as the All Ordinaries) is not available through this module.
Stocks are returned in Australian dollars. You can set the @currency attribute of your Finance::Quote object to change the currency in which information is returned.
Information obtained via this module is governed by Yahoo‘s terms and conditions, see au.finance.yahoo.com/ for more details.
YAHOO_AUSTRALIA_URL | = | 'http://au.finance.yahoo.com/d/quotes.csv' | URL from where to obtain information. |