← 返回 Skills 市场
dagangtj

Crypto Funding Alert

作者 dagangtj · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1656
总下载
0
收藏
6
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-funding-alert
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-funding-alert 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
Slug crypto-funding-alert
版本 1.0.1
许可证
累计安装 7
当前安装数 6
历史版本数 2
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1656 次。

如何安装 Crypto Funding Alert?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install crypto-funding-alert」即可一键安装,无需额外配置。

Crypto Funding Alert 是免费的吗?

是的,Crypto Funding Alert 完全免费(开源免费),可自由下载、安装和使用。

Crypto Funding Alert 支持哪些平台?

Crypto Funding Alert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Crypto Funding Alert?

由 dagangtj(@dagangtj)开发并维护,当前版本 v1.0.1。

💬 留言讨论