• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Module/H24-Apr-2012-2,2811,705

lib/Finance/TW/H24-Apr-2012-251131

scripts/H24-Apr-2012-8554

t/H24-Apr-2012-115

xt/release/H24-Apr-2012-2622

.perltidyrcH A D24-Apr-2012215 2221

.shipitH A D24-Apr-2012117 32

CHANGESH A D24-Apr-2012390 2211

MANIFESTH A D24-Apr-2012626 2928

META.ymlH A D21-Apr-2012407 1311

Makefile.PLH A D24-Apr-2012355 1713

READMEH A D24-Apr-20121.6 KiB6644

README

1NAME
2    Finance::TW::TSEQuote - Check stock quotes from Taiwan Security Exchange
3
4SYNOPSIS
5        use Finance::TW::TSEQuote;
6
7        my $quote = Finance::TW::TSEQuote->new('2002');
8
9        while (1) { print $quote->get->{MatchPrice}.$/; sleep 30 }
10
11DESCRIPTION
12    This module provides interface to stock information available from
13    Taiwan Security Exchange. You could resolve company name to stock
14    symbol, as well as getting the real time quote.
15
16CLASS METHODS
17    new
18            Create a stock quote object. Resolve the name to symbol
19            if the argument is not a symbol.
20
21    resolve
22            Resolve the company name to stock symbol.
23
24    fetchMarketFile
25            Fetch the Een-Of-Day stock information for specific company
26                by year and month.
27
28    get
29            Get the real time stock information.
30            Return a hash containing stock information. The keys are:
31
32        Bid
33                a hash of array of best 5 matching Sell and Buy bids
34
35        DQty
36                current volume
37
38        MatchQty
39                daily volume
40
41        MatchPrice
42                current price
43
44        OpenPrice
45                opening price
46
47        HighPrice
48                daily high
49
50        LowPrice
51                daily low
52
53AUTHORS
54    Chia-liang Kao <clkao@clkao.org>
55
56    Cheng-Lung Sung
57
58COPYRIGHT
59    Copyright 2003-2012 by Chia-liang Kao <clkao@clkao.org>.
60
61    This program is free software; you can redistribute it and/or modify it
62    under the same terms as Perl itself.
63
64    See <http://www.perl.com/perl/misc/Artistic.html>
65
66