Simple PHP+CSV

CANCELLED
Bids
17
Avg Bid (USD)
$163
Project Budget (USD)
$30 - $250

Project Description:
Write a PHP program that downloads stock quotes CSV from Yahoo from http://ichart.finance.yahoo.com/table.csv?s=, for example, http://ichart.finance.yahoo.com/table.csv?s=IBM 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
Date,time_t,IBM.Open,IBM.High,IBM.Low,IBM.Close,IBM.C/O,IBM.C/C,IBM.H/L,IBM.Volume,MSFT.Open,MSFT.High,....
12-12-12,256826,100,101,99,100.5,.98,.1.01....

Where:
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:
PHP
Hire asor
Project posted by:
asor Israel
Verified
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.