← Back to Skills Marketplace
dagangtj

Crypto Funding Alert

by dagangtj · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1656
Downloads
0
Stars
6
Active Installs
2
Versions
Install in OpenClaw
/install crypto-funding-alert
Description
Real-time crypto funding rate scanner with smart alerts. Finds negative funding rates for profitable long positions. Supports Binance futures. No API key nee...
README (SKILL.md)

Crypto Funding Rate Alert

Real-time cryptocurrency funding rate scanner that identifies profitable opportunities with negative funding rates on Binance futures markets.

Features

  • Smart Scanning: Monitors 40+ major cryptocurrencies for negative funding rates
  • Risk Management: Built-in safety filters (volume, leverage limits, stop-loss)
  • Scoring System: Combines funding rate, price trend, and trading volume
  • Signal Classification: STRONG / MODERATE / WATCH alerts
  • No API Key Required: Uses public Binance API endpoints
  • Historical Tracking: Saves scan results to JSONL for analysis

How It Works

When funding rates are negative, longs receive payments from shorts. This creates a profitable opportunity to:

  1. Open a long position
  2. Collect funding fees every 8 hours
  3. Benefit from potential price appreciation

The scanner filters opportunities by:

  • Minimum absolute funding rate (0.05%)
  • Minimum 24h volume ($10M)
  • Price trend analysis
  • Composite scoring algorithm

Usage

Basic Scan

node scan.js

With Custom Config

node scan.js --max-leverage 2 --min-volume 20000000 --stop-loss 0.15

Automated Monitoring (Cron)

# Add to OpenClaw cron - scan every 4 hours
openclaw cron add "0 */4 * * *" "cd ~/.openclaw/workspace/skills/crypto-funding-alert && node scan.js"

Configuration

Edit the SAFE_CONFIG object in scan.js:

const SAFE_CONFIG = {
  maxLeverage: 3,          // Maximum leverage (1-5x recommended)
  maxPositionPct: 0.3,     // Max position size (30% of capital)
  stopLossPct: 0.10,       // Stop-loss percentage (10%)
  minVolume: 10000000,     // Minimum 24h volume ($10M)
  minAbsRate: 0.0005,      // Minimum funding rate (0.05%)
  maxCoins: 5,             // Max simultaneous positions
};

Output Example

🔍 Safe Funding Rate Monitor | 2026-02-26T06:21:00.000Z
══════════════════════════════════════════════════════════════════════
Safety: 3x max | 10% stop-loss | $10M min volume
══════════════════════════════════════════════════════════════════════

  Signal   Coin     Rate      24h     Vol($M)  Score  Annual(3x)
  ────────────────────────────────────────────────────────────────
  🟢 STRONG   DOGE     -0.0125%    2.34%    145.2    72.3  41%
  🟡 MODERATE SOL      -0.0089%   -1.12%     89.5    48.7  29%
  ⚪ WATCH    XRP      -0.0056%   -2.45%     67.3    35.2  18%

🏆 推荐操作:
   DOGE: 开多 3x | 止损 10% | 费率 -0.0125% | 年化 41%

══════════════════════════════════════════════════════════════════════
📁 历史记录: data/funding-monitor/scan_history.jsonl

Safety Rules

Based on real trading experience:

  • Max Leverage: 3x (reduces liquidation risk)
  • Position Sizing: ≤30% per coin (diversification)
  • Stop Loss: 10% minimum (capital preservation)
  • Volume Filter: Only liquid markets ($10M+)
  • Trend Check: Prefer positive 24h momentum
  • No Panic Trading: Skip during extreme volatility

Data Storage

Scan results are saved to:

~/.openclaw/workspace/data/funding-monitor/scan_history.jsonl

Each line contains:

{
  "timestamp": "2026-02-26T06:21:00.000Z",
  "results": [...],
  "config": {...}
}

Command-Line Options

node scan.js [options]

Options:
  --max-leverage \x3Cn>      Maximum leverage (default: 3)
  --min-volume \x3Cn>        Minimum 24h volume in USD (default: 10000000)
  --stop-loss \x3Cn>         Stop-loss percentage (default: 0.10)
  --min-rate \x3Cn>          Minimum absolute funding rate (default: 0.0005)
  --max-coins \x3Cn>         Maximum simultaneous positions (default: 5)
  --coins \x3Clist>          Comma-separated coin list (default: built-in list)
  --output \x3Cpath>         Custom output directory

