Simple PHP+CSV

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
Write a PHP program that downloads stock quotes CSV from Yahoo from, for example, will download a CSV of IBM.
This should be a Linux console application (you can execute wget/curl), that in its command line receives several tickers (like IBM MSFT GOOG etc.), downloads them, and outputs the following output in CSV:

// first line is titles

C/O is the open/close (division)
C/C is the close divided by the close of the previous day
H/L is open/low
time_t is the linux time_t for the date in the file. long int.

there also should be a possibility to specify in the command line which of the columns above to output. The user can select to output only a part of them.
In addition to the above specified columns, there should be another possibility to add more columns of the form IBM.Open.1 which will be the IBM.Open on the previous day, and IBM.Open.2 which will be the IBM.Open 2 days ago, etc. The command line interface should provide a simple way to specify this info, or instead of command line, a text config file.

The code must be well documented, to be maintained by developers who are not familiar with PHP.

Skills required:
Hire asor
Project posted by:
asor Israel
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.