NAME

Finance::TickerSymbols - Perl extension for getting symbols lists from web resources

SYNOPSIS

use Finance::TickerSymbols;
for my $symbol ( symbols_list('all') ) {

   # do something with this $symbol
}

for my $industry ( industries_list()) {

   for my $symbol ( industry_list($symbol) ) {

       # do something with $symbol and $industry

   }
}

DESCRIPTION

get lists of ticker symbols. this list can be used for market queries.

symbols_list

symbols_list( 'nasdaq' | 'amex' | 'nyse' | 'all' ) returns the apropriate array of symbols.

industries_list

industries_list() returns array of industries names.

industry_list

industry_list( $industry_name ) returns array of symbols related with $industry_name

$Finance::TickerSymbols::long

setting $Finance::TickerSymbols::long to non-false would attach company name to each symbol (as "ARTNA:Basin Water, Inc." compare to "ARTNA")

TODO

more markets

SEE ALSO

LWP::Simple
http://quotes.nasdaq.com
http://biz.yahoo.com/ic
Finance::*

AUTHOR

Josef Ezra, <jezra@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Josef Ezra

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

NOTES

- the returned data depends upon availability and format of external web sites. Needless to say, it is not guaranteed.

BUGS, REQUESTS, NICE IMPLEMENTATIONS, ETC.

Please email me about any of the above. I'll be more then happy to share interesting implementation of this module.