Finance::ChartHist - Perl module to produce historical stock price graphs
use Finance::ChartHist; $chart = Finance::ChartHist->new( symbols => "BHP", start_date => '2001-01-01', end_date => '2002-01-01', width => 680, height => 480 ); $chart->create_chart(); $chart->save_chart('chart_name.png', 'png');
Finance::ChartHist is a module to produce graphs of historical stock prices. Single stocks can be graphed over a period of time. Multiple stocks performance can also be compared over time.
Create a new Finance::ChartHist object.
Fetches the required data and plots the chart.
Save the graph to the file specified.
Garth Douglass, <garth@rubberband.org>
Finance::QuouteHist(3), GD::Graph::lines(3).
Copyright 2002 Garth Douglass <garth@rubberband.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Finance::ChartHist, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::ChartHist
CPAN shell
perl -MCPAN -e shell install Finance::ChartHist
For more information on module installation, please visit the detailed CPAN module installation guide.