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

Finance::Quote::TSX - Obtain quotes from the Toronto Stock Exchange (https://money.tmx.com)

    use Finance::Quote;
    $q = Finance::Quote->new;
    %stockinfo = $q->fetch('tmx','NT-T');   # Only query TMX
    %stockinfo = $q->fetch('canada','NT');  # Failover to other Canadian sources

This module obtains information from the Toronto Stock Exchange, https://money.tmx.com.

This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by placing 'TMX' in the argument list to Finance::Quote->new().

The following labels are returned by Finance::Quote::TMX: name, exchange, volume, open, high, low, cap, close, year_range, symbol

Use of money.tmx.com is governed by any terms & conditions of that site and its data provider quotemedia.com.

Finance::Quote is released under the GNU General Public License, version 2, which explicitly carries a "No Warranty" clause.

2021-03-28 perl v5.32.1