Integration Examples

Telegram Alert

node scan.js | grep "🟢 STRONG" && openclaw message send --target @me --message "Strong funding opportunity detected!"

Discord Webhook

RESULT=$(node scan.js)
curl -X POST $DISCORD_WEBHOOK -H "Content-Type: application/json" -d "{\"content\":\"$RESULT\"}"

Custom Script

const { exec } = require('child_process');

exec('node scan.js', (err, stdout) => {
  const lines = stdout.split('\
');
  const strong = lines.filter(l => l.includes('🟢 STRONG'));
  
  if (strong.length > 0) {
    // Your custom logic here
    console.log('Opportunities found:', strong);
  }
});

Disclaimer

This tool is for informational purposes only. Cryptocurrency trading involves substantial risk of loss. Always:

  • Do your own research
  • Never invest more than you can afford to lose
  • Use proper risk management
  • Test strategies with small amounts first
  • Understand funding rate mechanics before trading

Requirements

  • Node.js 14+
  • Internet connection
  • No API keys needed for scanning

Support

For issues or feature requests, visit the ClawHub repository or contact the skill author.

License

MIT

Keywords

crypto, trading, funding-rate, binance, futures, arbitrage, defi, scanner, alert, monitoring, negative-funding, long-position, risk-management, automated-trading, cryptocurrency

Usage Guidance
This skill appears coherent and limited to scanning public Binance futures endpoints and writing local logs. Before installing: (1) review any webhook/cron automation you add — webhook tokens are not required by the skill and should be kept secret; (2) run the scanner manually first and inspect output files under ~/.openclaw/workspace/data/funding-monitor; (3) never supply exchange API keys unless a different tool explicitly needs them; and (4) remember this is an informational scanner, not an automated trader — do not auto-execute trades without additional safeguards and review of trading risk.
Capability Analysis
Type: OpenClaw Skill Name: crypto-funding-alert Version: 1.0.1 The skill is classified as suspicious due to a potential uncontrolled file write vulnerability in `scan.js`. While the default data storage path is safe (`~/.openclaw/workspace/data/funding-monitor/scan_history.jsonl`), the `--output <path>` command-line argument allows writing the `scan_history.jsonl` file to an arbitrary directory. Although `path.join` is used, which mitigates simple path traversal, it still permits writing to any location the process has permissions for. This could be exploited by an attacker to write files to sensitive system directories if they can control the arguments passed to `scan.js`, leading to potential denial of service or other impacts. There is no evidence of intentional malicious behavior like data exfiltration or remote code execution within the provided code or prompt instructions.
Capability Assessment
Purpose & Capability
Name/description (Binance funding-rate scanner) align with the code and SKILL.md. The skill only requires Node and uses public Binance futures endpoints; no API keys or unrelated services are requested.
Instruction Scope
SKILL.md and scan.js confine actions to polling public Binance endpoints and saving JSONL logs under the user's OpenClaw workspace. Example integrations mention Discord/Telegram/webhooks but these are optional examples (not required env vars) — be mindful if you wire in webhook tokens.
Install Mechanism
No install spec; instruction-only skill with a included scan.js. Nothing is downloaded or extracted at install time.
Credentials
The skill declares no required environment variables or credentials. It reads process.env.HOME to construct a local path (expected). Example snippets reference DISCORD_WEBHOOK/other tokens only as optional integrations and are not required by the skill itself.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. It writes logs to ~/.openclaw/workspace/data/funding-monitor (its own data area), which is proportional to its functionality.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crypto-funding-alert
  3. After installation, invoke the skill by name or use /crypto-funding-alert
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Improved documentation with detailed configuration guide and integration examples
v1.0.0
Initial release: Real-time funding rate scanner with smart alerts, risk management, and signal classification
Metadata
Slug crypto-funding-alert
Version 1.0.1
License
All-time Installs 7
Active Installs 6
Total Versions 2
Frequently Asked Questions

What is Crypto Funding Alert?

Real-time crypto funding rate scanner with smart alerts. Finds negative funding rates for profitable long positions. Supports Binance futures. No API key nee... It is an AI Agent Skill for Claude Code / OpenClaw, with 1656 downloads so far.

How do I install Crypto Funding Alert?

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

Is Crypto Funding Alert free?

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

Which platforms does Crypto Funding Alert support?

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

Who created Crypto Funding Alert?

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

💬 Comments