ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

solana-funding-arb-cn

Solana 资金费率套利 | Solana Funding Rate Arbitrage. 永续合约资金费率套利 | Perpetual funding rate arbitrage. 监控资金费率、发现套利机会 | Monitor funding rates, find arb opportunities. 触发词:Solana、资金费率、套利、funding rate.

Why use this skill?

Automate delta-neutral funding rate arbitrage on Solana DEXs. Capture high APYs with this OpenClaw agent skill supporting Drift and Flash Trade.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/guohongbin-git/solana-funding-arb-cn
Or

What This Skill Does

The Solana Funding Rate Arbitrage skill is a specialized automation tool designed for perpetual DEX liquidity providers and traders. Its primary function is to exploit the interest rate differentials between Solana-based perpetual exchanges like Drift Protocol and Flash Trade. By maintaining a delta-neutral position—opening a long position on one exchange and a matching short position on another—the agent captures funding rate payments without exposure to underlying price volatility. The agent continuously monitors funding rates, calculates the potential spread, and automatically executes trades to secure these yields. It handles complex tasks like automated position management, stop-loss triggers, and portfolio rebalancing, making it a robust solution for hands-off yield generation.

Installation

To integrate this skill into your OpenClaw agent, use the command: clawhub install openclaw/skills/skills/guohongbin-git/solana-funding-arb-cn. After installation, configure the tool by navigating to the scripts folder and ensuring your environment variables (specifically SOLANA_PRIVATE_KEY or SOLANA_WALLET_PATH) are defined. Edit the ~/.secrets/funding-arb-config.json file to align with your risk tolerance, such as setting the min_apy_threshold and max_position_usd. Finally, verify connectivity by running npm run trade:scan to ensure your RPC provider is responding correctly.

Use Cases

This skill is ideal for DeFi yield seekers looking to diversify beyond standard liquidity provision or staking. It is perfect for market-neutral strategies where you aim to earn high APY during volatile market conditions. Additionally, it serves as a sophisticated automation layer for users who want to manage multiple DEX positions without constant manual oversight. It is particularly useful for traders who want to capture high funding rates during periods of market bias, where one side of the market is aggressively betting on direction while you collect the fees from both sides.

Example Prompts

  1. "Check the current funding rate spread between Drift and Flash Trade and tell me if it meets my 100% APY threshold."
  2. "Update my Solana funding arb config to be more conservative with a 1.5x leverage and initiate a dry run scan."
  3. "Show me the current performance of my active arbitrage positions, including total funding collected and any open drawdown."

Tips & Limitations

Always monitor your slippage and network fees; high transaction costs on Solana can eat into small arbitrage spreads. Ensure your max_dd_pct is set to a level that you are comfortable with, as liquidation risks exist on high-leverage positions. Note that the strategy relies heavily on the availability and accuracy of DEX APIs; ensure your RPC endpoint is reliable to prevent stale trade execution. Always start with dry_run enabled for at least 24 hours to observe how the strategy performs under actual market conditions before committing significant capital.

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-guohongbin-git-solana-funding-arb-cn": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#solana#defi#arbitrage#trading#crypto
Safety Score: 2/5

Flags: network-access, file-write, file-read, external-api, code-execution