Saltar al contenido
Skillpedia
Análisis y hojas de cálculo37 mil · #7508

crypto-derivatives

Qué hace

Esta skill explica estrategias con derivados de criptomonedas, como el arbitraje de tipos de financiación, el trading de curvas de futuros y el análisis de opciones. Está pensada para traders que ya conocen lo básico y quieren una visión estructurada de estos instrumentos.

Cuándo usarla

  • ✓Cuando quieres analizar los tipos de financiación de los futuros perpetuos para arbitraje o sentimiento.
  • ✓Cuando quieres leer una curva de futuros para ver contango o backwardation.
  • ✓Cuando quieres revisar las sonrisas de volatilidad de las opciones y sus medidas de riesgo.

Link de la skill

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/crypto-derivatives/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/crypto-derivatives/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Revisa el tipo de financiación actual del perpetuo de Bitcoin en OKX y dime si parece una señal que merezca estudiarse.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente explica cómo funcionan los pagos de financiación y luego lee los tipos de financiación, las curvas de futuros o los datos de opciones del exchange. Interpreta lo que indican sobre el sentimiento y el coste de mantener una posición, y señala los principales riesgos de cada estrategia.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Qué es el tipo de financiación?

Es un pago periódico entre los traders en largo y en corto de futuros perpetuos, que sirve para mantener el precio del contrato cerca del precio al contado.

¿El arbitraje de tipos de financiación no tiene riesgo?

No. Implica mantener posiciones opuestas y riesgo de exchange, así que la skill señala estos riesgos.

¿Qué exchanges cubre?

Los principales que menciona son OKX y Deribit.

Detalles

Descripción original del autor

Crypto-derivatives strategies — perpetual funding-rate arbitrage, futures term-structure contango/backwardation trading, and option volatility-smile / Greeks analysis.

repo: HKUDS/Vibe-Trading

Popularidad

Estrellas en GitHub
37 mil
Posición en el ranking
#7508
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas