Finance::TW::TSEQuote - Check stock quotes from Taiwan Security Exchange
use Finance::TW::TSEQuote; my $quote = Finance::TW::TSEQuote->new('2002'); while (1) { print $quote->get->{MatchPrice}.$/; sleep 30 }
This module provides interface to stock information available from Taiwan Security Exchange. You could resolve company name to stock symbol, as well as getting the real time quote.
Create a stock quote object. Resolve the name to symbol if the argument is not a symbol.
Resolve the company name to stock symbol.
Fetch the Een-Of-Day stock information for specific company by year and month.
Get the real time stock information. Return a hash containing stock information. The keys are:
a hash of array of best 5 matching Sell and Buy bids
current volume
daily volume
current price
opening price
daily high
daily low
Chia-liang Kao <clkao@clkao.org>
Cheng-Lung Sung
Copyright 2003-2012 by Chia-liang Kao <clkao@clkao.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Finance::TW::TSEQuote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::TW::TSEQuote
CPAN shell
perl -MCPAN -e shell install Finance::TW::TSEQuote
For more information on module installation, please visit the detailed CPAN module installation guide.