Skip to content

zjael/nordnet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nordnet-api

Package version NPM downloads Make a pull request License: MIT

Nordnet.dk Unofficial API

Table of Contents

Install

npm install nordnet-api

Usage

Get instrument data

const Nordnet = require('nordnet-api');

const nordnet = new Nordnet("username", "password");
const instrument_id = 17092094;
nordnet.instrument(instrument_id)
  .then(console.log)
  .catch(console.error)

Get stock history

const Nordnet = require('nordnet-api');

const nordnet = new Nordnet("username", "password");
const instrument_id = 17092094;
const start_date = '2010-01-01'
nordnet.stockhistory(instrument_id, start_date)
  .then(console.log)
  .catch(console.error)

Get stocklist

const Nordnet = require('nordnet-api');

const nordnet = new Nordnet("username", "password");
nordnet.stocklist()
  .then(console.log)
  .catch(console.error)

Get fundslist

const Nordnet = require('nordnet-api');

const nordnet = new Nordnet("username", "password");
nordnet.fundslist()
  .then(console.log)
  .catch(console.error)

License

MIT

Releases

No releases published

Packages

No packages published