360 Secure SkillHub
360 安全技能中心

Crypto Threshold Watcher

该 Skill 通过 Node 脚本按配置读取自选代币列表,向 Binance(主)和 CoinGecko(备)查询行情,判断价格上破/下破、24 小时成交量突增或 RSI 超买超卖等阈值,触发时输出结构化告警文本并可经 Telegram 送达。文件列表仅有 SKILL.md,其引用的 threshold-watcher.js 脚本未包含在内。

zero2ai-hub
zero2ai-hub
热度 80.35
最近更新 2026-05-11 17:33:05
分类:自动化依赖:代码执行 / 第三方 API / 读写文件应用场景:个人理财 / 财务 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add skill-crypto-threshold-watcher
Metadata
name
skill-crypto-threshold-watcher
description
Monitor any crypto token against configurable price/volume thresholds. Fires alerts when entry conditions are met. Use when you need proactive notification that a watchlist token has crossed its threshold — not reactive price checks. Supports multiple tokens, multiple threshold types (price above/below, volume spike), and custom alert messages.

Crypto Threshold Watcher

Proactive alert engine for any token on any exchange. Checks watchlist against configurable thresholds and fires signals.

Watchlist Config

Stored at: ~/.openclaw/workspace/trading/watchlist.json

{
  "tokens": [
    {
      "symbol": "GRASSUSDT",
      "exchange": "binance",
      "thresholds": {
        "price_above": 0.30,
        "price_below": 0.20,
        "volume_24h_above": 50000000
      },
      "notes": "AI data network — entry above $0.30"
    },
    {
      "symbol": "FETUSDT",
      "exchange": "binance",
      "thresholds": {
        "price_above": 0.20,
        "volume_24h_above": 100000000
      },
      "notes": "ASI Alliance token — volume spike = breakout signal"
    }
  ]
}

Usage

Check all watchlist tokens

node ~/.openclaw/workspace/scripts/trading/threshold-watcher.js

Add a token to watchlist

node ~/.openclaw/workspace/scripts/trading/threshold-watcher.js --add --symbol BTCUSDT --price-above 90000

Check single token

node ~/.openclaw/workspace/scripts/trading/threshold-watcher.js --symbol ETHUSDT

Output

When threshold is crossed:

🚨 THRESHOLD ALERT — GRASSUSDT
  Price: $0.3245 (threshold: $0.30 ↑)
  Volume 24h: $62.3M
  Signal: ENTRY — price above threshold
  Time: 2026-03-17 18:30 UTC
  Notes: AI data network — entry above $0.30

When no threshold crossed:

✅ GRASSUSDT — $0.28 (below $0.30 threshold, watching)

Data Sources

  • Primary: Binance API (no auth required for market data)
  • Fallback: CoinGecko API (free tier)

Cron Integration

Add to TASKS.md cron:

Every 1h: node scripts/trading/threshold-watcher.js

Alerts delivered to Telegram DM automatically.

Threshold Types

Type Field Description
Price breakout price_above Price crosses above level
Price breakdown price_below Price drops below level
Volume spike volume_24h_above 24h volume exceeds threshold
RSI overbought rsi_above RSI > value (requires OHLC data)
RSI oversold rsi_below RSI < value

Integration with Trading Pipeline

This skill feeds signals to:

  • backtest-expert — validate signal before acting
  • skill-trading-journal — log signal + decision
  • binance-pro — execute if approved