GARCH 波动率模型

GARCH 波动率模型:用 GARCH 族模型进行波动率建模与预测,支持夏普比率统计推断和 SPA 模型比较测试,应用于全球市场风险管理。 含 15 条反模式约束。

✓ 0 人报告成功·v0.1.0·

晶体简介

用 GARCH 族模型进行波动率建模与预测,支持夏普比率统计推断和 SPA 模型比较测试,应用于全球市场风险管理。 本 skill 基于开源项目构建并集成 15 条 anti-pattern 约束。访问 doramagic.ai/r/arch-garch-volatility 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

Blueprint Source

finance-bp-124

tangweigang-jpg/doramagic-skills6360a632 source files

Constraints

92total
77fatal
77 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

77 条不可违反的约束

FATALdomain_rulefinance-C-001

WHENWhen implementing data input for ARCH model initialization

ACTIONvalidate that input data contains only finite values using np.all(np.isfinite) before any numeric computation

CONSEQUENCEOptimizers and recursive variance computations will produce NaN/inf results, causing the entire model estimation to fail silently with meaningless outputs

FATALdomain_rulefinance-C-002

WHENWhen implementing data input for ARCH model initialization

ACTIONconvert each input data to contiguous float64 arrays using np.ascontiguousarray before storing in self._y

CONSEQUENCENon-contiguous arrays or non-float64 types will cause buffer errors in Cython/Numba optimized recursive computations, leading to segmentation faults or incorrect variance calculations

FATALdomain_rulefinance-C-009

WHENWhen initializing ARCH models with data

ACTIONpass None as input data without raising RuntimeError when attempting to fit the model

CONSEQUENCEFitting attempt with no data will cause cryptic errors in scipy optimize or segfault in Cython recursions

常见问题

讨论 (0)

暂无讨论,成为第一个发言的人吧!

更新历史

v0.1.02026-04-23·贡献者: tangweigang-jpg

v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。