← Back to Skills Marketplace
dagangtj

Funding Rate Trader

by dagangtj · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
614
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install 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 t...
README (SKILL.md)

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

# 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:

{
  "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

Usage Guidance
What to consider before installing: - This skill will perform real trades on Binance if you provide API credentials; it is not read-only. The code calls Binance (public endpoints for scanning) and uses ccxt to place futures orders, set leverage, and create stop-loss/take-profit orders. - The registry metadata does NOT declare that a Binance API key/secret is required, but SKILL.md and the code clearly require a local file: ~/.openclaw/secrets/binance.json. Treat that omission as a serious disclosure mismatch — verify requirements before supplying credentials. - If you decide to use it, follow safety steps: - Use an API key with minimal permissions (enable trading for futures if needed, but DO NOT enable withdrawals). - Consider using a Binance subaccount or a small test account with limited funds. - If possible, apply IP whitelisting to the API key and restrict permissions to those strictly needed. - Store the secrets file with restrictive filesystem permissions (chmod 600) and avoid storing keys in shared locations. - Review/understand the createOrder, setLeverage, and stop-order code paths; test on Binance testnet first. - Install dependencies (Node.js, ccxt) in an isolated environment (container or VM) so code cannot affect other systems. - What would change this assessment: if the registry metadata were corrected to declare the required config path and primary credential, and if a clear dependency/install spec were provided, the package would be coherent and likely classed as benign (still risky because it executes trades). Right now the missing disclosure is the main reason this is flagged as suspicious.
Capability Analysis
Type: OpenClaw Skill Name: funding-rate-trader Version: 1.0.1 The skill bundle is classified as benign. All files, including `SKILL.md`, align with the stated purpose of an automated crypto funding rate arbitrage strategy. The `SKILL.md` does not contain any prompt injection attempts. The JavaScript files (`scan.js`, `trader.js`, `monitor.js`) access Binance API keys from the expected `~/.openclaw/secrets/binance.json` path and use them solely for legitimate interactions with the Binance API via the `ccxt` library (e.g., fetching market data, checking balance, placing trades). There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The financial risks associated with high-leverage trading are explicitly mentioned in the documentation, but this is not a security vulnerability.
Capability Assessment
Purpose & Capability
Name/description match the code: the scripts scan Binance funding rates and can place futures orders. However the registry metadata declares no primary credential and no required config paths, while both SKILL.md and the code require a Binance API key/secret stored at ~/.openclaw/secrets/binance.json. The omission of that credential/config requirement in metadata is an incoherence.
Instruction Scope
SKILL.md explicitly instructs running node scan.js / trader.js / monitor.js and creating ~/.openclaw/secrets/binance.json with apiKey/secret. The runtime instructions align with the code. The skill reads that secrets file and uses ccxt/Binance endpoints; it does not access other unrelated system paths. Note: the instructions cause the agent/user to store plaintext API keys on disk (HOME path) — this is expected for trading but sensitive.
Install Mechanism
There is no install spec. The code depends on Node.js and the ccxt package but dependencies are not declared in metadata or SKILL.md. Lack of an install specification or dependency list is a usability/security gap (user may install packages ad-hoc). No downloads from unknown URLs or obfuscated code were found.
Credentials
Functionally the skill only needs Binance API key and secret (and uses HOME to locate the secrets file). That is proportionate for an auto-trader. The problem is the registry metadata lists no required environment/config or primary credential while both SKILL.md and code explicitly require the Binance API credentials — metadata understatement is a red flag because users may not realize they must provide sensitive credentials.
Persistence & Privilege
The skill does not request always:true and does not attempt to change other skills or system-wide agent configuration. It requires a local secrets file and will run only when invoked; no forced persistent presence or hidden modifications were detected.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install funding-rate-trader
  3. After installation, invoke the skill by name or use /funding-rate-trader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added three new scripts: scan.js, trader.js, and monitor.js for scanning opportunities, auto-trading, and monitoring positions. - Updated documentation with usage instructions for the new scripts. - Version bump to 1.0.1.
v1.0.0
Initial release: Auto-trade funding rate arbitrage
Metadata
Slug funding-rate-trader
Version 1.0.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is Funding Rate Trader?

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 t... It is an AI Agent Skill for Claude Code / OpenClaw, with 614 downloads so far.

How do I install Funding Rate Trader?

Run "/install funding-rate-trader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Funding Rate Trader free?

Yes, Funding Rate Trader is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Funding Rate Trader support?

Funding Rate Trader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Funding Rate Trader?

It is built and maintained by dagangtj (@dagangtj); the current version is v1.0.1.

💬 Comments