crypto-derivatives
यह क्या करती है
यह स्किल फ़ंडिंग-रेट आर्बिट्राज, फ़्यूचर्स कर्व ट्रेडिंग और ऑप्शन विश्लेषण जैसी क्रिप्टो डेरिवेटिव रणनीतियाँ समझाती है। यह उन ट्रेडरों के लिए है जो मूल बातें जानते हैं और इन इंस्ट्रूमेंट का व्यवस्थित नज़रिया चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप आर्बिट्राज या भावना के लिए परपेचुअल फ़्यूचर्स के फ़ंडिंग रेट देखना चाहें।
- ✓जब आप कॉन्टैंगो या बैकवर्डेशन के लिए फ़्यूचर्स कर्व पढ़ना चाहें।
- ✓जब आप ऑप्शन की वोलैटिलिटी स्माइल और उनके जोखिम मापों को देखना चाहें।
Skill का लिंक
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/crypto-derivatives/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“OKX पर बिटकॉइन का मौजूदा परपेचुअल फ़ंडिंग रेट जाँचिए, और बताइए कि क्या यह अध्ययन के लायक संकेत लगता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट समझाता है कि फ़ंडिंग भुगतान कैसे काम करते हैं, फिर एक्सचेंज से फ़ंडिंग रेट, फ़्यूचर्स कर्व या ऑप्शन डेटा पढ़ता है। वह बताता है कि ये भावना और पोज़िशन रखने की लागत के बारे में क्या संकेत देते हैं, और हर रणनीति के मुख्य जोखिम बताता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Crypto-Derivatives Strategies
Overview
Covers three major crypto-derivatives strategy directions: perpetual funding-rate arbitrage, futures term-structure trading, and options strategies (volatility trading). The main exchanges are OKX and Deribit.
Perpetual Funding-Rate Arbitrage
Funding-Rate Mechanism
Perpetual contracts have no expiry and rely on the funding rate to anchor prices to spot:
Funding rate > 0: longs pay shorts (strong bullish sentiment)
Funding rate < 0: shorts pay longs (strong bearish sentiment)
Settlement frequency: OKX settles every 8 hours (00:00 / 08:00 / 16:00 UTC)
Annualized return = funding rate × 3 × 365
Arbitrage Strategies
Positive carry arbitrage (funding rate > 0):
Long spot + short perpetual = net delta close to zero
Return source: collect funding every 8 hours
Reverse carry arbitrage (funding rate < 0, less common):
Short spot (borrow coin and sell) + long perpetual
Return source: collect funding every 8 hours
Funding-Rate Signals
| Funding Rate (8h) | Annualized | Market Sentiment | Strategy Signal |
|---|---|---|---|
| > 0.1% | > 109% | Extreme greed | Short signal (rate is unsustainable) |
| 0.03-0.1% | 33-109% | Bullish bias | Positive carry arbitrage is attractive |
| 0.01-0.03% | 11-33% | Normal bullish | Positive carry arbitrage is tradable |
| -0.01~0.01% | -11~11% | Neutral | No arbitrage opportunity |
| < -0.01% | < -11% | Bearish bias | Reverse carry arbitrage or stop-loss |
| < -0.1% | < -109% | Extreme panic | Long signal (rate is unsustainable) |
Arbitrage Risk Control
Risk points:
1. Insufficient margin: the derivatives leg requires margin, and extreme moves can liquidate the account
2. Funding reversal: a positive rate can suddenly turn negative, making the arbitrage unprofitable
3. Basis volatility: changes in the spot-futures basis can cause floating losses
4. Exchange risk: withdrawal limits, downtime, liquidation-mechanism differences
Risk parameters:
- Leverage: no more than 3x (arbitrage does not need high leverage)
- Margin ratio: keep >50% (far from liquidation)
- Single-coin allocation: <30% (diversification)
- Stop-loss: close when floating loss exceeds expected return over 3 months
Term-Structure Trading
Basic Concepts
Term structure = futures price curve across different expiries
Contango: far month > near month > spot
- Meaning: market expects higher future prices
- Common in bull markets or normal market conditions
Backwardation: far month < near month < spot
- Meaning: market expects lower future prices or spot shortage
- Common in bear markets or after extreme events
Term-Structure Metrics
def term_structure_spread(spot_price, futures_prices: dict) -> dict:
"""
Args:
spot_price: Spot price
futures_prices: {expiry: price}, for example {'2026-06': 105000, '2026-09': 107000}
Returns:
Basis, annualized basis, and structure type
"""
results = {}
for expiry, price in futures_prices.items():
days_to_expiry = (pd.Timestamp(expiry) - pd.Timestamp.now()).days
basis = (price - spot_price) / spot_price
annualized = basis / days_to_expiry * 365
results[expiry] = {
'basis': basis,
'annualized_basis': annualized,
'days': days_to_expiry,
}
return results
Trading Strategies
| Strategy | Action | Applicable Environment | Risk |
|---|---|---|---|
| Cash-and-Carry | Long spot + short futures | Significant contango (annualized >15%) | Exchange risk |
| Calendar Spread | Long near month + short far month | Expect contango convergence | Basis widening |
| Reverse Calendar | Short near month + long far month | Expect backwardation convergence | Basis reversal |
Historical Regularities of BTC Term Structure
- Bull market: contango annualized 15-40%, quarterly futures premium 5-10%
- Bear market: backwardation or contango annualized <5%
- Around halving: contango usually widens
- Extreme crashes: brief backwardation (such as March 12 and May 19)
Options Strategies
Overview of the Crypto Options Market
| Exchange | Underlyings | Characteristics |
|---|---|---|
| Deribit | BTC / ETH | Largest options exchange, >80% market share |
| OKX | BTC / ETH | Second largest, liquidity still growing |
| Binance | BTC / ETH | Weaker liquidity |
Basic Greeks
| Greek
अक्सर पूछे जाने वाले सवाल
फ़ंडिंग रेट क्या है?
परपेचुअल फ़्यूचर्स पर लॉन्ग और शॉर्ट ट्रेडरों के बीच नियमित भुगतान, जो अनुबंध की कीमत को स्पॉट कीमत के करीब रखता है।
क्या फ़ंडिंग-रेट आर्बिट्राज बिना जोखिम का है?
नहीं। इसमें विपरीत पोज़िशन और एक्सचेंज का जोखिम होता है, जिन्हें स्किल बताती है।
यह कौन-से एक्सचेंज कवर करती है?
यह जिन मुख्य एक्सचेंजों का नाम लेती है, वे OKX और Deribit हैं।
जानकारी
लेखक का मूल विवरण
Crypto-derivatives strategies — perpetual funding-rate arbitrage, futures term-structure contango/backwardation trading, and option volatility-smile / Greeks analysis.
repo: HKUDS/Vibe-Trading
लोकप्रियता
- GitHub स्टार
- 37k
- रैंकिंग में स्थान
- #7508
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
vibe-trading
37kयह आपके एजेंट को वित्त शोध का पूरा टूलकिट देती है, जिसमें बैकटेस्ट, फ़ैक्टर एनालिसिस, ऑप्शन प्राइसिंग और कई बाज़ारों का डेटा शामिल है।
adr-hshare
37kयह आपके एजेंट को दिखाती है कि कई बाज़ारों में लिस्टेड एक चीनी कंपनी के भाव की तुलना कैसे करें, जैसे अमेरिकी ADR और हॉन्गकॉन्ग शेयर।
akshare
37kयह आपके एजेंट को चीनी और वैश्विक शेयरों, फ़्यूचर्स, फ़ॉरेक्स और आर्थिक संकेतकों का मुफ़्त बाज़ार डेटा लेने देती है, बिना API key के।
alpha-zoo
37kयह आपके एजेंट को बने-बनाए स्टॉक फ़ैक्टरों की लाइब्रेरी देखने और चुने हुए बाज़ार पर उनके पूरे समूह के रिटर्न की भविष्यवाणी की क्षमता जाँचने देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।