quandl-node
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Quandl-Node

Description

Node module to interact with the Quandl API. with support for promises. For a list of possible parameters and filters check out the official API Docs for Quandl

Installation

npm install quandl-node 

How to

const Quandl = require("quandl-node")
let quandl = new Quandl({
key:"Your-Api-key"
});

Fetching timeseries data

let data:any = await quandl.timeseries.data({
                database:"WIKI",
                dataset:"FB",
                start_date:"2017-06-12",
                end_date: "2017-12-12",
                order:"asc",
                limit:15
            });

Fetching timeseries metadata

 let data:any = await quandl.timeseries.metadata({
                database:"WIKI"
            });

Fetching timeseries data and metadata

let data:any = await quandl.timeseries.all({
                database:"WIKI",
                dataset:"FB",
                start_date:"2017-06-12",
                end_date: "2017-12-12",
                order:"asc",
                limit:15
            });

Fetching table data

let data:any = await quandl.table.rows({
                publisher:"ETFG",
                datatable:"FUND",
                filter: {
                    ticker:"SPY"
                }
            });

Fetching table metadata

let data:any = await quandl.table.metadata({
               publisher:"AR",
               datatable:"MWCS"
           });

Readme

Keywords

none

Package Sidebar

Install

npm i quandl-node

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

39.2 kB

Total Files

28

Last publish

Collaborators

  • nan0c