Closed

Simple PHP+CSV

This project received 17 bids from talented freelancers with an average bid price of $163 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$30 - $250 USD
Total Bids
17
Project Description

Write a PHP program that downloads stock quotes CSV from Yahoo from [url removed, login to view], for example, [url removed, login to view] 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,[url removed, login to view],[url removed, login to view],[url removed, login to view],[url removed, login to view],IBM.C/O,IBM.C/C,IBM.H/L,[url removed, login to view],[url removed, login to view],[url removed, login to view],....
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 [url removed, login to view] on the previous day, and IBM.Open.2 which will be the [url removed, login to view] 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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online