VnPy 期货交易
VnPy 期货交易:VeighNa(原vnpy)支持中国期货自动交易执行,集成日盘/夜盘交易时段管理,并提供CSI300成分股数据下载及Alpha101/LightGBM等因子研究工作流。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
38 条不可违反的约束
WHENWhen registering event handlers
ACTIONuse a handler function signature compatible with Callable[[Event], None]
CONSEQUENCEIncompatible handler signature causes TypeError at runtime when event engine attempts to invoke the handler
WHENWhen instantiating EventEngine
ACTIONcall start() method before putting any events into the queue
CONSEQUENCEEvents put before start() are either lost or processed after unexpected delay, causing missed trading signals or delayed order execution
WHENWhen creating an app that integrates with the platform
ACTIONdefine engine_class attribute pointing to the corresponding BaseEngine subclass
CONSEQUENCEMissing engine_class causes AttributeError when MainEngine.add_app() attempts to instantiate the engine, breaking app integration
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 zvtvz/zvt 的自动化 batch-v1 元数据 + 自动生成 FAQ。