NAME
Finance::ChartHist - Perl module to produce historical stock price graphs
SYNOPSIS
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');
DESCRIPTION
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.
CONSTRUCTOR
new(symbols =>, start_date =>, end_date =>, width =>, height =>)
Create a new Finance::ChartHist object.
INSTANCE METHODS
create_chart
Fetches the required data and plots the chart.
save_chart
Save the graph to the file specified.
AUTHOR
Garth Douglass, <garth@rubberband.org>
SEE ALSO
Finance::QuouteHist(3), GD::Graph::lines(3).
COPYRIGHT
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.