ao gong
|
c12c9ba335
|
fix(artifact): enforce risk data lineage
|
2026-08-25 22:39:45 +08:00 |
|
ao gong
|
7c7f0c06a7
|
docs(handoff): record market lineage validation
|
2026-08-24 10:44:29 +08:00 |
|
ao gong
|
741d5f1ad3
|
feat(data): snapshot asset returns with stable lineage
|
2026-08-24 10:42:34 +08:00 |
|
ao gong
|
cbb56d2f52
|
docs: record covariance estimator decision
|
2026-08-21 23:49:06 +08:00 |
|
ao gong
|
524fc73852
|
feat: estimate deterministic covariance snapshots
|
2026-08-21 23:47:29 +08:00 |
|
ao gong
|
8ef8e3208e
|
test: define deterministic covariance estimator contract
|
2026-08-21 23:45:40 +08:00 |
|
ao gong
|
dc67f0e982
|
docs: record reproducible risk artifact contract
|
2026-08-21 23:41:21 +08:00 |
|
ao gong
|
1a60fef6e1
|
feat: publish reproducible portfolio risk facts
|
2026-08-21 23:28:34 +08:00 |
|
ao gong
|
a5dc04bf7e
|
test: define reproducible risk snapshot contract
|
2026-08-21 23:24:41 +08:00 |
|
ao gong
|
a3cefe364d
|
feat: add deterministic trade and signal identity
|
2026-08-21 22:32:37 +08:00 |
|
ao gong
|
d6c3614301
|
test: require deterministic trade identity
|
2026-08-21 22:32:14 +08:00 |
|
ao gong
|
8addce4a68
|
wip: hand off research artifact contract
|
2026-08-21 22:31:14 +08:00 |
|
ao gong
|
2071d508d0
|
test: cover sortino boundary contracts
|
2026-08-21 22:30:28 +08:00 |
|
ao gong
|
0568cabda1
|
feat: include signal facts in research artifact
|
2026-08-21 22:30:01 +08:00 |
|
ao gong
|
b2f3da9d66
|
test: require signal facts in research artifact
|
2026-08-21 22:29:32 +08:00 |
|
ao gong
|
cfa5bed188
|
feat: add deterministic research run artifact
|
2026-08-21 22:29:10 +08:00 |
|
ao gong
|
a9465e6479
|
test: define versioned research artifact contract
|
2026-08-21 22:26:51 +08:00 |
|
ao gong
|
55eeff3951
|
docs: add realized ledger weights to handoff
|
2026-08-21 22:22:00 +08:00 |
|
ao gong
|
3b1ad07c69
|
feat: expose realized ledger position weights
|
2026-08-21 22:21:32 +08:00 |
|
ao gong
|
1b5b353098
|
test: define realized ledger weight projection contract
|
2026-08-21 22:21:03 +08:00 |
|
ao gong
|
2bb9f52080
|
wip: hand off ledger-backed attribution
|
2026-08-21 22:19:20 +08:00 |
|
ao gong
|
76bb5494a2
|
docs: record lightweight attribution design references
|
2026-08-21 22:18:24 +08:00 |
|
ao gong
|
f7ad82534a
|
feat: add label-safe component risk decomposition
|
2026-08-21 22:17:05 +08:00 |
|
ao gong
|
35a52d781e
|
test: define labeled component risk contract
|
2026-08-21 22:16:24 +08:00 |
|
ao gong
|
f14ab464f7
|
feat: add strict benchmark-relative performance metrics
|
2026-08-21 22:15:47 +08:00 |
|
ao gong
|
de2f9494fc
|
test: define benchmark-relative performance contract
|
2026-08-21 22:15:05 +08:00 |
|
ao gong
|
19fe22b01a
|
feat: add ledger-backed daily return attribution
|
2026-08-21 22:14:18 +08:00 |
|
ao gong
|
212351e984
|
test: define post-execution return attribution contract
|
2026-08-21 22:13:04 +08:00 |
|
ao gong
|
5fb4b85cc3
|
wip: hand off stacked daily ledger
|
2026-08-21 22:06:51 +08:00 |
|
ao gong
|
a421278527
|
fix: align ledger performance with signal window
|
2026-08-21 22:05:28 +08:00 |
|
ao gong
|
c774a4546a
|
test: exclude factor warmup from performance window
|
2026-08-21 22:04:52 +08:00 |
|
ao gong
|
022b87fdac
|
feat: expose platform-neutral ledger projection
|
2026-08-21 22:03:21 +08:00 |
|
ao gong
|
1b39c53f18
|
test: define daily ledger projection contract
|
2026-08-21 22:02:58 +08:00 |
|
ao gong
|
b794ab2e8f
|
feat: add post-execution daily ledger
|
2026-08-21 22:01:35 +08:00 |
|
ao gong
|
a44e2d306a
|
test: define post-execution daily ledger contract
|
2026-08-21 21:58:01 +08:00 |
|
ao gong
|
15b283bdf9
|
docs: distinguish signal execution and holding times
CI / lite (pull_request) Successful in 4s
|
2026-08-21 21:49:07 +08:00 |
|
ao gong
|
f9b7f2ab1a
|
feat: schedule factor weights for next-session execution
|
2026-08-21 21:47:53 +08:00 |
|
ao gong
|
213aa88deb
|
test: require execution-price input snapshot
|
2026-08-21 21:46:47 +08:00 |
|
ao gong
|
b7f77e2a6c
|
test: define lagged factor-to-execution contract
|
2026-08-21 21:46:00 +08:00 |
|
ao gong
|
c9fb5978f0
|
docs: clarify execution audit result contract
CI / lite (pull_request) Successful in 3s
|
2026-08-21 21:39:12 +08:00 |
|
ao gong
|
b2af2a10a6
|
docs: document auditable execution workflow
|
2026-08-21 21:38:08 +08:00 |
|
ao gong
|
da2ca51ff7
|
fix: enforce cash-backed long-only rebalancing
|
2026-08-21 21:37:02 +08:00 |
|
ao gong
|
ee22d1eb9d
|
test: reproduce execution cash and long-only violations
|
2026-08-21 21:35:47 +08:00 |
|
ao gong
|
17b680604d
|
fix: derive multi-day trades from target-weight deltas
|
2026-08-21 21:35:15 +08:00 |
|
ao gong
|
c51d803daf
|
test: reproduce multi-day execution audit gaps
|
2026-08-21 21:31:52 +08:00 |
|
ao gong
|
5578851d85
|
fix: enforce chronological rebalance scores
CI / lite (pull_request) Canceled after 0s
|
2026-08-21 21:25:27 +08:00 |
|
ao gong
|
b4f7b74c04
|
test: reject unsorted rebalance dates
|
2026-08-21 21:25:11 +08:00 |
|
ao gong
|
0a236622f3
|
docs: add factor-to-backtest portfolio workflow
|
2026-08-21 21:24:41 +08:00 |
|
ao gong
|
88af157ee7
|
fix: validate unique rebalance dates
|
2026-08-21 21:24:17 +08:00 |
|
ao gong
|
a1130ea43b
|
test: reject ambiguous duplicate rebalance dates
|
2026-08-21 21:24:03 +08:00 |
|
ao gong
|
96e8f1ad62
|
feat: build target weights from factor scores
|
2026-08-21 21:23:25 +08:00 |
|
ao gong
|
ecf6b4e4bf
|
test: add red factor-to-weights portfolio contract
|
2026-08-21 21:22:36 +08:00 |
|
ao gong
|
979166ad16
|
docs: document unified backtest result workflow
CI / lite (pull_request) Successful in 3s
|
2026-08-21 21:11:52 +08:00 |
|
ao gong
|
cdf41edf1f
|
feat: add unified weight backtest result facade
|
2026-08-21 21:11:06 +08:00 |
|
ao gong
|
585a635797
|
test: add red contract for unified backtest result
|
2026-08-21 21:10:33 +08:00 |
|
ao gong
|
2ff0630973
|
refactor: clarify quant core validation internals
CI / lite (pull_request) Successful in 3s
|
2026-08-21 21:00:19 +08:00 |
|
ao gong
|
bae4dedf70
|
test: satisfy metric contract lint
|
2026-08-21 20:59:27 +08:00 |
|
ao gong
|
e359792ef5
|
fix: harden quant core calculation boundaries
|
2026-08-21 20:58:30 +08:00 |
|
ao gong
|
0c3a375b1e
|
test: add red contracts for quant core boundaries
|
2026-08-21 20:57:49 +08:00 |
|
 George BerkshireandMavis
