perp-funding-basis

Analyze perpetual futures funding rates and spot–futures basis to generate carry-trade and arbitrage timing signals.

Updated May 5, 2026
One-click install
npx skills add https://github.com/wudye/traderAssistHK --skill perp-funding-basis-wudye
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perp-funding-basis
Source: https://github.com/wudye/traderAssistHK/tree/main/backend/src/skills/perp-funding-basis
Command: npx skills add https://github.com/wudye/traderAssistHK --skill perp-funding-basis-wudye

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps traders interpret perpetual futures funding rates and spot–futures basis so they can identify crowded positioning, construct delta-neutral carry trades, and detect favorable funding-rate or basis-arbitrage conditions.

Core Features & Use Cases

  • Funding rate mechanics & annualization: Converts exchange funding payments (typically per 8h) into annualized rates for consistent regime comparison.
  • Funding regime detection & contrarian signaling: Classifies states like overheated long/short crowds and generates directional or contrarian signals based on thresholds and short-term momentum (e.g., consecutive positive/negative periods).
  • Spot–perp and cash-carry basis analysis: Computes spot–futures basis (and annualized basis) to categorize contango/flat/backwardation and guide cash-carry vs. wait decisions.
  • Delta-neutral carry trade construction: Frames the cash-carry trade as spot long + perp short to harvest funding, including when to exit if funding flips.
  • Cross-exchange funding arbitrage logic: Explains how to hedge exposure by shorting the highest-funding venue and long the lowest-funding venue, aiming to capture funding spreads.

Quick Start

Use the perp-funding-basis skill to analyze BTC funding history and current spot–perp premiums across OKX and Binance, then output the implied funding regime and the best carry/arbitrage direction for the next funding cycle.

Frequently Asked Questions about perp-funding-basis

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

FAQPage Schema
How do I calculate annualized perpetual funding rates for crypto basis trading?

To calculate annualized perpetual funding rates for crypto basis trading, you convert exchange funding payments, typically quoted per 8-hour interval, into an annualized figure for consistent regime comparison across different assets and venues.

What is a delta-neutral carry trade and how do I construct one using spot and perpetual futures?

A delta-neutral carry trade is a strategy that harvests funding rates by holding spot long and perpetual futures short positions. You construct it by matching delta exposure and exit if the funding rate flips against your position.

How does spot-futures basis analysis identify contango or backwardation for arbitrage timing?

Spot-futures basis analysis identifies contango or backwardation by computing the spread between spot and futures prices. This categorization guides cash-carry execution or waiting decisions based on the annualized basis structure.

Can I use funding rate regimes to generate contrarian trading signals?

Yes, funding rate regimes generate contrarian trading signals by classifying overheated long or short crowds. Applying rule-based thresholds and short-term momentum detects consecutive positive or negative periods to output actionable trade direction.

What inputs do I need for cross-exchange funding arbitrage analysis?

Cross-exchange funding arbitrage analysis requires funding history inputs and current spot/perpetual prices across crypto exchanges. You use rule-based threshold logic to short the highest-funding venue and long the lowest-funding venue to capture spreads.