RQAlpha A 股回测

RQAlpha A 股回测:基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。

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

晶体简介

基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。 本 skill 基于开源项目构建并集成 25 条 anti-pattern 约束。访问 doramagic.ai/r/rqalpha-cn-backtest 查看中英双语完整文档和触发场景。适用于 Doramagic 生态(Claude Code / Cursor / openclaw / ChatGPT / Gemini 等)。

Blueprint Source

finance-bp-089

zvtvz/zvt6360a632 source files

Constraints

91total
66fatal
66 must-not-violate

Evidence Quality

Confidence89%

Medium confidence — review before critical use

66 条不可违反的约束

FATALdomain_rulefinance-C-001

WHENWhen looking up an instrument by order_book_id or symbol

ACTIONreturn the same Instrument object with matching metadata

CONSEQUENCEInconsistent instrument lookup causes incorrect trading decisions, as strategies may retrieve different instrument objects for the same security code

FATALdomain_rulefinance-C-002

WHENWhen getting trading dates between start_date and end_date

ACTIONreturn only dates that fall on exchange trading days excluding weekends and holidays

CONSEQUENCEStrategy executes on non-trading days causing order failures and incorrect backtest results that don't match real market conditions

FATALdomain_rulefinance-C-003

WHENWhen retrieving history_bars with adjust_type parameter

ACTIONapply correct price and volume adjustments for splits and dividends based on the specified adjustment type

CONSEQUENCEIncorrect adjustment causes historical returns to be miscalculated, leading to flawed strategy performance evaluation and wrong position sizing

常见问题

讨论 (0)

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

更新历史

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

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