The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Finance::YahooQuote Build Status License

Finance::YahooQuote is a Perl 5 module that will pull one or more stock quotes from Yahoo! Finance. It was written by Dj Padzensky, and is now maintained by Dirk Eddelbuettel. See the files CHANGES.old for DJ's log of changes, and ChangeLog for changes since Dirk took over.

Yahoo! Status

Important Note: As of November 2017, Yahoo! no longer support this interface, so the module ceases to be of any use or value. An epic 20-year run has come to an end. Consider this repo to be of historic value only.

CPAN

The package is also available from CPAN via this page.

Source Installation

Once the archive has been unpacked, the following steps are needed to build and install the module (to be done in the directory which contains the Makefile.PL)

perl Makefile.PL
make

A few simple tests are provided. Please note that the second test may fail if your internet connection is down, requires a proxy or if Yahoo! is down. That said,

make test

can be used to test the integrity of the module prior to installation.

If the build and test succeed, install it with the following command:

make install

An example script is installed as yahooquote. Two more example scripts are include to help examine available services at different Yahoo! servers, and to examine the possible mapping between stock symbols for a given company.

Binary Installation

For Debian and derivatives such as Ubuntu, a package is available via

sudo apt-get install libfinance-yahooquote-perl

For Windows users, ActiveState does maintain a pre-build package that can be installed with their ppm tool

Status

The package is in maintenance mode. Bugs are being fixed, but additions of new functionality are unlikely.

License

GPL (>= 2)

Authors

DJ Padzensky and Dirk Eddelbuettel

Maintainer

Dirk Eddelbuettel