yfinance
v0.0.6
Published
Yahoo Finance API for NodeJs.
Downloads
355
Readme
yfinance
Yahoo Finance API for NodeJs.
Installation
$ npm install --save yfinance
Usage
var yfinance = require('yfinance');
yfinance.getQuotes('JNJ', function (err, data) {
if(err) console.log(err);
//...
});
yfinance.getHistorical('JNJ', '2016-08-01', '2016-08-05', function (err, data) {
if(err) console.log(err);
//...
});
yfinance.getDividendHistory('JNJ', '2015-01-01', '2015-12-31', function (err, data) {
if(err) console.log(err);
//... endDate not working!
});
License
MIT © Johan Carlsson