金融机器学习
金融机器学习:MlFinLab 提供金融机器学习高级实现,包括信息驱动 bars(tick/volume/dollar/imbalance bars)、分数阶差分和回测工具,支持多市场因子研究与策略验证。 含 25 条反模式约束。
晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
76 条不可违反的约束
WHENWhen implementing data ingestion for financial bars
ACTIONvalidate CSV input contains exactly 3 columns in order: date_time, price, and volume
CONSEQUENCEThe bar construction pipeline will fail with incorrect column indices, producing bars with swapped price/volume data and corrupting downstream analysis
WHENWhen validating CSV price column format
ACTIONverify price column values are float type
CONSEQUENCENon-float price values will cause numerical computation errors in OHLC aggregation and bar threshold calculations, leading to NaN values in output bars
WHENWhen validating CSV volume column format
ACTIONverify volume column values are numeric (int or float), not string type
CONSEQUENCEString volume values will cause aggregation failures, producing bars with string volume instead of numeric cum_buy_volume and volume totals
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 zvtvz/zvt 的自动化 batch-v1 元数据 + 自动生成 FAQ。