home / skills / openclaw / skills / funding-rate-trader

funding-rate-trader skill

/skills/dagangtj/funding-rate-trader

This skill audits crypto funding rates, identifies negative opportunities, and assists automated trading with risk controls and profit compounding.

npx playbooks add skill openclaw/skills --skill funding-rate-trader

Review the files below or copy the command above to add this skill to your agents.

Files (7)
SKILL.md
1.4 KB
---
name: funding-rate-trader
description: Crypto funding rate arbitrage strategy. Scan negative funding rates, auto-trade with stop-loss/take-profit. No API key needed for scanning, Binance API for trading.
version: 1.0.1
author: guanjia
---

# Funding Rate Trader

Automated crypto funding rate arbitrage strategy for Binance Futures.

## Features

- šŸ” Scan 50+ coins for negative funding rates
- šŸ“Š Score opportunities by rate + trend + RSI
- šŸ¤– Auto-trade with configurable leverage
- šŸ›”ļø Auto stop-loss and take-profit
- šŸ’° Compound profits with rolling strategy

## Quick Start

```bash
# Scan opportunities (no API needed)
node scan.js

# Run auto-trader (requires Binance API)
node trader.js

# Monitor positions
node monitor.js
```

## Configuration

Create `~/.openclaw/secrets/binance.json`:
```json
{
  "apiKey": "your-api-key",
  "secret": "your-secret"
}
```

## Strategy

1. **Entry**: Negative funding rate + upward trend
2. **Leverage**: 20x (adjustable)
3. **Stop-loss**: -10%
4. **Take-profit**: +20%
5. **Compound**: Roll profits into next trade

## Expected Returns

| Capital | Daily Income | Annual (est) |
|---------|--------------|--------------|
| $100 | $5-15 | 1800-5400% |
| $500 | $25-75 | 1800-5400% |
| $1000 | $50-150 | 1800-5400% |

*Returns depend on market conditions and funding rates*

## Risk Warning

āš ļø High leverage trading is risky. Only trade what you can afford to lose.

## License

MIT

Overview

This skill automates a crypto funding rate arbitrage strategy for Binance Futures. It scans dozens of perpetual contracts for negative funding rates, scores opportunities by rate, trend, and RSI, and can auto-execute trades with configurable leverage and risk parameters. No API key is required to scan; Binance API is used only for trading.

How this skill works

The scanner inspects funding rates across 50+ coins, combines rate magnitude with short-term trend and RSI to rank opportunities, and outputs actionable signals. The trader module can open leveraged short or long positions, apply stop-loss and take-profit rules, and optionally roll profits into subsequent trades. Monitoring tools track live positions and performance metrics.

When to use it

  • When funding rates show consistent negative values and short-term momentum supports entry
  • To automate scanning of many perpetual contracts without continuous manual monitoring
  • If you want to deploy a configurable leverage strategy with built-in stop-loss/take-profit
  • When you need a system to compound returns by rolling profits into new trades
  • For backtesting or live execution on Binance Futures with API credentials

Best practices

  • Start with low capital and lower leverage (below 20x) while validating the strategy
  • Use conservative stop-loss and take-profit values and adjust per market volatility
  • Run the scanner without API keys first to evaluate signal quality before trading
  • Keep Binance API keys secure and restrict permissions to trading only
  • Continuously monitor performance and adjust scoring thresholds and risk parameters

Example use cases

  • Scan and rank contracts every hour to find negative funding opportunities across many coins
  • Automatically open a position with 20x leverage when a high-scoring signal appears, with a preset stop-loss
  • Compound profits by configuring the trader to roll realized gains into the next trade
  • Use monitoring module to alert on liquidation risk, P&L, and missed exit conditions
  • Backtest historical funding and price data to validate parameter choices before live trading

FAQ

Do I need an API key to scan for opportunities?

No. Scanning and scoring signals can run without API keys; trading requires Binance API credentials.

What risk controls are included?

The skill supports configurable stop-loss and take-profit levels, leverage limits, and rolling options; you should still set conservative defaults and monitor positions.

Are returns guaranteed?

No. Returns depend on market conditions and funding rates. High leverage increases both potential gains and losses.