LEAN 云端回测
LEAN 云端回测:通过 LEAN 引擎搭建多市场量化研究与回测环境,支持 QuantBook 历史数据获取、技术指标计算和自定义因子建模。 含 25 条反模式约束。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
44 条不可违反的约束
WHENWhen implementing a FundamentalUniverseSelectionModel subclass in C#
ACTIONOverride the Select() method with a fundamental filtering selector or provide it as a constructor parameter
CONSEQUENCENotImplementedException will be thrown at runtime when universe selection is attempted, causing the algorithm to fail during backtesting or live trading
WHENWhen implementing a universe selection model in C#
ACTIONImplement CreateUniverses() method to return IEnumerable<Universe>
CONSEQUENCENotImplementedException will be thrown, preventing the algorithm from initializing and starting the backtest or live trading session
WHENWhen using Python selector functions with FundamentalUniverseSelectionModel
ACTIONConvert Python functions via TrySafeAs() and ConvertToUniverseSelectionSymbolDelegate()
CONSEQUENCEPythonNet cannot natively convert python methods to Func delegates, causing the selector to be null and triggering NotImplementedException at runtime
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 zvtvz/zvt 的自动化 batch-v1 元数据 + 自动生成 FAQ。