tracking-crypto-derivatives
Track futures, options, and perpetual swap positions with P&L calculations. Use when tracking futures and options positions. Trigger with phrases like "track derivatives", "check futures positions", or "analyze perps".
$ Install
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills /tmp/claude-code-plugins-plus-skills && cp -r /tmp/claude-code-plugins-plus-skills/plugins/crypto/crypto-derivatives-tracker/skills/tracking-crypto-derivatives ~/.claude/skills/claude-code-plugins-plus-skills// tip: Run this command in your terminal to install the skill
name: tracking-crypto-derivatives description: | Track futures, options, and perpetual swap positions with P&L calculations. Use when tracking futures and options positions. Trigger with phrases like "track derivatives", "check futures positions", or "analyze perps".
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(crypto:derivatives-*) version: 1.0.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT
Tracking Crypto Derivatives
Overview
This skill provides automated assistance for the described functionality.
Prerequisites
Before using this skill, ensure you have:
- Access to crypto market data APIs (CoinGecko, CoinMarketCap, or similar)
- Blockchain RPC endpoints or node access (Infura, Alchemy, or self-hosted)
- API keys for exchanges if trading or querying account data
- Web3 libraries installed (ethers.js, web3.py, or equivalent)
- Understanding of blockchain concepts and crypto market dynamics
Instructions
- Use Read tool to load API credentials from {baseDir}/config/crypto-apis.env
- Configure blockchain RPC endpoints for target networks
- Set up exchange API connections if required
- Verify rate limits and subscription tiers
- Test connectivity and authentication
- Use Bash(crypto:derivatives-*) to execute crypto data queries
- Fetch real-time prices, volumes, and market cap data
- Query blockchain for on-chain metrics and transactions
- Retrieve exchange order book and trade history
- Aggregate data from multiple sources for accuracy
See {baseDir}/references/implementation.md for detailed implementation guide.
Output
- Current prices across exchanges with spread analysis
- 24h volume, market cap, and circulating supply
- Price changes across multiple timeframes (1h, 24h, 7d, 30d)
- Trading volume distribution by exchange
- Liquidity metrics and slippage estimates
- Transaction count and network activity
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.
Resources
- CoinGecko API for market data across thousands of assets
- Etherscan API for Ethereum blockchain data
- Dune Analytics for on-chain SQL queries
- The Graph for decentralized blockchain indexing
- ethers.js for Ethereum smart contract interaction
Repository
