TR

tracking-crypto-derivatives

Aggregates real-time derivatives data across CEX and DEX platforms to identify market sentiment.

Install

mkdir -p .claude/skills/tracking-crypto-derivatives && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1190" && unzip -o skill.zip -d .claude/skills/tracking-crypto-derivatives && rm skill.zip

Installs to .claude/skills/tracking-crypto-derivatives

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Track cryptocurrency futures, options, and perpetual swaps with funding
71 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Check funding rates across exchanges
  • →Analyze open interest to gauge market positioning
  • →Monitor liquidations to find support/resistance clusters
  • →Analyze options market for IV, put/call ratio, and max pain
  • →Calculate basis for spot-futures arbitrage opportunities
  • →Run full dashboard for complete derivatives overview

How it works

This skill aggregates derivatives data from various exchanges to provide insights into funding rates, open interest, liquidations, and options markets, using Python scripts with specific commands.

Inputs & outputs

You give it
Cryptocurrency symbols and optional parameters like history, min-size, expiry, or min-yield
You get back
Structured reports including Funding Rate Report, Open Interest Report, Liquidation Heatmap, Options Overview, and Basis Report

When to use tracking-crypto-derivatives

  • →Monitor BTC perpetual swap funding rates
  • →Analyze market sentiment via open interest
  • →Find liquidation levels
  • →Research crypto options flow

About this skill

Tracking Crypto Derivatives

Overview

Pull funding rates, open interest, dated-futures basis, liquidations and options data from public, keyless exchange endpoints, normalize them to common units, and report each figure with its source. When a venue fails, it is named with the reason; no value is ever invented.

DataVenues
Funding, open interestOKX, Deribit, Hyperliquid, Kraken Futures, KuCoin Futures, Gate, dYdX, Binance, Bybit
24h open interest change, account long shareOKX, Binance, Bybit
Dated-futures basisDeribit, OKX
Filled liquidationsOKX
Options (put/call, max pain, ATM IV, DVOL, large trades)Deribit (BTC, ETH)

Binance and Bybit refuse connections from US networks (HTTP 451/403). The tracker reports that and carries on with the other venues.

Prerequisites

  • Python 3.9 or newer. Standard library only: no packages to install, no API keys.
  • Network access to the exchanges' public endpoints.

Instructions

All commands run python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py. Every command accepts --format json, --demo (replays bundled recorded BTC data, marked on every line) and --timeout SECONDS.

  1. Funding rates per venue, scaled to an 8-hour equivalent and a simple annual rate:

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py funding BTC ETH
    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py funding SOL --venues okx,hyperliquid,kraken
    

    Positive funding means longs pay shorts. Hourly venues (Hyperliquid, Kraken, dYdX) are multiplied by 8 so they compare with 8-hourly venues.

  2. Open interest per venue, counted on one side, with 24-hour change in coins where the venue publishes hourly history:

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py oi BTC
    
  3. Basis for every dated future against the same venue's index:

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py basis BTC
    
  4. Liquidations filled on OKX over a look-back window (default 24 hours):

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py liquidations BTC --hours 12
    
  5. Options on Deribit: per-expiry put/call ratios, max pain and ATM IV, DVOL rank, and optionally large recent trades:

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py options BTC
    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py options ETH --expiry 27NOV26 --large-trades 1000000  # 1000000 = minimum trade notional in USD
    
  6. Dashboard with funding, open interest and a reference basis for several coins:

    python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py dashboard BTC ETH SOL
    
  7. List venues and what each provides: derivatives_tracker.py venues.

When summarizing results for the user, describe the data (for example "funding is positive on 6 of 7 venues") and keep the source and fetch time. Do not turn the figures into buy, sell or hold advice.

Output

Console tables by default, ending with the sources used and the line "Research output only. Not financial advice. This tool places no trades." With --format json, every command returns one envelope:

