360 Secure SkillHub
360 安全技能中心

Crypto Threshold Watcher

核心功能:监控各交易所加密货币,支持价格上下限、24H成交量、RSI等多类阈值,可通过配置文件或命令行管理监控列表,触发条件时推送警报。典型场景:适合交易用户主动捕捉币种价量突破信号,替代被动查价。输入可通过命令行添加/检查币种或编辑配置文件;输出为警报通知,也可集成到交易流水线。

zero2ai-hub
zero2ai-hub
热度 80.33
最近更新 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