App-Chart
view release on metacpan or search on metacpan
lib/App/Chart/Database.pm view on Meta::CPAN
=over 4
=item C<< App::Chart::Database->symbol_exists ($symbol) >>
Return true if C<$symbol> exists in the database.
=item App::Chart::Database->symbol_is_historical ($symbol)
Return true if C<$symbol> is marked as historical, meaning it's delisted, or
renamed, or whatever, but in any case is no longer actively trading.
=item C<< App::Chart::Database->symbol_name ($symbol) >>
Return the stock or commodity name for C<$symbol>, obtained from the
database.
=item C<< App::Chart::Database->symbol_decimals ($symbol) >>
Return the number of decimal places normally shown on prices for C<$symbol>.
For example prices in dollars might have this as 2 to show dollars and
lib/GT/DB/Chart.pm view on Meta::CPAN
as many as available). For example to get the last 250 trading days,
my $prices = $db->get_last_prices ('GM', 250,
$GT::Prices::DAYS);
=item C<< $str = $db->get_db_name ($symbol) >>
Return the company name for the stock C<$symbol>, or C<undef> if unknown.
For most applications, use C<< $db->get_name() >> instead (see C<GT::DB>),
since it tries your F<~/.gt/sharenames> file if nothing from
C<get_db_name()>.
=back
=head1 SEE ALSO
L<GT::DB>, L<GT::Prices>
L<App::Chart::Series::Database>
( run in 0.428 second using v1.01-cache-2.11-cpan-b888b73be4d )