|
c04acf0ab6
|
feat: quant_engine 独立量化引擎(v1.2.0 重构 bootstrap)
从 research_results 抽出纯回测核心能力,形成独立成员仓。
## 模块(10 个核心)
| 模块 | 内容 |
|---|---|
| alpha_factors | 158 alpha 公式 + 24 基础算子(移植自 qlib alpha158)+ JSONB 工具 |
| execution | 执行仿真(成本/滑点/T+1/涨跌停/部分成交/价差)+ 多日 NAV + PnL 拆解 |
| indicators | 50+ 技术指标(MACD/KDJ/布林/ATR/ADX/等) |
| data_adapter | 桥接 qtdb_pro 长表与新模块(rename/long-wide/复权/vwap 代理) |
| backtest | weight-based 多日仿真 |
| metrics / perf_stats | 绩效指标 |
| factor_library | 通用方法(turnover/IC/winsorize/OLS) |
| portfolio_decomp / risk | 组合分解 + 风险指标 |
| logging | 统一 logger(标准库 + 可选 loguru) |
## 设计原则
- 零重型依赖(numpy/pandas/scipy)
- mypy strict 0 errors(12 source files)
- 394 tests passed(从 research_results 复制 + 适配)
- ruff clean
## 与 research_results 的关系
- research_results 通过 re-export wrapper 保持向后兼容(src.shared.X → quant_engine.X)
- 47 proj 的 import 路径暂时不变,后续逐步迁移
- 本仓角色:researchhub_workspace 引擎层
Co-Authored-By: Mavis <noreply@mavis.local>
|
2026-08-19 15:50:01 +08:00 |
|