🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

my-crypto-signal-skill

by @k2-l

Crypto trading signal, price prediction, market analysis for any Binance pair (BTC, ETH, SOL, USDT...). Trigger on: crypto, signal, buy, sell, "should I buy"...

Versionv1.0.5
Downloads1,017
TERMINAL
clawhub install my-crypto-signal-skill

πŸ“– About This Skill


name: crypto-signal description: > Crypto trading signal, price prediction, market analysis for any Binance pair (BTC, ETH, SOL, USDT...). Trigger on: crypto, signal, buy, sell, "should I buy", trade, CPI, Fed, macro news.

Crypto Signal Skill

Rules

  • NEVER print raw JSON or file contents; summarize key fields only.
  • NEVER invent probability forecasts or advice beyond what the script outputs.
  • After signal completes: write llm_judgment into the signal JSON (1-2 sentences max), then run verify. Do NOT do anything else.
  • When reading any .json file, extract only: direction, confidence, score, key factor votes, news_summary. Discard the rest.
  • Setup

    Credentials: ~/.openclaw/credentials/crypto-signal.json (auto-created, chmod 600). Required: News_apiKey / NEWSAPI_KEY Β· Optional: CP_apiKey/CRYPTOPANIC_KEY, Bian_apiKey/BINANCE_API_KEY, proxy/HTTPS_PROXY (mainland China: http://127.0.0.1:7890)

    Usage

    SCRIPT=~/.openclaw/workspace/skills/my-crypto-signal-skill/scripts/crypto_signal.py

  • run [--skip-news] β€” full pipeline (3m/15m/30m/1h β†’ news β†’ signal)
  • fetch [--interval 3m|15m|30m|1h] β€” market data only
  • news β€” news only Β· signal [--skip-news] β€” signal only
  • verify signals/.json β€” verify 30min later Β· report β€” hit rate summary
  • schedule [--dry-run] β€” adaptive news loop
  • Scoring

    Per-timeframe weighted tech score (1hΓ—4, 30mΓ—3, 15mΓ—2, 3mΓ—1) + news sentiment + extreme-keyword veto (Β±3). β‰₯+3=BUY/HIGH Β· +2=BUY/MED Β· -1~+1=HOLD Β· -2=SELL/MED Β· ≀-3=SELL/HIGH

    Scheduler

    NewsAPI 100 req/day: normal 30min; NFP/CPI 12:30UTC→5min/60min; Fed 18:00UTC→5min/90min; opens→10min/30min. Hard stop 95 req, resets UTC midnight.

    πŸ’‘ Examples

    SCRIPT=~/.openclaw/workspace/skills/my-crypto-signal-skill/scripts/crypto_signal.py

  • run [--skip-news] β€” full pipeline (3m/15m/30m/1h β†’ news β†’ signal)
  • fetch [--interval 3m|15m|30m|1h] β€” market data only
  • news β€” news only Β· signal [--skip-news] β€” signal only
  • verify signals/.json β€” verify 30min later Β· report β€” hit rate summary
  • schedule [--dry-run] β€” adaptive news loop
  • βš™οΈ Configuration

    Credentials: ~/.openclaw/credentials/crypto-signal.json (auto-created, chmod 600). Required: News_apiKey / NEWSAPI_KEY Β· Optional: CP_apiKey/CRYPTOPANIC_KEY, Bian_apiKey/BINANCE_API_KEY, proxy/HTTPS_PROXY (mainland China: http://127.0.0.1:7890)

    πŸ”’ Constraints

  • NEVER print raw JSON or file contents; summarize key fields only.
  • NEVER invent probability forecasts or advice beyond what the script outputs.
  • After signal completes: write llm_judgment into the signal JSON (1-2 sentences max), then run verify. Do NOT do anything else.
  • When reading any .json file, extract only: direction, confidence, score, key factor votes, news_summary. Discard the rest.