perp-funding-basis

Analyze perpetual futures funding rates and spot-futures basis across crypto exchanges.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ebrahim-sani/trading-automation --skill perp-funding-basis-ebrahim-sani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perp-funding-basis
Source: https://github.com/ebrahim-sani/trading-automation/tree/main/vibe-trading/agent/src/skills/perp-funding-basis
Command: npx skills add https://github.com/ebrahim-sani/trading-automation --skill perp-funding-basis-ebrahim-sani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides traders with systematic analysis of perpetual futures funding rates and spot‑futures basis, enabling identification of carry‑trade, arbitrage, and directional signals that would otherwise require manual data collection and interpretation.

Core Features & Use Cases

  • Funding Rate Regime Detection: Classifies market crowding and signals contrarian positions.
  • Spot‑Futures Basis Evaluation: Calculates annualized basis to reveal cash‑carry opportunities.
  • Cross‑Exchange Funding Arbitrage: Highlights rate spreads across OKX, Binance, Bybit for profit.
  • Direction Signals: Uses funding‑rate divergence and open‑interest matrices to flag squeezes.
  • Use Case Example: A crypto trader can request a real‑time report on BTC funding rates, basis, and the best carry‑trade setup across exchanges.

Quick Start

Ask the skill to generate a funding rate and basis analysis for Bitcoin.

Frequently Asked Questions about perp-funding-basis

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

FAQPage Schema
How do I find crypto carry trade opportunities using perpetual futures funding rates?

To find crypto carry trade opportunities, analyze perpetual futures funding rates and spot‑futures basis to identify annualized rate spreads. This classifies market regimes and reveals cash‑carry setups across exchanges like OKX, Binance, and Bybit.

What is a funding rate regime and how does it signal market crowding?

A funding rate regime classifies market crowding by analyzing persistent perpetual futures rate patterns. It detects when positioning is stretched, signaling contrarian trade opportunities and potential directional squeezes using open‑interest matrices.

Can I compare cross-exchange funding arbitrage spreads across Binance, OKX, and Bybit?

Yes, you can compare cross-exchange funding arbitrage spreads across Binance, OKX, and Bybit. The analysis retrieves real-time rate data via exchange APIs and highlights spreads to pinpoint profitable funding rate differentials.

How do I calculate annualized spot-futures basis for crypto assets?

To calculate annualized spot-futures basis for crypto assets, retrieve real-time exchange API data and compute the percentage difference between spot and perpetual futures prices. This reveals cash‑carry arbitrage opportunities.

Does this funding rate analysis work for real-time crypto market squeeze detection?

Yes, this funding rate analysis works for real-time crypto market squeeze detection. It uses funding‑rate divergence and open‑interest matrices to flag potential squeezes and directional signals for traders.

What data do I need to detect crypto funding rate regimes and basis opportunities?

Detecting crypto funding rate regimes and basis opportunities requires real-time perpetual futures and spot price data retrieved via exchange APIs from supported platforms like OKX, Binance, and Bybit to compute annualized rates.