RQAlpha A 股回测
RQAlpha A 股回测:基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
66 条不可违反的约束
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
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
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.0: 首次发布到 Doramagic.ai。基于 zvtvz/zvt 的自动化 batch-v1 元数据 + 自动生成 FAQ。