$npx skillfedfor your agent

perp-funding-basis

This skill decodes perpetual futures funding mechanics to spot carry trade setups and leverage extremes. It covers funding rate regimes, annualized basis signals, delta-neutral trade construction, and cross-exchange arbitrage spreads—all grounded in real microstructure data from OKX and other venues.

Perp-funding-basis identifies carry trade opportunities by analyzing funding rates and spot-futures basis across crypto exchanges.

AI-generated summary based on this skill's SKILL.md

★ 28,096  4,557 MITupdated by HKUDS

Decision gist · record as of 2026-07-27

Perp-funding-basis identifies carry trade opportunities by analyzing funding rates and spot-futures basis across crypto exchanges. This skill decodes perpetual futures funding mechanics to spot carry trade setups and leverage extremes. It covers funding rate regimes, annualized basis signals, delta-neutral trade construction, and cross-exchange arbitrage spreads—all grounded in real microstructure data from OKX and other venues.

manual: git clone https://github.com/HKUDS/Vibe-Trading → cp -r Vibe-Trading/agent/src/skills/perp-funding-basis ~/.claude/skills/perp-funding-basis
agent/src/skills/perp-funding-basis/SKILL.md · version f9a4b5dc

Use it when

  • perp-funding-basis teaches you to interpret funding rate signals as sentiment indicators and market structure markers.
  • perp-funding-basis spots cross-exchange funding rate spreads—the gaps between OKX, Binance, Bybit, and other venues.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

HKUDS/Vibe-Trading/perp-funding-basis · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is perpetual futures funding rate analysis and how does perp-funding-basis help?

perp-funding-basis decodes perpetual futures funding mechanics to identify carry trade setups and leverage extremes. The skill covers funding rate regimes, annualized basis signals, delta-neutral trade construction, and cross-exchange arbitrage spreads using real microstructure data from OKX and other venues.

How do I read perpetual funding rates with perp-funding-basis?

perp-funding-basis teaches you to interpret funding rate signals as sentiment indicators and market structure markers. It explains how to calculate annualized basis, detect funding rate regimes (normal, elevated, extreme), and recognize when long or short squeezes are building based on funding divergence patterns.

What funding rate arbitrage opportunities can perp-funding-basis identify?

perp-funding-basis spots cross-exchange funding rate spreads—the gaps between OKX, Binance, Bybit, and other venues. It helps you execute delta-neutral carry trades by simultaneously longing spot or futures on one exchange while shorting perpetuals on another, capturing the funding rate differential for yield generation.

How does perp-funding-basis detect market extremes and squeeze risks?

perp-funding-basis analyzes funding rate regimes to flag when markets are stretched. Extreme positive funding signals potential long squeezes; extreme negative funding warns of short squeezes. The skill correlates funding divergence with open interest matrices to spot when leverage is concentrated and vulnerable to liquidation cascades.

Can perp-funding-basis be used as a directional trading signal?

Yes. perp-funding-basis treats funding divergence as a directional signal—when funding rates spike or invert across venues, it often precedes directional moves. The skill helps you interpret whether elevated funding reflects genuine directional conviction or unsustainable leverage, informing your trade timing and risk management.

What perpetual futures microstructure does perp-funding-basis explain?

perp-funding-basis covers perpetual swap basis mechanics, spot-futures pricing relationships, and how funding schedules (like OKX's hourly settlements) shape arbitrage windows. It grounds all analysis in real market data so you understand why basis contango or backwardation emerges and how to exploit it.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Perpetual Funding Rate & Basis Trading

Overview

Analyze perpetual futures funding rates and spot-futures basis to identify carry trade opportunities, market positioning extremes, and directional sentiment signals. Funding rates are the single most important microstructure indicator in crypto derivatives — they reveal real-time leverage positioning and crowd sentiment.

Core Concepts

1. Funding Rate Mechanics

Perpetual futures have no expiry date. Instead, a funding rate is exchanged between longs and shorts every 8 hours (on most exchanges) to keep the perpetual price anchored to the spot price.

If perp price > spot price → funding rate positive → longs pay shorts
If perp price < spot price → funding rate negative → shorts pay longs

OKX funding rate schedule: payments at 00:00, 08:00, 16:00 UTC

Annualized funding rate: ```python

Funding rate is a per-8h DECIMAL, exactly as OKX/Binance return

(truncated - see the full file via the links below)

File tree — 1 file
agent/src/skills/perp-funding-basis/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Identify carry trade opportunities by analyzing funding rates and basis”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

crypto-derivatives
by HKUDS · HKUDS/Vibe-Trading

Crypto-Derivatives covers three core strategies for digital asset derivatives: perpetual funding-rate arbitrage to capture recurring settlement payments, futures term-structure trading across contango and backwardation environments, and options strategies including volatility trading and Greeks analysis. Learn risk management, market signals, and tactical decision frameworks for OKX and Deribit.

MITupdated Jul 2026
★ 28,096repo stars
defi-trading-systems
by organvm · organvm/a-i--skills

DeFi Trading Systems guides you through building decentralized trading infrastructure focused on perpetual futures, automated market makers, and risk management. Learn position sizing, liquidation prevention, funding rate arbitrage, and MEV protection strategies to secure your trading operations.

Apache-2.0for claude-code, codex, geminiupdated Jul 2026
★ 14repo stars
options-strategy
by HKUDS · HKUDS/Vibe-Trading

options-strategy lets you backtest complex option portfolios—from covered calls and protective puts to iron condors and butterflies—by synthesizing theoretical prices via Black-Scholes and tracking Greeks exposure across time. The engine accepts daily underlying data, applies historical volatility, and outputs trade-by-trade records, daily Greeks aggregates, and performance metrics for strategy validation.

MITupdated Jul 2026
★ 28,096repo stars
hk-connect-flow
by HKUDS · HKUDS/Vibe-Trading

Monitor real-time capital flows between mainland China and Hong Kong markets through Stock Connect channels. Northbound flows reveal foreign institutional appetite for A-shares, while Southbound flows show mainland investor positioning in HK assets. Includes sector allocation tracking, AH premium analysis, and composite scoring to identify cross-border risk sentiment.

MITupdated Jul 2026
★ 28,096repo stars
hedging-strategy
by HKUDS · HKUDS/Vibe-Trading

Build hedging strategies that match your portfolio's risk profile using beta hedging, protective options, collars, or tail-risk approaches. The skill walks you through hedge-ratio calculation, cost estimation, and execution planning across linear instruments like futures and nonlinear tools like puts and spreads.

MITupdated Jul 2026
★ 28,096repo stars
volatility
by HKUDS · HKUDS/Vibe-Trading

This strategy captures volatility mean reversion by computing annualized historical volatility and ranking it percentile-wise over a lookback period. Long signals trigger when volatility sits in the low percentile range, positioning for expansion; short or exit signals fire when volatility ranks high, betting on contraction. Works with any OHLCV data across equities and crypto.

MITupdated Jul 2026
★ 28,096repo stars
Tags
derivatives-microstructureleverage-positioningarbitrage-opportunitiescrowd-sentimentsqueeze-detectionmarket-regimesdelta-neutral-strategiesexchange-spreadscontango-dynamics