← 返回 Skills 市场
dorjenorbulim

Crypto Sniping

作者 dorjenorbulim · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
30
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (SKILL.md)

Crypto Sniping — Binance CEX Trading Bot

Version: 1.0.0
Author: Subhuti
Chains: BTC, ETH, SOL (Binance Spot & Futures)


Quick Start

  1. Set API keys:

    export BINANCE_API_KEY="your_key"
    export BINANCE_API_SECRET="your_secret"
    
  2. Test mode first:

    openclaw skills crypto-sniping --test
    
  3. 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

安全使用建议
Before installing, treat this as financial automation: use paper mode first, inspect the complete code, use a dedicated restricted Binance API key with withdrawals disabled, confirm the effective risk limits, keep position sizes small, and understand that Telegram notifications and local trade logs may expose trading activity.
功能分析
Type: OpenClaw Skill Name: crypto-sniping Version: 1.0.0 The skill bundle implements a functional cryptocurrency trading bot for Binance, featuring technical analysis (RSI, MACD), risk management, and whale tracking. The code is well-structured, uses standard libraries (requests, numpy, sqlite3), and follows legitimate API interaction patterns for trading and notifications via Telegram. No evidence of malicious intent, data exfiltration, or prompt injection was found; the requirement for API keys is consistent with the stated purpose of a trading bot.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and code align, but the capability includes signed Binance account access and live market-order execution, which is high-impact financial authority.
Instruction Scope
The documentation encourages paper mode first, but once configured for live mode the bot can trade automatically from generated signals without per-trade confirmation.
Install Mechanism
There is no install spec and the source/homepage are unknown. The included dependencies are simple and the static scan is clean, but provenance should be verified before using trading credentials.
Credentials
Registry requirements declare no env vars or primary credential, while the SKILL.md and code require Binance API key/secret and optionally Telegram credentials.
Persistence & Privilege
The bot runs a continuous trading loop and stores local trading state in trades.db and logs; this is expected for a trading bot but affects ongoing financial decisions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-sniping
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-sniping 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Version bump
元数据
Slug crypto-sniping
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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。

💬 留言讨论