quandl-data

0.0.1 • Public • Published

quandl-data

Historical stock price history data from Quandl

Install

$ npm install quandl-data --save

Usage

 
var quandl = require("quandl-data");
 
(async () => {
    try {
        const apiKey = "<your-api-key-from-quandl>";
 
        let microsoftHistory = await quandl.getPriceHistory(apiKey, "msft");
        console.log(JSON.stringify(microsoftHistory, null, 2));
 
        let allSymbols = await quandl.getSymbols(apiKey, "2017-10-13");
        console.log(JSON.stringify(allSymbols, null, 2));
    }
    catch (ex) {
        console.log('caught error: ' + ex.stack);
    }
})();
 

License

MIT license; see LICENSE.

Package Sidebar

Install

npm i quandl-data

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

5.07 kB

Total Files

4

Last publish

Collaborators

  • bitquant