perp-funding-basis

Analyze perpetual futures funding rates and spot-futures basis for market sentiment.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/hxhyyy/Vibe-Trading --skill perp-funding-basis-hxhyyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perp-funding-basis
Source: https://github.com/hxhyyy/Vibe-Trading/tree/main/agent/src/skills/perp-funding-basis
Command: npx skills add https://github.com/hxhyyy/Vibe-Trading --skill perp-funding-basis-hxhyyy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of monitoring perpetual futures market microstructure, helping traders identify crowded leverage, sentiment extremes, and profitable cash-carry arbitrage opportunities.

Core Features & Use Cases

  • Funding Rate Analysis: Classifies market regimes based on funding rate history to detect overheated long or short positions.
  • Cash-Carry Arbitrage: Provides a framework for delta-neutral strategies by calculating annualized yields from spot-futures basis.
  • Use Case: A trader can use this skill to determine if the current market is in a bullish carry environment and calculate the expected annualized yield of a long-spot/short-perp position.

Quick Start

Use the perp-funding-basis skill to analyze the current funding rate regime and basis structure for BTC-USDT-SWAP on OKX.

Frequently Asked Questions about perp-funding-basis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze perpetual futures funding rates to identify market sentiment?

To analyze perpetual futures funding rates, classify market regimes based on funding rate history to detect overheated long or short positions and identify crowded leverage. This helps traders spot sentiment extremes in crypto derivatives markets.

How do I calculate annualized yield for a delta-neutral spot-futures basis trade?

Calculating annualized yield for a delta-neutral basis trade involves evaluating the spot-futures basis to construct cash-carry arbitrage strategies. This framework determines the expected return of maintaining a long-spot and short-perpetual futures position.

Do I need exchange API endpoints to monitor crypto open interest and funding rates?

Yes, you need access to exchange public API endpoints to retrieve real-time funding rate and open interest data. This live data is required to perform perpetual futures market microstructure research and analyze the basis structure.

What is the best way to detect crowded leverage in crypto derivatives markets?

The best way to detect crowded leverage is by analyzing perpetual futures funding rate history to classify market regimes. This approach identifies sentiment extremes and indicates when long or short positions are overheated.

Can I use this to construct delta-neutral trading strategies for BTC-USDT-SWAP?

Yes, you can construct delta-neutral trading strategies for BTC-USDT-SWAP by analyzing the current funding rate regime and basis structure. This provides a framework for cash-carry arbitrage by calculating annualized yields from spot-futures basis.