refactor: 缠论引擎包化与 Web 分层(ECR-001)

将根目录引擎迁入 chanlun/ 并保留兼容 shim;拆分 TF_DF 与 web 服务;
前端模块化;strategies 改用 chanlun 导入;补充 ESS 文档与 golden 回归。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-05 18:48:20 +08:00
co-authored by Cursor
parent e2e45bc1bc
commit 74dec4e50b
160 changed files with 25576 additions and 23104 deletions
+175
View File
@@ -0,0 +1,175 @@
{
"counts": {
"klu": 400,
"klc": 208,
"bi": 14,
"seg": 2,
"zs": 0,
"bsp": 3
},
"bi_list": [
{
"idx": 0,
"dir": "UP",
"high": 101.3972385599,
"low": 99.1098750909,
"is_sure": true,
"begin": null,
"end": "2024-01-01 04:20:00"
},
{
"idx": 1,
"dir": "DOWN",
"high": 101.3972385599,
"low": 97.8029894896,
"is_sure": true,
"begin": null,
"end": "2024-01-01 11:30:00"
},
{
"idx": 2,
"dir": "UP",
"high": 98.5916795432,
"low": 97.8029894896,
"is_sure": true,
"begin": null,
"end": "2024-01-01 12:30:00"
},
{
"idx": 3,
"dir": "DOWN",
"high": 98.5916795432,
"low": 97.3576825668,
"is_sure": true,
"begin": null,
"end": "2024-01-01 14:35:00"
},
{
"idx": 4,
"dir": "UP",
"high": 99.415466699,
"low": 97.3576825668,
"is_sure": true,
"begin": null,
"end": "2024-01-01 16:05:00"
},
{
"idx": 5,
"dir": "DOWN",
"high": 99.415466699,
"low": 97.7965753597,
"is_sure": true,
"begin": null,
"end": "2024-01-01 17:55:00"
},
{
"idx": 6,
"dir": "UP",
"high": 99.3416062486,
"low": 97.7965753597,
"is_sure": true,
"begin": null,
"end": "2024-01-01 19:00:00"
},
{
"idx": 7,
"dir": "DOWN",
"high": 99.3416062486,
"low": 96.6499037558,
"is_sure": true,
"begin": null,
"end": "2024-01-01 20:35:00"
},
{
"idx": 8,
"dir": "UP",
"high": 98.843249774,
"low": 96.6499037558,
"is_sure": true,
"begin": null,
"end": "2024-01-01 23:00:00"
},
{
"idx": 9,
"dir": "DOWN",
"high": 98.843249774,
"low": 97.2919520243,
"is_sure": true,
"begin": null,
"end": "2024-01-02 01:30:00"
},
{
"idx": 10,
"dir": "UP",
"high": 100.0485357245,
"low": 97.2919520243,
"is_sure": true,
"begin": null,
"end": "2024-01-02 03:10:00"
},
{
"idx": 11,
"dir": "DOWN",
"high": 100.0485357245,
"low": 98.6419182856,
"is_sure": true,
"begin": null,
"end": "2024-01-02 04:35:00"
},
{
"idx": 12,
"dir": "UP",
"high": 101.0661695528,
"low": 98.6419182856,
"is_sure": true,
"begin": null,
"end": "2024-01-02 07:50:00"
},
{
"idx": 13,
"dir": "DOWN",
"high": 101.0661695528,
"low": 100.519558471,
"is_sure": false,
"begin": null,
"end": null
}
],
"seg_list": [
{
"idx": 0,
"dir": "DOWN",
"is_sure": true,
"high": null,
"low": null
},
{
"idx": 1,
"dir": "UP",
"is_sure": false,
"high": null,
"low": null
}
],
"zs_list": [],
"bsp_list": [
{
"idx": 0,
"type": "B1",
"dir": "BUY",
"price": 0.0
},
{
"idx": 1,
"type": "B2",
"dir": "BUY",
"price": 0.0
},
{
"idx": 2,
"type": "S1",
"dir": "SELL",
"price": 0.0
}
]
}