Socket
Socket
Sign inDemoInstall

nordnet-api

Package Overview
Dependencies
7
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nordnet-api

Nordnet.dk Unofficial API


Version published
Weekly downloads
2
Maintainers
1
Install size
484 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 06 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc