Finance::QuoteDB - User database tools based on Finance::Quote


Finance-QuoteDB documentation  | view source Contained in the Finance-QuoteDB distribution.

Index


NAME

Top

Finance::QuoteDB - User database tools based on Finance::Quote

SYNOPSIS

Top

Please take a look at script/fqdb which is the command-line frontend to Finance::QuoteDB.

METHODS

Top

new

new({dsn=>$dsn})

createdb

createdb()

updatedb

updatedb()

updatedbMarketStock

updatedbMarketStock($market,\%symbolIDs)

backpopulate

backpopulate($start_date, $end_date, $overwrite, $stocks)

delstock

delstock($stocks)

addstock

addstock($market,$stocks)

$stocks is in the format FQsymbol[USERsymbol],... If USERsymbol is ommitted then USERsymbol will be set to FQsymbol

getquotes

getquotes( $USERsymbols, $date_start [,$date_end] )

This function returns quotes between $date_start and $date_end for the specified user symbols (comma separated list). Range will be one day if $date_end is omitted.

dumpquotes

dumpquotes ( $USERsymbols, $date_start [,$date_end] )

This function dumps quotes between $date_start and $date_end for the specified user symbols (comma separated list). Range will be one day if $date_end is omitted.

dumpstocks

dumpstocks ()

This function dumps the symbols of the stocks in the database.

add_yahoo_stocks

add_yahoo_stocks( $exchanges , [ $refsearchlist ] )

retrieves yahoo tickers for specified exchanges and stores them in your database NOTE: $exchanges being the ID as coming from yahoo. NYQ for Nyse, PAR for Paris $refsearchlist is an optional reference to a list of search patterns. defaults to [**AA .. **ZZ]

schema

schema()

If necessary, creates a DBIx::Class::Schema and returns a reference to that DBIx::Class::Schema.

today

today()

returns current date in isodate format

AUTHOR

Top

Erik Colson, <eco at ecocode.net>

BUGS

Top

Please report any bugs or feature requests to bug-finance-quotedb at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Finance-QuoteDB. I will be notified, and you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Finance::QuoteDB




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Finance-QuoteDB

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Finance-QuoteDB

* CPAN Ratings

http://cpanratings.perl.org/d/Finance-QuoteDB

* Search CPAN

http://search.cpan.org/dist/Finance-QuoteDB

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Finance-QuoteDB documentation  | view source Contained in the Finance-QuoteDB distribution.