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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intentsolutionsio/crypto-derivatives-tracker

v1.0.0

Published

Track crypto futures, options, perpetual swaps with funding rates, open interest, and derivatives market analysis

Downloads

141

Readme

Crypto Derivatives Tracker Plugin

Track cryptocurrency futures, options, and perpetual swaps with funding rates, open interest, liquidations, and advanced derivatives market analysis.

Features

  • Perpetual Swaps - Funding rates, long/short ratios, liquidation levels
  • Futures Analysis - Open interest, basis trading, contango/backwardation
  • Options Intelligence - IV, options flow, put/call ratio, Greeks
  • Market Metrics - Total OI, leverage ratios, volume analysis
  • Trading Signals - Funding extremes, OI divergence, liquidation cascades
  • Multi-Exchange - Binance, Bybit, OKX, Deribit, and more

Installation

/plugin install crypto-derivatives-tracker@claude-code-plugins-plus

Usage

The derivatives agent automatically activates when you discuss:

  • Futures, options, or perpetual swaps
  • Funding rates and open interest
  • Derivatives trading strategies
  • Liquidation analysis
  • Basis trading opportunities

Example Queries

What's the current funding rate for BTC perpetuals?

Show me open interest across all BTC futures

Analyze options flow for ETH expiring Friday

Is there a basis trading opportunity for BTC?

Where are the major liquidation levels?

Compare funding rates across Binance, Bybit, and OKX

Supported Markets

Centralized Exchanges

  • Binance Futures - Largest volume, USDT and coin-margined
  • Bybit - Popular perpetuals, good liquidity
  • OKX - Comprehensive derivatives suite
  • Deribit - Largest crypto options exchange
  • Kraken Futures - Regulated US options
  • BitMEX - Crypto perpetuals pioneer

Decentralized Protocols

  • dYdX - Perpetuals on Ethereum/StarkEx
  • GMX - Perpetuals on Arbitrum/Avalanche
  • Synthetix - Synthetic assets and perps
  • Perpetual Protocol - vAMM-based
  • Drift Protocol - Solana perpetuals

Configuration

Create a .derivatives-config.json file:

{
  "exchanges": ["binance", "bybit", "okx", "deribit"],
  "assets": ["BTC", "ETH", "SOL"],
  "monitoring": {
    "fundingRateAlert": 0.1,
    "oiChangeAlert": 0.15,
    "liquidationThreshold": 10000000
  },
  "trading": {
    "riskLevel": "medium",
    "maxLeverage": 5,
    "defaultPositionSize": 0.02
  }
}

Key Metrics Explained

Funding Rates

  • Positive funding: Longs pay shorts (bullish sentiment)
  • Negative funding: Shorts pay longs (bearish sentiment)
  • Extreme rates (>0.1% 8-hour): Contrarian opportunity

Open Interest (OI)

  • Rising OI + Rising Price: Strong bullish trend
  • Rising OI + Falling Price: Strong bearish trend
  • Falling OI + Rising Price: Short covering
  • Falling OI + Falling Price: Long liquidations

Futures Basis

  • Contango (positive): Futures > spot (normal)
  • Backwardation (negative): Futures < spot (high demand)
  • Cash-and-carry: Buy spot + sell futures

Options Greeks

  • Delta: Price sensitivity
  • Gamma: Rate of delta change
  • Vega: Volatility sensitivity
  • Theta: Time decay

Trading Strategies

1. Funding Rate Arbitrage

Long spot + Short perpetual when funding > 0.1%

2. Basis Trading

Buy spot + Sell quarterly futures when basis > 5% annualized

3. Liquidation Hunting

Target clusters of liquidations for potential cascades

4. Options Volatility Trading

Buy straddles when IV low, sell spreads when IV high

5. Options Flow Following

Track smart money positioning via unusual options activity

Data Sources

  • Coinglass: OI, funding, liquidations
  • Glassnode: On-chain + derivatives
  • Laevitas: Advanced analytics
  • Exchange APIs: Binance, Deribit, Bybit, OKX
  • The Graph: DEX derivatives data

Risk Management

Critical Considerations:

  • Derivatives use leverage - high risk of liquidation
  • Funding costs accumulate in perpetuals
  • Options can expire worthless (theta decay)
  • Exchange counterparty risk
  • Volatile markets can gap through stop losses

Best Practices

  1. Use appropriate position sizing
  2. Monitor liquidation prices continuously
  3. Account for funding costs
  4. Spread positions across exchanges
  5. Keep most funds in cold storage

Risk Disclaimer

Crypto derivatives are extremely risky instruments.

Users should:

  • Fully understand leverage and liquidation mechanics
  • Only trade with funds they can afford to lose
  • Use proper position sizing and risk management
  • Be aware of exchange counterparty risk
  • Understand funding costs and time decay
  • Consider tax implications

This plugin provides analysis only - not financial advice. Trading derivatives involves substantial risk of loss.

License

MIT License - See LICENSE file for details

Support


Built with ️ for derivatives traders by Intent Solutions IO