Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

historic

0.0.3 • Public • Published

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);
});

Keywords

none

install

npm i historic

Downloadsweekly downloads

6

version

0.0.3

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability