Funding rate arbitrage is the closest thing to a free lunch in crypto derivatives trading. By holding a delta-neutral position — long spot, short perp — you collect funding payments without taking directional risk. When funding rates are positive (as they typically are in bull markets), you earn yield every 8 hours simply by existing.

Here's exactly how to run it on LMEX.IO.

How Perpetual Futures Funding Works

Perpetual futures have no expiry date. To keep their price anchored to the underlying spot price, exchanges use a funding rate mechanism:

  • When perp price > spot price (bullish market): Long positions pay short positions
  • When perp price < spot price (bearish market): Short positions pay long positions

Funding is typically exchanged every 8 hours. Rates of 0.01-0.05% per 8 hours are common in strong bull markets — that's up to 54% annualised at the high end.

The Delta-Neutral Setup

The arb works by being on both sides simultaneously:

1. Buy spot (BTC-USDT on LMEX spot market)

2. Short the perp (BTC-PERP on LMEX futures)

Your directional exposure cancels out — if BTC rises $1,000, your spot gains $1,000 and your short loses $1,000. Net: zero. But you collect the funding payments every 8 hours from your short perp position.

Entry Criteria

Not all funding rates justify the trade. You need to account for:

  • Transaction fees: Entry and exit costs
  • Spread: Difference between spot and perp price at entry
  • Liquidation risk: Your short perp needs margin

A good minimum threshold is 0.03% per 8 hours (roughly 32% annualised). Below this, fees and risk may not justify the position.

Running It on LMEX

LMEX supports this trade natively — BTC-USDT spot and BTC-PERP futures are both listed. The same API key works across both markets.

Key API endpoints:

  • Funding rate: `GET /api/v2.3/market_summary?symbol=BTC-PERP` (check `fundingRate` field)
  • Spot order: `POST /api/v3.3/order`
  • Futures order: `POST /api/v2.3/order`

Risk Management

Despite being "market neutral", this strategy carries real risks:

Basis risk: The spot and perp prices can diverge temporarily. In extreme volatility, your perp may get liquidated before the position can be closed cleanly.

Funding rate reversals: If sentiment shifts bearish, funding goes negative — you pay instead of receive. The bot should monitor the rate and close the trade when it drops below your threshold.

Liquidity: Entering and exiting both legs simultaneously at fair prices requires reasonable liquidity. Stick to BTC-PERP, ETH-PERP and SOL-PERP for best execution.

Automate It

The LMEX.AI Funding Rate Arbitrage bot handles the full workflow: monitors the LMEX funding rate, opens both legs when the rate exceeds your threshold, and closes when it drops below your exit level.

Set your minimum funding rate, position size, and symbols — download the pre-configured Python script from the Strategy Builder and deploy it.

Build Your Funding Rate Arb Bot →