Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Finance::Quote 1.16

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Finance::Quote Team | More programs
    Perl Artistic License / FREE
    April 13th, 2009, 20:54 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Finance::Quote description

    Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges.

    Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges.

    SYNOPSIS

    use Finance::Quote;
    $q = Finance::Quote->new;

    $q->timeout(60);

    $conversion_rate = $q->currency("AUD","USD");
    $q->set_currency("EUR"); # Return all info in Euros.

    $q->require_labels(qw/price date high low volume/);

    $q->failover(1); # Set failover support (on by default).

    %quotes = $q->fetch("nasdaq",@stocks);
    $hashref = $q->fetch("nyse",@stocks);

    This module gets stock quotes from various internet sources, including Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange. There are two methods of using this module -- a functional interface that is depreciated, and an object-orientated method that provides greater flexibility and stability.

    With the exception of straight currency exchange rates, all information is returned as a two-dimensional hash (or a reference to such a hash, if called in a scalar context). For example:

    %info = $q->fetch("australia","CML");
    print "The price of CML is ".$info{"CML","price"};

    The first part of the hash (eg, "CML") is referred to as the stock. The second part (in this case, "price") is referred to as the label.

    Product's homepage

    Requirements:

    · Perl

    What's New in This Release: [ read full changelog ]

    · IndiaMutual.pm : symbol not set in module. Bug corrected by Ajay M
    · BUG correction : function isoTime - make sure $hours and $mins are treated as numbers

      


    TAGS:

    fund quotes | get stock | various exchanges | Finance::Quote | mutual | stock

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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