Finance::Quote::ASX - Obtain quotes from the Australian Stock Exchange.
$q = Finance::Quote->new;
%stockinfo = $q->fetch("asx","BHP"); # Only query ASX.
%stockinfo = $q->fetch("australia","BHP"); # Failover to other sources OK.
This module obtains information from the Australian Stock Exchange http://www.asx.com.au/. Data for all Australian listed securities and indices is available. Indexes start with the letter 'X'. For example, the All Ordinaries is "XAO". But some securities also start with the letter 'X'.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing "ASX" in the argument list to Finance::Quote->new().
This module provides both the "asx" and "australia" fetch methods. Please use the "australia" fetch method if you wish to have failover with other sources for Australian stocks (such as Yahoo). Using the "asx" method will guarantee that your information only comes from the Australian Stock Exchange.
Information returned by this module is governed by the Australian Stock Exchange's terms and conditions.
The following labels may be returned by Finance::Quote::ASX: bid, offer, open, high, low, last, net, p_change, volume, and price.
Australian Stock Exchange, http://www.asx.com.au/
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.