Derivatives Anomaly Skill
Detects derivatives anomalies for a specific stock. 异动检测, not a regular overview. No qualifying anomaly → 无异常 or 无异常(简要原因); no extra market commentary.
Broad 英伟达异动 / NVDA 异动 / 腾讯有没有异常 with no dimension = bundled request; use with jeromell-futu-technical-anomaly and jeromell-futu-capital-anomaly.
When to Use
- 衍生品异动:期权、牛熊证、IV、PCR、期权大单、聪明钱、unusual options activity、做多做空情绪、波动率溢价、适不适合卖期权。
- 未收窄维度的广义「异动/异常」(三件套之一)。
- Don't use:常规衍生品概览;当投资建议;缺标的时猜代码。
未读 references/ops.md 不得跑。未加载不得跳过输出规则。
Workflow
先规范化代码再跑脚本。analysis_dimensions 映射表在 references/ops.md。
| 步 | 做 |
| --- | --- |
| parse | stock_target / time_range(默认 7)/ 可选 analysis_dimensions / language_id。缺标的追问,不猜。 |
| 规范化 symbol | US.NVDA / HK.00700 / SH.600519 / SZ.000001。歧义追问。 |
| 映射参数 | 点名维度才填 analysis_dimensions;广义衍生品问题省略,走全量。 |
| language_id | 简中 0 / 繁中 1 / 英文 2;不清则 0。 |
| 跑脚本 | PYTHONUTF8=1 PYTHONIOENCODING=utf-8 python3 scripts/handle_derivatives_anomaly.py <STANDARD_SYMBOL> --time-range <DAYS> [--analysis-dimensions ...] [--language-id <ID>] --json |
| 检查结果 | 按 references/ops.md 出摘要;失败不编造;无异动 无异常;权限问题说清。 |
Behavior Rules
- Always normalize the user-mentioned stock target into a standard symbol before calling the script.
- If the target stock is missing, ask a follow-up question.
- If the market is ambiguous, ask a follow-up question instead of guessing.
- If the user asks a broad 衍生品问题, omit
analysis_dimensionsand use the full interface. - Do not output raw JSON by default when talking to the user, even if the script returns JSON.
- Do not interpret the result as investment advice or trading guidance.
- If the downstream service reports a permission issue, state that clearly and do not fabricate analysis.
- For non-HK stocks, do not force warrant-specific conclusions; use
不适用or无异常.
脚本 / ref
scripts/handle_derivatives_anomaly.py— 唯一入口。不另写 API 客户端。references/ops.md— Parameters、映射表、Output Rules、Preferred template、Examples、Interpretation。
微信扫一扫