Crypto Sniping
/install crypto-sniping
Crypto Sniping — Binance CEX Trading Bot
Version: 1.0.0
Author: Subhuti
Chains: BTC, ETH, SOL (Binance Spot & Futures)
Quick Start
-
Set API keys:
export BINANCE_API_KEY="your_key" export BINANCE_API_SECRET="your_secret" -
Test mode first:
openclaw skills crypto-sniping --test -
Live trading:
openclaw skills crypto-sniping --live
Features
📊 Signal Generation
- Technical Indicators: RSI, MACD, Bollinger Bands, EMA crossovers
- Volume Analysis: Unusual volume spikes, order flow imbalance
- Support/Resistance: Auto-detect key levels, breakout alerts
🤖 Auto-Trading
- Entry Conditions: RSI \x3C 30 (oversold), MACD bullish crossover, volume spike > 200%
- Exit Conditions: RSI > 70 (overbought), take-profit hit, stop-loss triggered
- Position Sizing: Fixed amount or % of portfolio per trade
🛡️ Risk Management
- Stop-Loss: Fixed % (e.g., -5%) or trailing stop
- Take-Profit: Tiered (sell 50% at 2x, 25% at 5x, 25% at 10x)
- Daily Limits: Max trades per day, max loss per day
🐋 Whale Tracking
- Large Orders: Alert when >$1M order hits order book
- Liquidation Cascades: Monitor funding rates, liquidation clusters
- Smart Money Flow: Track exchange inflows/outflows
📱 Notifications
- Telegram: Real-time alerts for signals, fills, liquidations
- Web Dashboard: View open positions, P&L, trade history
Configuration
Create config.yaml:
# Trading Settings
trading:
mode: paper # paper or live
assets: [BTCUSDT, ETHUSDT, SOLUSDT]
default_position_size: 100 # USDT per trade
max_daily_trades: 5
max_daily_loss: 500 # USDT
# Entry Signals
entry:
rsi_oversold: 30
rsi_period: 14
macd_fast: 12
macd_slow: 26
volume_spike_threshold: 2.0 # 200% of average
min_confidence: 2 # Require 2+ signals to trigger
# Risk Management
risk:
stop_loss_percent: 5
take_profit_tiers:
- { percent: 100, sell: 50 } # At 100% profit, sell 50%
- { percent: 400, sell: 25 } # At 400% profit, sell 25%
- { percent: 900, sell: 25 } # At 900% profit, sell 25%
trailing_stop: true
trailing_stop_percent: 10
# Whale Alerts
whale:
min_order_size: 1000000 # USDT
liquidation_threshold: 10000000 # USDT
funding_rate_alert: 0.01 # 1%
# Notifications
notifications:
telegram:
enabled: true
bot_token: "${TELEGRAM_BOT_TOKEN}"
chat_id: "${TELEGRAM_CHAT_ID}"
log_level: INFO
Commands
# Start monitoring (paper trading)
openclaw skills crypto-sniping start --config config.yaml
# Check signals without trading
openclaw skills crypto-sniping scan
# View open positions
openclaw skills crypto-sniping positions
# View trade history
openclaw skills crypto-sniping history --days 7
# View whale alerts
openclaw skills crypto-sniping whales --threshold 1000000
# Stop bot
openclaw skills crypto-sniping stop
# Backtest strategy
openclaw skills crypto-sniping backtest --asset BTCUSDT --days 30
Architecture
crypto-sniping/
├── src/
│ ├── binance_client.py # API wrapper
│ ├── signals.py # Technical analysis
│ ├── trader.py # Order execution
│ ├── risk_manager.py # Position/risk management
│ ├── whale_tracker.py # Large order monitoring
│ └── notifier.py # Telegram alerts
├── config.yaml # User configuration
├── trades.db # SQLite trade log
└── SKILL.md # This file
Safety First
⚠️ Never share API keys in chat
⚠️ Start with paper trading
⚠️ Set daily loss limits
⚠️ Use restricted API keys (trading only, no withdrawals)
Troubleshooting
"Invalid API key"
- Check key permissions (Enable Spot & Futures Trading)
- Ensure IP whitelist includes your machine
"Insufficient balance"
- Check USDT balance in Spot wallet
- Paper mode uses virtual balance
"No signals generated"
- Lower confidence threshold in config
- Check if markets are trending (signals work best in ranging markets)
Future Enhancements
- Machine learning signal prediction
- Multi-exchange arbitrage
- Options strategies
- Copy trading (follow whale wallets)
- Social sentiment analysis
"The market can stay irrational longer than you can stay solvent." — John Maynard Keynes
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install crypto-sniping - 安装完成后,直接呼叫该 Skill 的名称或使用
/crypto-sniping触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Crypto Sniping 是什么?
Automated Binance bot using RSI, MACD, volume spikes, and whale tracking to generate signals, execute trades, and manage risk on BTC, ETH, and SOL. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。
如何安装 Crypto Sniping?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install crypto-sniping」即可一键安装,无需额外配置。
Crypto Sniping 是免费的吗?
是的,Crypto Sniping 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Crypto Sniping 支持哪些平台?
Crypto Sniping 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Crypto Sniping?
由 dorjenorbulim(@dorjenorbulim)开发并维护,当前版本 v1.0.0。