Hit up Yahoo for historic stock quotes
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
.npmignore
LICENSE
README.md
package.json

README.md

Yahoo Historic Stock Quote Data

Fetch historic stock data from yahoo

Usage

npm install historic

var historic = require('historic');

var symbol = 'TSLA';

// Note: months are zero indexed
// start..end (inclusive)
// no data for weekends
var start = new Date(2013, 7, 27);
var end = new Date(2013, 7, 30);

historic(symbol, start, end, function (err, data) {
  console.log(err ? err : data);
});