{"skill":{"slug":"crypto-funding-alert","displayName":"Crypto Funding Alert","summary":"Real-time crypto funding rate scanner with smart alerts. Finds negative funding rates for profitable long positions. Supports Binance futures. No API key nee...","description":"---\nname: crypto-funding-alert\ndescription: Real-time crypto funding rate scanner with smart alerts. Finds negative funding rates for profitable long positions. Supports Binance futures. No API key needed for scanning.\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"requires\": { \"bins\": [\"node\"] },\n        \"tags\": [\"crypto\", \"trading\", \"funding-rate\", \"binance\", \"futures\", \"arbitrage\", \"defi\", \"scanner\", \"alert\", \"monitoring\"],\n      },\n  }\n---\n\n# Crypto Funding Rate Alert\n\nReal-time cryptocurrency funding rate scanner that identifies profitable opportunities with negative funding rates on Binance futures markets.\n\n## Features\n\n- **Smart Scanning**: Monitors 40+ major cryptocurrencies for negative funding rates\n- **Risk Management**: Built-in safety filters (volume, leverage limits, stop-loss)\n- **Scoring System**: Combines funding rate, price trend, and trading volume\n- **Signal Classification**: STRONG / MODERATE / WATCH alerts\n- **No API Key Required**: Uses public Binance API endpoints\n- **Historical Tracking**: Saves scan results to JSONL for analysis\n\n## How It Works\n\nWhen funding rates are negative, longs receive payments from shorts. This creates a profitable opportunity to:\n1. Open a long position\n2. Collect funding fees every 8 hours\n3. Benefit from potential price appreciation\n\nThe scanner filters opportunities by:\n- Minimum absolute funding rate (0.05%)\n- Minimum 24h volume ($10M)\n- Price trend analysis\n- Composite scoring algorithm\n\n## Usage\n\n### Basic Scan\n\n```bash\nnode scan.js\n```\n\n### With Custom Config\n\n```bash\nnode scan.js --max-leverage 2 --min-volume 20000000 --stop-loss 0.15\n```\n\n### Automated Monitoring (Cron)\n\n```bash\n# Add to OpenClaw cron - scan every 4 hours\nopenclaw cron add \"0 */4 * * *\" \"cd ~/.openclaw/workspace/skills/crypto-funding-alert && node scan.js\"\n```\n\n## Configuration\n\nEdit the `SAFE_CONFIG` object in `scan.js`:\n\n```javascript\nconst SAFE_CONFIG = {\n  maxLeverage: 3,          // Maximum leverage (1-5x recommended)\n  maxPositionPct: 0.3,     // Max position size (30% of capital)\n  stopLossPct: 0.10,       // Stop-loss percentage (10%)\n  minVolume: 10000000,     // Minimum 24h volume ($10M)\n  minAbsRate: 0.0005,      // Minimum funding rate (0.05%)\n  maxCoins: 5,             // Max simultaneous positions\n};\n```\n\n## Output Example\n\n```\n🔍 Safe Funding Rate Monitor | 2026-02-26T06:21:00.000Z\n══════════════════════════════════════════════════════════════════════\nSafety: 3x max | 10% stop-loss | $10M min volume\n══════════════════════════════════════════════════════════════════════\n\n  Signal   Coin     Rate      24h     Vol($M)  Score  Annual(3x)\n  ────────────────────────────────────────────────────────────────\n  🟢 STRONG   DOGE     -0.0125%    2.34%    145.2    72.3  41%\n  🟡 MODERATE SOL      -0.0089%   -1.12%     89.5    48.7  29%\n  ⚪ WATCH    XRP      -0.0056%   -2.45%     67.3    35.2  18%\n\n🏆 推荐操作:\n   DOGE: 开多 3x | 止损 10% | 费率 -0.0125% | 年化 41%\n\n══════════════════════════════════════════════════════════════════════\n📁 历史记录: data/funding-monitor/scan_history.jsonl\n```\n\n## Safety Rules\n\nBased on real trading experience:\n\n- **Max Leverage**: 3x (reduces liquidation risk)\n- **Position Sizing**: ≤30% per coin (diversification)\n- **Stop Loss**: 10% minimum (capital preservation)\n- **Volume Filter**: Only liquid markets ($10M+)\n- **Trend Check**: Prefer positive 24h momentum\n- **No Panic Trading**: Skip during extreme volatility\n\n## Data Storage\n\nScan results are saved to:\n```\n~/.openclaw/workspace/data/funding-monitor/scan_history.jsonl\n```\n\nEach line contains:\n```json\n{\n  \"timestamp\": \"2026-02-26T06:21:00.000Z\",\n  \"results\": [...],\n  \"config\": {...}\n}\n```\n\n## Command-Line Options\n\n```bash\nnode scan.js [options]\n\nOptions:\n  --max-leverage <n>      Maximum leverage (default: 3)\n  --min-volume <n>        Minimum 24h volume in USD (default: 10000000)\n  --stop-loss <n>         Stop-loss percentage (default: 0.10)\n  --min-rate <n>          Minimum absolute funding rate (default: 0.0005)\n  --max-coins <n>         Maximum simultaneous positions (default: 5)\n  --coins <list>          Comma-separated coin list (default: built-in list)\n  --output <path>         Custom output directory\n```\n\n## Integration Examples\n\n### Telegram Alert\n\n```bash\nnode scan.js | grep \"🟢 STRONG\" && openclaw message send --target @me --message \"Strong funding opportunity detected!\"\n```\n\n### Discord Webhook\n\n```bash\nRESULT=$(node scan.js)\ncurl -X POST $DISCORD_WEBHOOK -H \"Content-Type: application/json\" -d \"{\\\"content\\\":\\\"$RESULT\\\"}\"\n```\n\n### Custom Script\n\n```javascript\nconst { exec } = require('child_process');\n\nexec('node scan.js', (err, stdout) => {\n  const lines = stdout.split('\\n');\n  const strong = lines.filter(l => l.includes('🟢 STRONG'));\n  \n  if (strong.length > 0) {\n    // Your custom logic here\n    console.log('Opportunities found:', strong);\n  }\n});\n```\n\n## Disclaimer\n\nThis tool is for informational purposes only. Cryptocurrency trading involves substantial risk of loss. Always:\n- Do your own research\n- Never invest more than you can afford to lose\n- Use proper risk management\n- Test strategies with small amounts first\n- Understand funding rate mechanics before trading\n\n## Requirements\n\n- Node.js 14+\n- Internet connection\n- No API keys needed for scanning\n\n## Support\n\nFor issues or feature requests, visit the ClawHub repository or contact the skill author.\n\n## License\n\nMIT\n\n## Keywords\n\ncrypto, trading, funding-rate, binance, futures, arbitrage, defi, scanner, alert, monitoring, negative-funding, long-position, risk-management, automated-trading, cryptocurrency\n","tags":{"latest":"1.0.1"},"stats":{"comments":0,"downloads":4270,"installsAllTime":7,"installsCurrent":6,"stars":2,"versions":2},"createdAt":1772087109224,"updatedAt":1778993351947},"latestVersion":{"version":"1.0.1","createdAt":1772146232420,"changelog":"Improved documentation with detailed configuration guide and integration examples","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"dagangtj","userId":"s1786jpn4nt7652bs9mehagkad8847v8","displayName":"dagangtj","image":"https://avatars.githubusercontent.com/u/65108318?v=4"},"moderation":null}