Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Fiance::NikkeiQuote 0.5.1

    Download button

    No screenshots available
    Downloads: 374  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Keiichi Daiba | More programs
    Perl Artistic License / FREE
    September 25th, 2007, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Fiance::NikkeiQuote description

    Fiance::NikkeiQuote can get a stock quote from Nihon Keizai Shimbun, Inc. (Nikkei).

    Fiance::NikkeiQuote can get a stock quote from Nihon Keizai Shimbun, Inc. (Nikkei).

    SYNOPSIS

    use Finance::NikkeiQuote;
    # For example, it's a sony ;-)
    my $sony = Finance::NikkeiQuote->new(6758);
    # Set proxy, if you need
    $sony->proxy('http://proxy.foo.co.jp:8080');
    print "Name : ",($sony->getinfo)[1],"n";
    print "Current Price: ",($sony->gettoday)[3],"n";
    # 25days Range of stock prices;
    map{map{print $_,','}@$_;print "n"}@{$sony->getrange25};

    This module gets stock quote from Nikkei. The new constructor will return a Finance::NikkeiQuote object, while the proxy method to use proxy server. The return value of getinfo method is an array, with the following elements:

    0 company name in Japanese
    1 company name in English

    The return value of gettoday method is an array, with the following elements:

    0 Open Price
    1 High Price
    2 Low Price
    3 Current Price
    4 Volume

    The getrange25 method returns an array of pointers to arryas with the following elements:

    0 Date
    1 Open Price
    2 High Price
    3 Low Price
    4 Close Price
    5 Volume

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    stock quote | Nihon Keizai Shimbun | Perl module | stock | quote | Nikkei

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM