Spot-Futures Arbitrage Skill

Monitor funding rates and execute delta-neutral spot-futures arbitrage positions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/datagridSolution/forex-trading-ai-agent --skill spot-futures-arbitrage-skill-datagridsolution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Spot-Futures Arbitrage Skill
Source: https://github.com/datagridSolution/forex-trading-ai-agent/tree/main/skills/spot-futures-arb
Command: npx skills add https://github.com/datagridSolution/forex-trading-ai-agent --skill spot-futures-arbitrage-skill-datagridsolution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spot-Futures Arbitrage helps traders systematically capture perpetual futures funding-rate payments while reducing directional exposure through hedged spot + futures positions.

Core Features & Use Cases

  • Multi-exchange funding monitoring: Tracks funding rates across major venues and ranks opportunities by annualized rate.
  • Rule-based entry/exit with risk controls: Enters when funding exceeds a threshold, and exits when funding deteriorates past a stop-loss threshold, while enforcing max exposure and margin constraints.
  • Position lifecycle + P&L accounting: Opens and closes delta-neutral arbitrage positions and estimates net results from accumulated funding vs fees.

Quick Start

Ask the agent: check funding opportunities for BTC and start a hedged spot-plus-perp arbitrage when the annualized funding rate exceeds your threshold.

Frequently Asked Questions about Spot-Futures Arbitrage Skill

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

FAQPage Schema
How does perpetual futures funding rate arbitrage work with spot hedging?

Perpetual futures funding rate arbitrage works by building delta-neutral spot and futures hedge positions to capture funding payments while reducing directional exposure. You hold spot against an opposite perpetual futures contract to systematically collect funding rates.

How do I monitor funding rates across multiple exchanges to find arbitrage opportunities?

To monitor funding rates across multiple exchanges, you retrieve live funding rates, annualize them, and rank opportunities by annualized rate. This filtering process identifies the most profitable delta-neutral arbitrage setups before applying your entry thresholds.

Can I automate funding rate arbitrage entry and exit using configurable thresholds?

Yes, you can automate funding rate arbitrage entry and exit using configurable thresholds. The system enters positions when funding exceeds a threshold and exits when funding deteriorates past a stop-loss threshold, enforcing max exposure and margin constraints.

How do I track net profit from funding rates after trading fees?

You track net profit from funding rates by performing fee-aware profit tracking throughout the position lifecycle. This accounting estimates net results by comparing accumulated funding payments against the trading fees incurred during opening and closing.

How should I size delta-neutral arbitrage positions under exposure and margin limits?

You size delta-neutral arbitrage positions by calculating position sizing under strict exposure and margin limits. This risk management step ensures your spot and futures hedge positions remain safely capitalized relative to your configured maximum constraints.

When should I close a funding rate arbitrage position to stop losses?

You should close a funding rate arbitrage position when the funding rate deteriorates past your configured stop-loss threshold. Exiting based on this threshold prevents directional losses from overwhelming the accumulated funding payments in your hedge.