Finance::NASDAQ::Quote - Fetch real time stock quotes from nasdaq.com
Version 0.07
Fetch real time stock quotes from nasdaq.com
use Finance::NASDAQ::Quote qw/getquote/; my %quote = getquote('F'); my $text = getquote('V');
None by default.
In list context, returns a hash containing the price, net change, percent change, sign ('+' or '-'), and volume for stock SYMBOL, or an empty list on error.
In scalar context, returns a formatted string suitable for human consumption, or undef on error.
Ian Kilgore, <iank at cpan.org>
<iank at cpan.org>
nasdaq.com (and hence getquote) returns curiously formatted strings, rather than numbers. getquote should 'numify' these.
It is likely that nasdaq.com will be changing their site some time in 2009. Watch for updates.
The module lacks many tests. getquote could be made more modular so as to avoid requiring an internet connection to test it.
Please report any bugs or feature requests to bug-finance-nasdaq-quote at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Finance-NASDAQ-Quote. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-finance-nasdaq-quote at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Finance::NASDAQ::Quote
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Finance-NASDAQ-Quote
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Finance-NASDAQ-Quote
CPAN Ratings
http://cpanratings.perl.org/d/Finance-NASDAQ-Quote
Search CPAN
http://search.cpan.org/dist/Finance-NASDAQ-Quote/
Copyright 2008 Ian Kilgore, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Finance::NASDAQ::Quote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::NASDAQ::Quote
CPAN shell
perl -MCPAN -e shell install Finance::NASDAQ::Quote
For more information on module installation, please visit the detailed CPAN module installation guide.