perp-funding-basis

Analyze perpetual futures funding rates and spot-futures basis for arbitrage opportunities.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill perp-funding-basis-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perp-funding-basis
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/perp-funding-basis
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill perp-funding-basis-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of monitoring perpetual futures markets, helping traders identify funding rate regimes and cash-carry arbitrage opportunities to optimize yield and manage leverage risk.

Core Features & Use Cases

  • Funding Rate Analysis: Classifies market sentiment and leverage positioning based on 8-hour funding rate cycles.
  • Cash-Carry Arbitrage: Provides a framework for delta-neutral strategies by balancing spot and perpetual positions.
  • Use Case: A trader can use this skill to detect if the market is in an overheated long state, signaling a potential long squeeze, or to calculate the annualized yield of a basis trade across different exchanges.

Quick Start

Use the perp-funding-basis skill to analyze the current funding rates and basis structure for BTC-USDT to identify potential carry trade opportunities.

Frequently Asked Questions about perp-funding-basis

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

FAQPage Schema
What is a perpetual futures basis trade and how does funding rate analysis work?

A perpetual futures basis trade captures yield from spot-futures price gaps, while funding rate analysis classifies market leverage based on 8-hour funding cycles to identify delta-neutral arbitrage opportunities.

How do I calculate annualized basis and open interest metrics for crypto derivatives?

You calculate annualized basis and open interest metrics by integrating market data APIs into the analysis skill, which computes risk-adjusted yield spreads across crypto derivatives exchanges.

How can I detect overheated leverage extremes and long squeeze signals in crypto markets?

You detect overheated leverage extremes by analyzing funding rate regimes to identify when the market is in an overheated long state, signaling a potential long squeeze for risk management.

Can I execute delta-neutral cash-carry arbitrage across different crypto exchanges?

Yes, you can execute delta-neutral cash-carry arbitrage by balancing spot and perpetual positions to calculate the annualized yield of a basis trade across different crypto derivatives exchanges.

What market data API integration is required to monitor crypto funding rates?

Monitoring crypto funding rates requires integration with market data APIs to pull exchange data for calculating annualized basis, funding rate regimes, and open interest metrics.

When should I avoid basis trading based on funding rate analysis?

You should exercise caution with basis trading when funding rate regimes indicate extreme leverage positioning, requiring careful risk-adjusted trading decisions to avoid sudden market squeezes.