DOKK / manpages / debian 10 / libfinance-quote-perl / Finance::Quote::HEX.3pm.en
Finance::Quote::HEX(3pm) User Contributed Perl Documentation Finance::Quote::HEX(3pm)

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 explicitly 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/

2017-11-24 perl v5.26.1