fix: write_holdings_batch同步holding_strategies(新持仓即时出现在盯盘)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"updated_at": "2026-07-06T13:53:16.310069",
|
||||
"phase1": {
|
||||
"correct": 0,
|
||||
"wrong": 0,
|
||||
"pending": 0,
|
||||
"accuracy_pct": 0.0
|
||||
},
|
||||
"phase2": {
|
||||
"correct": 0,
|
||||
"wrong": 0,
|
||||
"pending": 0,
|
||||
"accuracy_pct": 0.0
|
||||
},
|
||||
"total_evaluated": 0,
|
||||
"details": []
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"decisions": []
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"collected_at": "2026-07-03T20:30:31.976219",
|
||||
"total_stocks": 0,
|
||||
"summary": {
|
||||
"up_count": 0,
|
||||
"down_count": 0,
|
||||
"deep_loss_count": 0,
|
||||
"holdings_count": 0,
|
||||
"watchlist_count": 0
|
||||
},
|
||||
"index_data": {
|
||||
"上证指数": {
|
||||
"price": 4043.64,
|
||||
"prev_close": 4028.9,
|
||||
"change_pct": 0.37,
|
||||
"high": 4073.88,
|
||||
"low": 4027.26,
|
||||
"timestamp": "20260703161448"
|
||||
},
|
||||
"深证成指": {
|
||||
"price": 15597.51,
|
||||
"prev_close": 15498.81,
|
||||
"change_pct": 0.64,
|
||||
"high": 15823.05,
|
||||
"low": 15432.89,
|
||||
"timestamp": "20260703161436"
|
||||
},
|
||||
"创业板指": {
|
||||
"price": 4019.93,
|
||||
"prev_close": 4017.27,
|
||||
"change_pct": 0.07,
|
||||
"high": 4115.63,
|
||||
"low": 3985.36,
|
||||
"timestamp": "20260703161451"
|
||||
},
|
||||
"恒生指数": {
|
||||
"price": 23350.03,
|
||||
"prev_close": 23055.03,
|
||||
"change_pct": 1.28,
|
||||
"high": 23516.7,
|
||||
"low": 23226.2,
|
||||
"timestamp": "2026/07/03 18:31:15"
|
||||
},
|
||||
"恒生科技": {
|
||||
"price": 4499.0,
|
||||
"prev_close": 4454.28,
|
||||
"change_pct": 1.0,
|
||||
"high": 4558.09,
|
||||
"low": 4480.58,
|
||||
"timestamp": "2026/07/03 16:08:34"
|
||||
}
|
||||
},
|
||||
"sector_groups": {},
|
||||
"stocks": []
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"library_version": "1.0",
|
||||
"total_records": 2,
|
||||
"last_updated": "2026-07-08T01:14:29.611447",
|
||||
"records": [
|
||||
{
|
||||
"task_id": "test-task",
|
||||
"timestamp": "2026-07-08T01:14:29.582665",
|
||||
"attempt": 1,
|
||||
"score": 85,
|
||||
"errors": [
|
||||
"小问题"
|
||||
],
|
||||
"is_failure": false,
|
||||
"context": {
|
||||
"code": "000001",
|
||||
"name": "测试"
|
||||
}
|
||||
},
|
||||
{
|
||||
"task_id": "test-task",
|
||||
"timestamp": "2026-07-08T01:14:29.611356",
|
||||
"attempt": 2,
|
||||
"score": 60,
|
||||
"errors": [
|
||||
"缺少字段: stop_loss",
|
||||
"JSON语法错误"
|
||||
],
|
||||
"is_failure": true,
|
||||
"context": {
|
||||
"code": "000001"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user