所有LLM cron prompt移除JSON读取,全部走DB

开盘简报/收盘简报/盘前中监控/午后监控/策略评估-每日/系统全局审计
6个LLM cron的prompt统一改为:
  from mo_data import read_portfolio, read_decisions, read_watchlist
  禁止执行 json.load(portfolio.json/decisions.json/watchlist.json)
  港股价格统一标注HKD
  总资产/现金/仓位从digital twin字段读,不自算
This commit is contained in:
知微
2026-07-03 10:03:00 +08:00
parent cd8eba74e4
commit e31bb9e089
6 changed files with 1428 additions and 1046 deletions
+58 -58
View File
@@ -6,7 +6,7 @@
"shares": 100,
"cost": 1316.53,
"price": 1145.0,
"market_value": 113000.0,
"market_value": 113401.0,
"change_pct": 0.17,
"currency": "CNY",
"position_pct": 15.27,
@@ -17,9 +17,9 @@
"name": "长飞光纤光缆",
"shares": 500,
"cost": 263.72,
"price": 167.16,
"market_value": 83230.0,
"change_pct": -2.61,
"price": 175.65,
"market_value": 87135.0,
"change_pct": 2.343,
"currency": "CNY",
"position_pct": 13.47,
"_currency": "CNY"
@@ -29,9 +29,9 @@
"name": "丘钛科技",
"shares": 11000,
"cost": 13.47,
"price": 5.83,
"market_value": 64130.0,
"change_pct": -1.895,
"price": 6.01,
"market_value": 65560.0,
"change_pct": 3.125,
"currency": "CNY",
"position_pct": 7.97,
"_currency": "CNY"
@@ -41,9 +41,9 @@
"name": "紫金矿业",
"shares": 2400,
"cost": 39.89,
"price": 27.7,
"market_value": 66000.0,
"change_pct": 5.32,
"price": 27.98,
"market_value": 67320.0,
"change_pct": 6.39,
"currency": "CNY",
"position_pct": 7.34,
"_currency": "CNY"
@@ -53,9 +53,9 @@
"name": "海博思创",
"shares": 200,
"cost": 266.95,
"price": 256.73,
"market_value": 51160.0,
"change_pct": 0.4,
"price": 257.19,
"market_value": 50760.0,
"change_pct": 0.58,
"currency": "CNY",
"position_pct": 6.31,
"_currency": "CNY"
@@ -65,9 +65,9 @@
"name": "中芯国际",
"shares": 300,
"cost": 126.07,
"price": 144.98,
"market_value": 43467.0,
"change_pct": 0.61,
"price": 142.58,
"market_value": 42555.0,
"change_pct": -1.05,
"currency": "CNY",
"position_pct": 5.44,
"_currency": "CNY"
@@ -77,9 +77,9 @@
"name": "建滔积层板",
"shares": 500,
"cost": 88.23,
"price": 65.98,
"market_value": 32970.0,
"change_pct": -9.19,
"price": 73.83,
"market_value": 36870.0,
"change_pct": 1.611,
"currency": "CNY",
"position_pct": 5.28,
"_currency": "CNY"
@@ -89,9 +89,9 @@
"name": "华恒生物",
"shares": 2800,
"cost": 21.51,
"price": 17.12,
"market_value": 47768.0,
"change_pct": 1.0,
"price": 16.73,
"market_value": 46676.0,
"change_pct": -1.3,
"currency": "CNY",
"position_pct": 5.25,
"_currency": "CNY"
@@ -101,9 +101,9 @@
"name": "宁德时代",
"shares": 100,
"cost": 401.78,
"price": 382.0,
"market_value": 38196.0,
"change_pct": -0.09,
"price": 383.18,
"market_value": 38506.0,
"change_pct": 0.22,
"currency": "CNY",
"position_pct": 4.64,
"_currency": "CNY"
@@ -113,9 +113,9 @@
"name": "比亚迪股份",
"shares": 600,
"cost": 104.87,
"price": 75.0,
"market_value": 44268.0,
"change_pct": 10.47,
"price": 71.35,
"market_value": 42552.0,
"change_pct": 5.109,
"currency": "CNY",
"position_pct": 4.62,
"_currency": "CNY"
@@ -125,9 +125,9 @@
"name": "万科企业",
"shares": 19700,
"cost": 4.67,
"price": 1.98,
"market_value": 38415.0,
"change_pct": 2.24,
"price": 1.99,
"market_value": 39203.0,
"change_pct": 3.139,
"currency": "CNY",
"position_pct": 4.6,
"_currency": "CNY"
@@ -137,9 +137,9 @@
"name": "腾讯",
"shares": 100,
"cost": null,
"price": 376.45,
"market_value": 37714.0,
"change_pct": 0.93,
"price": 381.13,
"market_value": 37975.0,
"change_pct": 2.185,
"currency": "CNY",
"position_pct": null,
"_currency": "CNY"
@@ -149,9 +149,9 @@
"name": "中芯国际",
"shares": 500,
"cost": 75.94,
"price": 68.15,
"market_value": 34030.0,
"change_pct": -2.24,
"price": 69.45,
"market_value": 34485.0,
"change_pct": -0.373,
"currency": "CNY",
"position_pct": 4.2,
"_currency": "CNY"
@@ -161,9 +161,9 @@
"name": "长芯博创",
"shares": 100,
"cost": 231.46,
"price": 222.34,
"market_value": 22000.0,
"change_pct": 0.15,
"price": 224.77,
"market_value": 22039.0,
"change_pct": 1.25,
"currency": "CNY",
"position_pct": 3.2,
"_currency": "CNY"
@@ -173,9 +173,9 @@
"name": "黄金ETF华安",
"shares": 2400,
"cost": 12.19,
"price": 8.71,
"market_value": 20904.0,
"change_pct": 2.73,
"price": 8.68,
"market_value": 20856.0,
"change_pct": 2.44,
"currency": "CNY",
"position_pct": 2.45,
"_currency": "CNY"
@@ -185,9 +185,9 @@
"name": "中科电气",
"shares": 1400,
"cost": 22.29,
"price": 14.19,
"market_value": 19852.0,
"change_pct": 0.14,
"price": 14.25,
"market_value": 19936.0,
"change_pct": 0.56,
"currency": "CNY",
"position_pct": 2.42,
"_currency": "CNY"
@@ -197,9 +197,9 @@
"name": "模塑科技",
"shares": 1400,
"cost": 14.83,
"price": 16.55,
"market_value": 22512.0,
"change_pct": -1.9,
"price": 17.19,
"market_value": 23870.0,
"change_pct": 1.9,
"currency": "CNY",
"position_pct": 2.41,
"_currency": "CNY"
@@ -209,9 +209,9 @@
"name": "法拉电子",
"shares": 100,
"cost": 147.18,
"price": 161.29,
"market_value": 16027.0,
"change_pct": -1.83,
"price": 159.02,
"market_value": 15700.0,
"change_pct": -3.21,
"currency": "CNY",
"position_pct": 2.3,
"_currency": "CNY"
@@ -221,20 +221,20 @@
"name": "中国神华",
"shares": 500,
"cost": 45.89,
"price": 34.33,
"price": 34.61,
"market_value": 17375.0,
"change_pct": 0.0,
"change_pct": 0.808,
"currency": "CNY",
"position_pct": 2.14,
"_currency": "CNY"
}
],
"total_assets": 898326.0,
"total_mv": 817850.0,
"total_assets": 907735.0,
"total_mv": 827259.0,
"stock_value": null,
"cash": 80476.0,
"frozen_cash": 0.0,
"position_pct": 91.04,
"position_pct": 91.13,
"currency": "CNY",
"updated_at": "2026-07-03 09:31"
"updated_at": "2026-07-03 10:02"
}