Scroll to navigation

Finance::Quote::TMX(3pm) User Contributed Perl Documentation Finance::Quote::TMX(3pm)

NAME

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

SYNOPSIS

    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

DESCRIPTION

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().

LABELS RETURNED

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

TERMS & CONDITIONS

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.

2024-01-01 perl v5.36.0