← 返回
沟通协作

Signal Generator

Generate trading signals using BB Breakout or RSI Reversal strategies and send automated alerts to Discord, Telegram, or custom channels.
使用布林带突破或RSI反转策略生成交易信号,并通过Discord、Telegram或自定义频道发送自动提醒。
nititepfirm
沟通协作 clawhub v1.0.0 1 版本 99692.7 Key: 无需
★ 0
Stars
📥 2,271
下载
💾 2
安装
1
版本
#latest

概述

Signal Generator Skill

Generate automated trading signals and send alerts to Discord/Telegram.

📋 Overview

This skill generates trading signals based on technical indicators and automatically sends alerts to your configured channels (Discord, Telegram, etc.).

🚀 Features

  • Multiple Strategies:
  • BB Breakout - Bollinger Bands squeeze + breakout with volume spike
  • RSI Reversal - Overbought/Oversold reversal signals
  • Multi-Timeframe Support - Run on 15m, 1h, 4h, etc.
  • Flexible Targets - Send alerts to Discord, Telegram, or any OpenClaw channel
  • Easy Configuration - Simple JSON config, no coding required

📦 Installation

  1. Copy the skill directory to your OpenClaw workspace:
  2. cp -r signal-generator ~/.openclaw/workspace/skills/
    
  1. Configure your settings (see Configuration below)
  1. Run the skill:
  2. cd ~/.openclaw/workspace/skills/signal-generator
    python3 signal_generator.py
    

⚙️ Configuration

Copy config.json.example to config.json and edit:

{
  "symbol": "BTC/USDT",
  "strategy": "bb_breakout",
  "intervals": ["15m", "1h"],
  "targets": [
    "discord:your_channel_id",
    "telegram:your_chat_id"
  ],
  "filters": {
    "volume_spike": true,
    "trend_filter": false
  }
}

Configuration Options

OptionDescriptionDefault
------------------------------
symbolTrading pair (e.g., BTC/USDT)BTC/USDT
strategyStrategy: bb_breakout or rsi_reversalbb_breakout
intervalsTimeframes to check (e.g., ["15m", "1h"])["15m", "1h"]
targetsWhere to send alerts (channel IDs)[]
filters.volume_spikeRequire volume spike for signalstrue
filters.trend_filterApply trend filter (coming soon)false

🎯 Strategies

BB Breakout (Default)

  • Logic:
  1. BB Squeeze detected (BB inside Keltner Channels)
  2. Price closes outside Bollinger Bands
  3. Volume > 20-period average
  • Long Signal: Close > BB Upper + Volume Spike
  • Short Signal: Close < BB Lower + Volume Spike

RSI Reversal

  • Logic:
  1. RSI < 30 (Oversold) → Long
  2. RSI > 70 (Overbought) → Short
  • Long Signal: RSI crosses below 30 then rises
  • Short Signal: RSI crosses above 70 then falls

📊 Example Usage

Manual Run

cd ~/.openclaw/workspace/skills/signal-generator
python3 signal_generator.py

Output:

📊 **BB Breakout** - BTC/USDT
⏱️ Interval: 15m
💰 Price: $77,564.10

🟢 LONG: False
🔴 SHORT: False

📈 BB Upper: $78,234.50
📉 BB Lower: $76,890.20
🔢 RSI: 52.34

🕐 2026-02-02T11:00:00

Cron/Schedule

Run every 5 minutes:

*/5 * * * * cd ~/.openclaw/workspace/skills/signal-generator && python3 signal_generator.py

🔧 Troubleshooting

No signals generated?

  • Check if config.json exists and is valid JSON
  • Verify symbol is correct (e.g., BTC/USDT, not BTCUSDT)
  • Check exchange connection (Binance API)

Import errors?

  • Ensure quant-trading-bot is accessible:
  • ls /root/quant-trading-bot/src/exchange_api.py
    

📝 License

This skill is provided as-is. Use at your own risk. Trading signals are not financial advice.

🤝 Contributing

Have ideas for new strategies? Contributions welcome!


Version: 1.0.0

Last Updated: 2026-02-02

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 16:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,581
communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,397
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,674