[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: historical data on Yahoo



PureBytes Links

Trading Reference Links


> I have tried many times in vain to find where the historical stock data is
> located on Yahoo. I have found quotes and charts but not data. Can someone
> point me to the right location?

David, 

Here are the relevant lines from QuoteMonster:

	my $URL = 'http://chart.yahoo.com/table.csv?s=';
	foreach $ticker (@tickers) {
		$URL .= $ticker . '&a=' . $startmonth . '&b=' . $startday 
. '&c=' . $startyear . '&d=' . $endmonth . '&e=' . $endday . '&f=' . 
$endyear . '&g=d&q=q';

The things that begin with '$' are scalar variables and the '.' is a 
concatenation operator. QM can be found at http://xmlworks.com/quotemonster/
It gets multiple EOD or historical quotes. Free.

Cheers,

Jim