π¦ 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"...
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
signal completes: write llm_judgment into the signal JSON (1-2 sentences max), then run verify. Do NOT do anything else..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.pyrun [--skip-news] β full pipeline (3m/15m/30m/1h β news β signal)fetch [--interval 3m|15m|30m|1h] β market data onlynews β news only Β· signal [--skip-news] β signal onlyverify signals/.json β verify 30min later Β· report β hit rate summaryschedule [--dry-run] β adaptive news loopScoring
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/HIGHScheduler
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 onlynews β news only Β· signal [--skip-news] β signal onlyverify signals/.json β verify 30min later Β· report β hit rate summaryschedule [--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
signal completes: write llm_judgment into the signal JSON (1-2 sentences max), then run verify. Do NOT do anything else..json file, extract only: direction, confidence, score, key factor votes, news_summary. Discard the rest.