blankningsregistret

0.3.2 • Public • Published

Blankningsregistret-js

FI will on a daily basis, normally shortly after 15:30, publish significant net short positions in shares in the document below. source

This npm package for NodeJS fetches published net short positions from FI and outputs the result as a JS array.

Installation

npm install blankningsregistret --save

Usage

const br = require('blankningsregistret');
 
// get currently active positions published within the last 30 days
const entries = br();
 
// get historical positions published within the last 30 days
const entries = br({
  historical: true
});
 
// get positions published within a custom timespan
const thatMonthEntries = br({
  from: new Date('2017-01-01'),
  to: new Date('2017-02-01')
});
 

Dependencies (4)

Dev Dependencies (1)

Package Sidebar

Install

npm i blankningsregistret

Weekly Downloads

1

Version

0.3.2

License

ISC

Unpacked Size

14 kB

Total Files

18

Last publish

Collaborators

  • biggestt