这是indexloc提供的服务,不要输入任何密码
Skip to content

clsung/Finance-TW-TSEQuote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    Finance::TW::TSEQuote - Check stock quotes from Taiwan Security Exchange

SYNOPSIS
        use Finance::TW::TSEQuote;

        my $quote = Finance::TW::TSEQuote->new('2002');

        while (1) { print $quote->get->{MatchPrice}.$/; sleep 30 }

DESCRIPTION
    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.

CLASS METHODS
    new
            Create a stock quote object. Resolve the name to symbol
            if the argument is not a symbol.

    resolve
            Resolve the company name to stock symbol.

    get
            Get the real time stock information.
            Return a hash containing stock information. The keys are:

        Bid
                a hash of array of best 5 matching Sell and Buy bids

        DQty
                current volume

        MatchQty
                daily volume

        MatchPrice
                current price

        OpenPrice
                opening price

        HighPrice
                daily high

        LowPrice
                daily low

AUTHORS
    Chia-liang Kao <clkao@clkao.org>

COPYRIGHT
    Copyright 2003 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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%