现金132121.93/frozen=0写入DB portfolio_summary+portfolio.json

所有HK持仓currency=HKD,价格腾讯实时HKD原值
calc_total_mv正确汇兑处理
总资产953,295
This commit is contained in:
知微
2026-07-03 17:29:52 +08:00
parent b15960ba38
commit 239590c0d4
+36 -36
View File
@@ -17,24 +17,24 @@
"name": "长飞光纤光缆", "name": "长飞光纤光缆",
"shares": 500, "shares": 500,
"cost": 228.65, "cost": 228.65,
"price": 174.44, "price": 201.2,
"market_value": 87220.0, "market_value": 87220.0,
"change_pct": 1.64, "change_pct": 1.64,
"currency": "CNY", "currency": "HKD",
"position_pct": 13.47, "position_pct": 13.47,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "01478", "code": "01478",
"name": "丘钛科技", "name": "丘钛科技",
"shares": 11000, "shares": 11000,
"cost": 11.68, "cost": 11.68,
"price": 6.06, "price": 6.99,
"market_value": 66660.0, "market_value": 66660.0,
"change_pct": 4.02, "change_pct": 4.02,
"currency": "CNY", "currency": "HKD",
"position_pct": 7.97, "position_pct": 7.97,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "601899", "code": "601899",
@@ -77,12 +77,12 @@
"name": "建滔积层板", "name": "建滔积层板",
"shares": 500, "shares": 500,
"cost": 76.5, "cost": 76.5,
"price": 73.09, "price": 84.45,
"market_value": 36545.0, "market_value": 36545.0,
"change_pct": 0.597, "change_pct": 0.78,
"currency": "CNY", "currency": "HKD",
"position_pct": 5.28, "position_pct": 5.28,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "688639", "code": "688639",
@@ -113,48 +113,48 @@
"name": "比亚迪股份", "name": "比亚迪股份",
"shares": 600, "shares": 600,
"cost": 90.92, "cost": 90.92,
"price": 73.22, "price": 84.1,
"market_value": 43932.0, "market_value": 43932.0,
"change_pct": 7.854, "change_pct": 7.41,
"currency": "CNY", "currency": "HKD",
"position_pct": 4.62, "position_pct": 4.62,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "02202", "code": "02202",
"name": "万科企业", "name": "万科企业",
"shares": 19700, "shares": 19700,
"cost": 4.05, "cost": 4.05,
"price": 2.04, "price": 2.34,
"market_value": 40188.0, "market_value": 40188.0,
"change_pct": 5.381, "change_pct": 4.93,
"currency": "CNY", "currency": "HKD",
"position_pct": 4.6, "position_pct": 4.6,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "00700", "code": "00700",
"name": "腾讯", "name": "腾讯",
"shares": 100, "shares": 100,
"cost": null, "cost": null,
"price": 374.37, "price": 431.2,
"market_value": 37437.0, "market_value": 37437.0,
"change_pct": 0.372, "change_pct": 0.23,
"currency": "CNY", "currency": "HKD",
"position_pct": null, "position_pct": null,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "00981", "code": "00981",
"name": "中芯国际", "name": "中芯国际",
"shares": 500, "shares": 500,
"cost": 65.84, "cost": 65.84,
"price": 67.06, "price": 77.6,
"market_value": 33530.0, "market_value": 33530.0,
"change_pct": -3.794, "change_pct": -3.48,
"currency": "CNY", "currency": "HKD",
"position_pct": 4.2, "position_pct": 4.2,
"_currency": "CNY" "_currency": "HKD"
}, },
{ {
"code": "300548", "code": "300548",
@@ -221,20 +221,20 @@
"name": "中国神华", "name": "中国神华",
"shares": 500, "shares": 500,
"cost": 39.79, "cost": 39.79,
"price": 34.71, "price": 40.0,
"market_value": 17355.0, "market_value": 17355.0,
"change_pct": 1.111, "change_pct": 1.01,
"currency": "CNY", "currency": "HKD",
"position_pct": 2.14, "position_pct": 2.14,
"_currency": "CNY" "_currency": "HKD"
} }
], ],
"total_assets": 853681.69, "total_assets": 953295.26,
"total_mv": 773205.69, "total_mv": 821173.33,
"stock_value": null, "stock_value": 821173.33,
"cash": 80476.0, "cash": 132121.93,
"frozen_cash": 0.0, "frozen_cash": 0.0,
"position_pct": 90.57, "position_pct": 86.1,
"currency": "CNY", "currency": "CNY",
"updated_at": "2026-07-03 16:56" "updated_at": "2026-07-03 17:29:27"
} }