Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Hit up Yahoo for historic stock quotes
CoffeeScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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);
});
Something went wrong with that request. Please try again.