# Crypto Signal

> 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.

- Skill: `knownasnaffy/crypto-signal-3` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add knownasnaffy/crypto-signal-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/knownasnaffy/crypto-signal-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: knownasnaffy (https://skillmd.com/u/knownasnaffy)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/knownasnaffy/crypto-signal-3

---





### Credential Fixture Review

`python scripts/_secrets_inline.py` is review material for the `Crypto Signal Skill` skill. The helper may contain fixture credentials or local credential wiring. Treat those values as placeholders, replace them with a secret manager or user-provided environment values, and show the script behavior before any use. Do not contact external services with embedded sample credentials.

# 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 <SYMBOL> [--skip-news]` — full pipeline (3m/15m/30m/1h → news → signal)
- `fetch <SYMBOL> [--interval 3m|15m|30m|1h]` — market data only
- `news <SYMBOL>` — news only · `signal <SYMBOL> [--skip-news]` — signal only
- `verify signals/<file>.json` — verify 30min later · `report` — hit rate summary
- `schedule <SYMBOL> [--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.