{"skill": "tracking-crypto-derivatives", "version": "2.0.0", "command": "funding",
 "symbols": ["BTC"], "generated_at": "2026-10-25T16:11:51Z", "mode": "live",
 "sources": ["https://www.okx.com/api/v5/public/funding-rate?instId=BTC-USDT-SWAP", "..."],
 "failures": [{"venue": "binance", "reason": "refused from this network (HTTP 451, region restriction)"}],
 "data": [...], "disclaimer": "Research output only. Not financial advice. This tool places no trades."}

See references/implementation.md for units, formulas and per-venue field mapping, and references/examples.md for real output.

Error Handling

MessageCauseWhat to do
refused from this network (HTTP 451/403 ...)The venue blocks your region (Binance, Bybit from the US)Nothing; the other venues still report. Use --venues to skip it.
rate limited (HTTP 429)Too many requestsWait a minute and retry
... not listedThe venue has no market for that coinExpected for smaller coins
timed out after NsSlow network or venueRetry, or raise --timeout
the bundled demo recording covers BTC only--demo with another coinRun without --demo
Exit code 2No venue returned dataCheck the "Unavailable" list

More in references/errors.md.

Examples

Cross-venue funding check (an excerpt of captured live output; full runs with their capture time are in references/examples.md, and live figures change every minute):

python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py funding BTC
kraken       PF_XBTUSD              +0.0015%     1h   +0.0119%   +13.08%      0h 49m
kucoin       XBTUSDTM               +0.0100%     8h   +0.0100%   +10.95%      7h 49m
okx          BTC-USDT-SWAP          +0.0054%     8h   +0.0054%    +5.97%      7h 49m
deribit      BTC-PERPETUAL          +0.0035%     8h   +0.0035%    +3.84%  continuous
dydx         BTC-USD                -0.0001%     1h   -0.0006%    -0.60%      0h 49m
Of 7 venues, funding is positive on 6, negative on 1.

Term structure as JSON for further analysis:

python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py basis ETH --format json

Try it offline:

python3 ${CLAUDE_SKILL_DIR}/scripts/derivatives_tracker.py dashboard BTC --demo

Resources

Prerequisites

Python 3.8+ installedNetwork access to exchange APIsUnderstanding of derivatives concepts (funding, OI, basis)

Limitations

  • →Rate limits can be encountered if too many API requests are made
  • →Exchange API may be unavailable, causing `ERR_EXCHANGE_DOWN`
  • →Invalid symbol format can lead to `ERR_SYMBOL_INVALID`

How it compares

This skill automates the aggregation and analysis of diverse crypto derivatives data, providing structured reports and actionable insights, which differs from manually collecting and interpreting data from individual exchanges.

Compared to similar skills

tracking-crypto-derivatives side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tracking-crypto-derivatives (this skill)44moReviewIntermediate
model-usage56moReviewBeginner
weights-and-biases310moReviewIntermediate
tooluniverse-pharmacovigilance35moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore →

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

model-usage

openclaw

Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

548

weights-and-biases

davila7

Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform

325

tooluniverse-pharmacovigilance

mims-harvard

Analyze drug safety signals from FDA adverse event reports, label warnings, and pharmacogenomic data. Calculates disproportionality measures (PRR, ROR), identifies serious adverse events, assesses pharmacogenomic risk variants. Use when asked about drug safety, adverse events, post-market surveillance, or risk-benefit assessment.

323

analyzing-mempool

jeremylongshore

Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Use when analyzing pending transactions, optimizing gas prices, or researching MEV. Trigger with phrases like "check mempool", "scan pending txs", "find MEV", "gas price analysis", or "pending swaps".

318

agent-session-monitor

alibaba

Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage. Supports web interface for viewing complete conversation history and costs. Use when users ask about current session token consumption, conversation history, or cost statistics.

26

video-comparer

daymade

This skill should be used when comparing two videos to analyze compression results or quality differences. Generates interactive HTML reports with quality metrics (PSNR, SSIM) and frame-by-frame visual comparisons. Triggers when users mention "compare videos", "video quality", "compression analysis", "before/after compression", or request quality assessment of compressed videos.

15

Search skills

Search the agent skills registry