1Finance::Quote::TSX(3)User Contributed Perl DocumentationFinance::Quote::TSX(3)
2
3
4

NAME

6       Finance::Quote::TSX - Obtain quotes from the Toronto Stock Exchange.
7

SYNOPSIS

9           use Finance::Quote;
10
11           $q = Finance::Quote->new;
12
13           %stockinfo = $q->fetch("tsx","NT-T");         # Only query TSX.
14           %stockinfo = $q->fetch("canada","NT");  # Failover to other sources OK.
15

DESCRIPTION

17       This module obtains information from the Toronto Stock Exchange through
18       the page http://www.TMXmoney.com/.
19
20       This module is not loaded by default on a Finance::Quote object.  It's
21       possible to load it explicity by placing "TSX" in the argument list to
22       Finance::Quote->new().
23
24       This module provides both the "tsx" and "toronto" fetch methods.
25       Please use the "canada" fetch method if you wish to have failover with
26       other sources for Canadian stocks.  Using the "tsx" method will
27       guarantee that your information only comes from the Toronto Stock
28       Exchange.
29

LABELS RETURNED

31       The following labels are returned by Finance::Quote::TSX: name, last,
32       net, p_change, volume and exchange.
33
34       This module returns less information (labels) than other sources but
35       it's able to retrieve them faster because each HTTP request performed
36       can return up to 10 stocks. Thus, if the labels provided by this module
37       are sufficient for your application then you should give it a try.
38

SEE ALSO

40       Toronto Stock Exchange, http://www.TMXmoney.com/
41
42
43
44perl v5.32.0                      2020-07-28            Finance::Quote::TSX(3)
Impressum