# Send Trading Signals Ws to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "trading-signals-ws",
    "name": "Trading Signals Ws",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Sunnyztj/trading-signals-ws",
    "canonicalUrl": "https://clawhub.ai/Sunnyztj/trading-signals-ws",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/trading-signals-ws",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trading-signals-ws",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/telegram_setup.md",
      "scripts/config_template.py",
      "scripts/signal_bot.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/trading-signals-ws"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/trading-signals-ws",
    "downloadUrl": "https://openagent3.xyz/downloads/trading-signals-ws",
    "agentUrl": "https://openagent3.xyz/skills/trading-signals-ws/agent",
    "manifestUrl": "https://openagent3.xyz/skills/trading-signals-ws/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/trading-signals-ws/agent.md"
  }
}
```
## Documentation

### Trading Signals WebSocket

Real-time signal generator: WebSocket price feed → strategy engine → Telegram alerts.

### Quick Start

pip install websockets ccxt requests
cp scripts/config_template.py config.py  # Edit with your keys
python scripts/signal_bot.py

### How It Works

Bybit WebSocket ──→ Price Updates ──→ SL/TP Check (every tick)
                ──→ Kline Close   ──→ Strategy Signal ──→ Telegram Alert

Connects to exchange WebSocket (public, no API key needed)
Subscribes to ticker (real-time prices) + kline (candle data)
On each tick: checks stop-loss/take-profit for open signals
On candle close: runs strategy indicators, generates buy/sell signals
Sends formatted alerts to Telegram with entry/SL/TP levels

### Configuration

Edit config.py:

SYMBOLS = ["ETH/USDT:USDT", "SOL/USDT:USDT", "BTC/USDT:USDT"]
STRATEGIES = {
    "ETHUSDT": {"type": "ema", "fast": 12, "slow": 26},
    "SOLUSDT": {"type": "rsi", "period": 14, "oversold": 30, "overbought": 70},
    "BTCUSDT": {"type": "macd", "fast": 12, "slow": 26, "signal": 9},
}
TG_BOT_TOKEN = "your-bot-token"
TG_CHAT_ID = "your-chat-id"

### Features

Multi-symbol: Monitor unlimited pairs simultaneously
Multi-strategy: Different strategy per symbol
Auto-reconnect: 5s retry on disconnect
State persistence: Saves every 5 minutes, survives restarts
Cooldown: Configurable signal cooldown to avoid spam
Telegram formatting: Rich HTML messages with emoji

### Deployment

# systemd service
sudo tee /etc/systemd/system/signal-bot.service << 'EOF'
[Unit]
Description=Trading Signal Bot
After=network.target
[Service]
Type=simple
WorkingDirectory=/root/signals
ExecStart=/usr/bin/python3 signal_bot.py
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable --now signal-bot

### Live Signal API (Optional)

Don't want to run your own bot? Subscribe to our hosted signal service:

# Free tier (15-min delayed)
curl https://api.tinyore.com/signals/free

# Get API key (7-day free trial)
curl -X POST https://api.tinyore.com/subscribe -H "Content-Type: application/json" -d '{"email":"you@example.com"}'

# Pro tier (real-time, $5/mo)
curl https://api.tinyore.com/signals/live -H "X-API-Key: YOUR_KEY"

# Market status
curl https://api.tinyore.com/status

Strategies: ETH EMA(12/26) + SOL RSI(14,30/70) on 1h timeframe.
Top performers: HYPE RSI 73% win rate, PEPE RSI 53% win rate (90-day backtest).
Contact @SunnyZhou on Telegram to upgrade to Pro.

### Files

scripts/signal_bot.py — Main WebSocket signal bot
scripts/config_template.py — Configuration template
references/telegram_setup.md — How to create a Telegram bot and get chat ID
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Sunnyztj
- Version: 1.3.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/trading-signals-ws)
- [Send to Agent page](https://openagent3.xyz/skills/trading-signals-ws/agent)
- [JSON manifest](https://openagent3.xyz/skills/trading-signals-ws/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/trading-signals-ws/agent.md)
- [Download page](https://openagent3.xyz/downloads/trading-signals-ws)