nasdaq-halts

1.2.1 • Public • Published

Node.js module to fetch stock halts from Nasdaq.

Installation

Install the package using npm:

npm install nasdaq-halts

After installed, import it into your project:

const nasdaq = require('nasdaq-halts');

Usage

Method checkHalt will output true or false depending on if an halt is in effect for a defined stock ticker symbol, for example:

const nasdaq = require('nasdaq-halts');
nasdaq.checkHalt('TSLA')
    .then((halted) => console.log(halted))
    .catch((err) => console.error(err));
});   

Package Sidebar

Install

npm i nasdaq-halts

Weekly Downloads

20

Version

1.2.1

License

MIT

Unpacked Size

3.16 kB

Total Files

4

Last publish

Collaborators

  • josecoelhomelo