Finance::Quote::TSX - Obtain quotes from the Toronto Stock Exchange (https://money.tmx.com)
$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, last, p_change
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.
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.