you can use this opensource project for downloading EOD data from yahoo. http://meta-all.sourceforge.net/