BTC Risk Radar
Generate a verifiable BTC risk snapshot from public data, then produce a concise analyst conclusion.
This skill is a read-only heuristic risk-state framework, not a full institutional analytics stack. Several fields are deliberate proxies / approximations and must be presented as such.
Workflow
- 1. Run
scripts/btc_risk_radar.py to collect current public data and compute metrics. - Read JSON output first; treat it as the source of truth.
- Explain conclusions with explicit confidence, caveats, and data gaps.
- Avoid deterministic predictions; present risk state (GREEN/AMBER/RED) and trigger reasons.
- If venue coverage is partial, keep going and surface degraded confidence rather than pretending coverage is complete.
Quick Audit Path
For a fast review:
- 1. Run INLINECODE1
- Run INLINECODE2
- Confirm the script only performs read-only public HTTP requests and returns a market snapshot with caveats.
- Verify that proxy metrics and partial-data conditions are explicitly disclosed in output.
Commands
CODEBLOCK0
Safety / Scope Boundary
- - Read-only skill: query public market APIs only.
- Use no authentication, cookies, API keys, private accounts, or wallet access.
- Execute no trades, place no orders, and mutate no exchange state.
- Write no files and send no external messages as part of normal use.
- Produce analysis only; not investment advice.
Output Policy
- - Default language behavior:
auto. - If
--lang auto and the prompt contains Chinese, switch final narrative to Chinese. - If
--lang auto and no Chinese is detected, use English. - INLINECODE6 output is language-neutral.
- Always include:
-
as_of_utc
- key metrics (ATM IV, RR25, RR15, put-volume proxy, funding, basis)
-
availability
-
data_gaps
-
degraded_mode
- 72h validation matrix (
validation_72h)
- confidence (
confidence.score,
confidence.level)
- action trigger set (
action_triggers)
- data-source note and caveats
-
pro (default): concise trading/risk language
-
beginner: plain-language educational explanation with metric interpretation
-
normal (default)
-
high-alert (more sensitive thresholds for macro/event windows)
Interpretation Guardrails
- -
put_buy_share_proxy is a proxy from put/call volume split, not true aggressor signed-flow. - RR and ATM IV are computed from front-expiry delta-nearest options; this is robust but may differ from proprietary dashboards.
- Funding regime is an aggregated public snapshot, not a full term-structure model.
- RED means elevated downside risk pricing, not guaranteed crash.
- Partial venue failure should lower confidence, not silently disappear from the narrative.
Data Sources (public)
-
/public/get_instruments
-
/public/get_order_book
-
/public/get_book_summary_by_currency
-
/public/get_index_price
-
/public/get_book_summary_by_instrument
-
/v2/prices/BTC-USD/spot
- - Binance Public API (optional)
-
/api/v3/ticker/price
-
/api/v5/market/ticker
-
/api/v5/public/funding-rate
- INLINECODE29
BTC 风险雷达
从公开数据生成可验证的BTC风险快照,然后输出简洁的分析师结论。
本技能是一个只读的启发式风险状态框架,并非完整的机构级分析工具。多个字段属于有意的代理指标/近似值,必须如实呈现。
工作流程
- 1. 运行 scripts/btcriskradar.py 收集当前公开数据并计算指标。
- 首先读取JSON输出;将其视为数据来源的真实依据。
- 以明确的置信度、注意事项和数据缺口来解释结论。
- 避免确定性预测;呈现风险状态(绿色/琥珀色/红色)及触发原因。
- 如果交易所覆盖范围不完整,继续运行并标明降级的置信度,而非假装覆盖完整。
快速审计路径
用于快速审查:
- 1. 运行 python3 skills/btc-risk-radar/scripts/btcriskradar.py --sources
- 运行 python3 skills/btc-risk-radar/scripts/btcriskradar.py --json
- 确认脚本仅执行只读的公开HTTP请求,并返回带有注意事项的市场快照。
- 验证代理指标和部分数据条件是否在输出中明确披露。
命令
bash
python3 skills/btc-risk-radar/scripts/btcriskradar.py --json
python3 skills/btc-risk-radar/scripts/btcriskradar.py --sources
python3 skills/btc-risk-radar/scripts/btcriskradar.py --version
python3 skills/btc-risk-radar/scripts/btcriskradar.py --prompt 用户问题
python3 skills/btc-risk-radar/scripts/btcriskradar.py --lang en
python3 skills/btc-risk-radar/scripts/btcriskradar.py --lang zh
python3 skills/btc-risk-radar/scripts/btcriskradar.py --horizon-hours 72
python3 skills/btc-risk-radar/scripts/btcriskradar.py --event-mode high-alert
python3 skills/btc-risk-radar/scripts/btcriskradar.py --audience beginner --lang zh
安全/范围边界
- - 只读技能:仅查询公开市场API。
- 不使用任何认证、cookies、API密钥、私人账户或钱包访问。
- 不执行任何交易、不下任何订单、不修改任何交易所状态。
- 正常使用时不写入任何文件,不发送任何外部消息。
- 仅生成分析结果;不构成投资建议。
输出策略
- - 默认语言行为:auto。
- 如果 --lang auto 且提示词包含中文,则将最终叙述切换为中文。
- 如果 --lang auto 且未检测到中文,则使用英文。
- --json 输出为语言中立格式。
- 始终包含:
- as
ofutc
- 关键指标(ATM IV、RR25、RR15、看跌成交量代理指标、资金费率、基差)
- availability
- data_gaps
- degraded_mode
- 72小时验证矩阵(validation_72h)
- 置信度(confidence.score、confidence.level)
- 行动触发集(action_triggers)
- 数据来源说明和注意事项
- pro(默认):简洁的交易/风险语言
- beginner:包含指标解读的通俗教育性解释
- normal(默认)
- high-alert(针对宏观/事件窗口的更敏感阈值)
解读护栏
- - putbuyshare_proxy 是基于看跌/看涨成交量分割的代理指标,并非真实的主动方签名流量。
- RR和ATM IV根据最近到期日的delta最近期权计算;该方法稳健,但可能与专有仪表盘存在差异。
- 资金费率制度是聚合的公开快照,并非完整的期限结构模型。
- 红色表示下行风险定价升高,并非保证崩盘。
- 部分交易所故障应降低置信度,而非在叙述中悄然消失。
数据来源(公开)
- /public/get_instruments
- /public/get
orderbook
- /public/get
booksummary
bycurrency
- /public/get
indexprice
- /public/get
booksummary
byinstrument
- /v2/prices/BTC-USD/spot
- /api/v3/ticker/price
- /api/v5/market/ticker
- /api/v5/public/funding-rate
- /v5/market/tickers