Finance::Quote::HEX - Obtain quotes from the Helsinki Stock Exchange.
use Finance::Quote; $q = Finance::Quote->new; %stockinfo = $q->fetch("hex","NOK1V"); # Only query ASX. %stockinfo = $q->fetch("finland","NOK1V"); # Failover to other sources OK.
This module obtains information from the Helsinki Stock Exchange http://www.hex.com/. All Finnish stocks are available.
This module is not loaded by default on a Finance::Quote object. It's possible to load it explicity by placing "HEX" in the argument list to Finance::Quote->new().
This module provides both the "hex" and "finland" fetch methods. Please use the "finland" fetch method if you wish to have failover with other sources for Finnish stocks. Using the "hex" method will guarantee that your information only comes from the Helsinki Stock Exchange.
The following labels may be returned by Finance::Quote::HEX: name, last, high, low, date, time, p_change, volume, bid, ask, price, method and exchange.
Helsinki Stock Exchange, http://www.hex.com/
To install Finance::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Quote
CPAN shell
perl -MCPAN -e shell install Finance::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.