908dc6a897
审计发现(2026-07-03 15:00 systematic audit): 1. price_monitor 港股仍转 CNY (line 255, 306) → 改为存 HKD 原值, currency=HKD 2. strategy_lifecycle 质量门禁检查 currency=CNY (line 88-91) → 改为接受 HKD/CNY 3. strategy_lifecycle 新建策略写 currency='CNY' (line 2299) → 改为按代码判断 HKD/CNY 4. stale_push_wlin 两处直接 json.load(open(decisions.json)) → 改为 read_decisions() 5. stale_push_wlin 直接 json.load(open(portfolio.json)) → 改为 read_portfolio() 6. DB holdings/holding_strategies: 8只HK股currency从CNY改为HKD 7. calc_total_mv 增加港股HKD→CNY汇兑计算 验证: - 建滔 84.45 HKD 浮亏-4.3%(不是-24%) - 现金 132,121.93 总资产 953,295 - 所有8只HK股DB正确标记HKD - price_monitor已重启,下个tick用新逻辑写HKD原值 - stale_push_wlin已换用mo_data读DB
240 lines
5.2 KiB
JSON
240 lines
5.2 KiB
JSON
{
|
|
"holdings": [
|
|
{
|
|
"code": "300308",
|
|
"name": "中际旭创",
|
|
"shares": 100,
|
|
"cost": 1316.53,
|
|
"price": 1116.0,
|
|
"market_value": 111600.0,
|
|
"change_pct": -2.36,
|
|
"currency": "CNY",
|
|
"position_pct": 15.27,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "06869",
|
|
"name": "长飞光纤光缆",
|
|
"shares": 500,
|
|
"cost": 228.65,
|
|
"price": 174.44,
|
|
"market_value": 87220.0,
|
|
"change_pct": 1.64,
|
|
"currency": "CNY",
|
|
"position_pct": 13.47,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "01478",
|
|
"name": "丘钛科技",
|
|
"shares": 11000,
|
|
"cost": 11.68,
|
|
"price": 6.06,
|
|
"market_value": 66660.0,
|
|
"change_pct": 4.02,
|
|
"currency": "CNY",
|
|
"position_pct": 7.97,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "601899",
|
|
"name": "紫金矿业",
|
|
"shares": 2400,
|
|
"cost": 39.89,
|
|
"price": 27.82,
|
|
"market_value": 66768.0,
|
|
"change_pct": 5.78,
|
|
"currency": "CNY",
|
|
"position_pct": 7.34,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "688411",
|
|
"name": "海博思创",
|
|
"shares": 200,
|
|
"cost": 266.95,
|
|
"price": 251.15,
|
|
"market_value": 50230.0,
|
|
"change_pct": -1.78,
|
|
"currency": "CNY",
|
|
"position_pct": 6.31,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "688981",
|
|
"name": "中芯国际",
|
|
"shares": 300,
|
|
"cost": 126.07,
|
|
"price": 140.31,
|
|
"market_value": 42093.0,
|
|
"change_pct": -2.63,
|
|
"currency": "CNY",
|
|
"position_pct": 5.44,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "01888",
|
|
"name": "建滔积层板",
|
|
"shares": 500,
|
|
"cost": 76.5,
|
|
"price": 73.09,
|
|
"market_value": 36545.0,
|
|
"change_pct": 0.597,
|
|
"currency": "CNY",
|
|
"position_pct": 5.28,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "688639",
|
|
"name": "华恒生物",
|
|
"shares": 2800,
|
|
"cost": 21.51,
|
|
"price": 16.66,
|
|
"market_value": 46648.0,
|
|
"change_pct": -1.71,
|
|
"currency": "CNY",
|
|
"position_pct": 5.25,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "300750",
|
|
"name": "宁德时代",
|
|
"shares": 100,
|
|
"cost": 401.78,
|
|
"price": 380.0,
|
|
"market_value": 38000.0,
|
|
"change_pct": -0.61,
|
|
"currency": "CNY",
|
|
"position_pct": 4.64,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "01211",
|
|
"name": "比亚迪股份",
|
|
"shares": 600,
|
|
"cost": 90.92,
|
|
"price": 73.22,
|
|
"market_value": 43932.0,
|
|
"change_pct": 7.854,
|
|
"currency": "CNY",
|
|
"position_pct": 4.62,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "02202",
|
|
"name": "万科企业",
|
|
"shares": 19700,
|
|
"cost": 4.05,
|
|
"price": 2.04,
|
|
"market_value": 40188.0,
|
|
"change_pct": 5.381,
|
|
"currency": "CNY",
|
|
"position_pct": 4.6,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "00700",
|
|
"name": "腾讯",
|
|
"shares": 100,
|
|
"cost": null,
|
|
"price": 374.37,
|
|
"market_value": 37437.0,
|
|
"change_pct": 0.372,
|
|
"currency": "CNY",
|
|
"position_pct": null,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "00981",
|
|
"name": "中芯国际",
|
|
"shares": 500,
|
|
"cost": 65.84,
|
|
"price": 67.06,
|
|
"market_value": 33530.0,
|
|
"change_pct": -3.794,
|
|
"currency": "CNY",
|
|
"position_pct": 4.2,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "300548",
|
|
"name": "长芯博创",
|
|
"shares": 100,
|
|
"cost": 231.46,
|
|
"price": 221.01,
|
|
"market_value": 22101.0,
|
|
"change_pct": -0.45,
|
|
"currency": "CNY",
|
|
"position_pct": 3.2,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "518880",
|
|
"name": "黄金ETF华安",
|
|
"shares": 2400,
|
|
"cost": 12.19,
|
|
"price": 8.67,
|
|
"market_value": 20808.0,
|
|
"change_pct": 2.32,
|
|
"currency": "CNY",
|
|
"position_pct": 2.45,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "300035",
|
|
"name": "中科电气",
|
|
"shares": 1400,
|
|
"cost": 22.29,
|
|
"price": 14.29,
|
|
"market_value": 20006.0,
|
|
"change_pct": 0.85,
|
|
"currency": "CNY",
|
|
"position_pct": 2.42,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "000700",
|
|
"name": "模塑科技",
|
|
"shares": 1400,
|
|
"cost": 14.83,
|
|
"price": 17.6,
|
|
"market_value": 24640.0,
|
|
"change_pct": 4.33,
|
|
"currency": "CNY",
|
|
"position_pct": 2.41,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "600563",
|
|
"name": "法拉电子",
|
|
"shares": 100,
|
|
"cost": 147.18,
|
|
"price": 157.06,
|
|
"market_value": 15706.0,
|
|
"change_pct": -4.41,
|
|
"currency": "CNY",
|
|
"position_pct": 2.3,
|
|
"_currency": "CNY"
|
|
},
|
|
{
|
|
"code": "01088",
|
|
"name": "中国神华",
|
|
"shares": 500,
|
|
"cost": 39.79,
|
|
"price": 34.71,
|
|
"market_value": 17355.0,
|
|
"change_pct": 1.111,
|
|
"currency": "CNY",
|
|
"position_pct": 2.14,
|
|
"_currency": "CNY"
|
|
}
|
|
],
|
|
"total_assets": 853681.69,
|
|
"total_mv": 773205.69,
|
|
"stock_value": null,
|
|
"cash": 80476.0,
|
|
"frozen_cash": 0.0,
|
|
"position_pct": 90.57,
|
|
"currency": "CNY",
|
|
"updated_at": "2026-07-03 16:56"
|
|
} |