npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nakedshort

v1.0.8

Published

Unofficial API for nakedshortreport.com

Downloads

3

Readme

nakedshort

ko-fi

GitHub Workflow Status Codacy Badge npm npm bundle size NPM

Get detailed naked short stock data history from nakedshortreport.com

Warning! This is unofficial API.

Installation

Install package from NPM

npm install nakedshort

Features

  • Current naked short percent
  • Naked short percent history for the last mounth
  • Volume change history for the last mounth
  • Short volume change history for the last mounth
  • Short volume and regular volume as chart data

Usage

Use nakedshort in async functions

.getShortData(ticker)

const nakedshort = require('nakedshort')

const main = async () => {
  const stock = await nakedshort.getShortData('GME')
  console.log(stock)
}

main()

Returns from getShortData()

await nakedshort.getShortData('GME')

{
      ticker: 'GME',
      nakedShortPercent: 57.34,
      historicalShortVol: [
        {
          date: 2020-02-01T21:00:00.000Z,
          volume: 22190631,
          shortVolume: 12724612,
          percentOfVolShorted: 57.34
        },
        ...
      ]
}

.parsedChartData(ticker)

const nakedshort = require('nakedshort')

const main = async () => {
  const stock = await nakedshort.parsedChartData('GME')
  console.log(stock)
}

main()

Returns from parsedChartData()

await nakedshort.parsedChartData('GME')

    {
      regularVolArr: [
        13588159, 24069273, 69838143,
        52127978, 56923379, 21125354,
        15436078, 12285609,  9626981,
        22190631, 12738799, 19725076,
        24478070,  7921924,  8521585,
        12958191,  4330922,  4787656,
         2581870,  2668697,  8118086
      ],
      shortVolArr: [
         4502240,  7270860, 24371588,
        21229726, 19847959, 11737395,
         8102481,  6830398,  5504023,
        12724612,  7203742, 10640122,
        14052965,  4689372,  4844033,
         4491996,  1464916,  1458869,
         1646869,  1630025,  3229478
      ],
      xAxisArr: [
        2021-01-20T00:00:00.000Z,
        2021-01-21T00:00:00.000Z,
        2021-01-22T00:00:00.000Z,
        2021-01-25T00:00:00.000Z,
        2021-01-26T00:00:00.000Z,
        2021-01-27T00:00:00.000Z,
        2021-01-28T00:00:00.000Z,
        2021-01-29T00:00:00.000Z,
        2021-02-01T00:00:00.000Z,
        2021-02-02T00:00:00.000Z,
        2021-02-03T00:00:00.000Z,
        2021-02-04T00:00:00.000Z,
        2021-02-05T00:00:00.000Z,
        2021-02-08T00:00:00.000Z,
        2021-02-09T00:00:00.000Z,
        2021-02-10T00:00:00.000Z,
        2021-02-11T00:00:00.000Z,
        2021-02-12T00:00:00.000Z,
        2021-02-16T00:00:00.000Z,
        2021-02-17T00:00:00.000Z,
        2021-02-18T00:00:00.000Z
      ]
    }