migrate: last 4 JSON files — live_prices, market, mtf_cache, capital_flow → DB

This commit is contained in:
知微
2026-07-03 13:44:10 +08:00
parent 7cc0ea0ef3
commit bb9b3922c9
27 changed files with 2064 additions and 1256 deletions
+73 -73
View File
@@ -5,9 +5,9 @@
"name": "中际旭创",
"shares": 100,
"cost": 1316.53,
"price": 1157.97,
"market_value": 115797.0,
"change_pct": 1.31,
"price": 1145.0,
"market_value": 114101.0,
"change_pct": 0.17,
"currency": "CNY",
"position_pct": 15.27,
"_currency": "CNY"
@@ -18,32 +18,32 @@
"shares": 500,
"cost": 228.65,
"price": 178.26,
"market_value": 102700.0,
"market_value": 89910.0,
"change_pct": 3.859,
"currency": "HKD",
"currency": "CNY",
"position_pct": 13.47,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "01478",
"name": "丘钛科技",
"shares": 11000,
"cost": 11.68,
"price": 6.11,
"market_value": 77550.0,
"change_pct": 4.911,
"currency": "HKD",
"price": 6.1,
"market_value": 67210.0,
"change_pct": 4.762,
"currency": "CNY",
"position_pct": 7.97,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "601899",
"name": "紫金矿业",
"shares": 2400,
"cost": 39.89,
"price": 28.04,
"market_value": 67296.0,
"change_pct": 6.62,
"price": 27.8,
"market_value": 66864.0,
"change_pct": 5.7,
"currency": "CNY",
"position_pct": 7.34,
"_currency": "CNY"
@@ -53,9 +53,9 @@
"name": "海博思创",
"shares": 200,
"cost": 266.95,
"price": 257.52,
"market_value": 51504.0,
"change_pct": 0.71,
"price": 254.75,
"market_value": 50842.0,
"change_pct": -0.38,
"currency": "CNY",
"position_pct": 6.31,
"_currency": "CNY"
@@ -65,9 +65,9 @@
"name": "中芯国际",
"shares": 300,
"cost": 126.07,
"price": 143.65,
"market_value": 43095.0,
"change_pct": -0.31,
"price": 142.97,
"market_value": 42600.0,
"change_pct": -0.78,
"currency": "CNY",
"position_pct": 5.44,
"_currency": "CNY"
@@ -78,20 +78,20 @@
"shares": 500,
"cost": 76.5,
"price": 74.17,
"market_value": 42600.0,
"market_value": 37325.0,
"change_pct": 2.088,
"currency": "HKD",
"currency": "CNY",
"position_pct": 5.28,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "688639",
"name": "华恒生物",
"shares": 2800,
"cost": 21.51,
"price": 16.69,
"market_value": 46732.0,
"change_pct": -1.53,
"price": 16.72,
"market_value": 46900.0,
"change_pct": -1.36,
"currency": "CNY",
"position_pct": 5.25,
"_currency": "CNY"
@@ -101,9 +101,9 @@
"name": "宁德时代",
"shares": 100,
"cost": 401.78,
"price": 384.16,
"market_value": 38416.0,
"change_pct": 0.47,
"price": 380.24,
"market_value": 38032.0,
"change_pct": -0.55,
"currency": "CNY",
"position_pct": 4.64,
"_currency": "CNY"
@@ -113,57 +113,57 @@
"name": "比亚迪股份",
"shares": 600,
"cost": 90.92,
"price": 71.66,
"market_value": 49560.0,
"change_pct": 5.556,
"currency": "HKD",
"price": 71.83,
"market_value": 43044.0,
"change_pct": 5.811,
"currency": "CNY",
"position_pct": 4.62,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "02202",
"name": "万科企业",
"shares": 19700,
"cost": 4.05,
"price": 2.02,
"market_value": 45704.0,
"change_pct": 4.484,
"currency": "HKD",
"price": 1.99,
"market_value": 39203.0,
"change_pct": 2.69,
"currency": "CNY",
"position_pct": 4.6,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "00700",
"name": "腾讯",
"shares": 100,
"cost": null,
"price": 379.05,
"market_value": 43700.0,
"change_pct": 1.627,
"currency": "HKD",
"price": 376.8,
"market_value": 37541.0,
"change_pct": 1.023,
"currency": "CNY",
"position_pct": null,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "00981",
"name": "中芯国际",
"shares": 500,
"cost": 65.84,
"price": 69.1,
"market_value": 39825.0,
"change_pct": -0.871,
"currency": "HKD",
"price": 68.41,
"market_value": 34440.0,
"change_pct": -1.866,
"currency": "CNY",
"position_pct": 4.2,
"_currency": "HKD"
"_currency": "CNY"
},
{
"code": "300548",
"name": "长芯博创",
"shares": 100,
"cost": 231.46,
"price": 227.0,
"market_value": 22700.0,
"change_pct": 2.25,
"price": 226.5,
"market_value": 22599.0,
"change_pct": 2.03,
"currency": "CNY",
"position_pct": 3.2,
"_currency": "CNY"
@@ -173,9 +173,9 @@
"name": "黄金ETF华安",
"shares": 2400,
"cost": 12.19,
"price": 8.69,
"market_value": 20856.0,
"change_pct": 2.49,
"price": 8.67,
"market_value": 20832.0,
"change_pct": 2.32,
"currency": "CNY",
"position_pct": 2.45,
"_currency": "CNY"
@@ -185,9 +185,9 @@
"name": "中科电气",
"shares": 1400,
"cost": 22.29,
"price": 14.3,
"market_value": 20020.0,
"change_pct": 0.92,
"price": 14.38,
"market_value": 20062.0,
"change_pct": 1.48,
"currency": "CNY",
"position_pct": 2.42,
"_currency": "CNY"
@@ -197,9 +197,9 @@
"name": "模塑科技",
"shares": 1400,
"cost": 14.83,
"price": 17.37,
"market_value": 24318.0,
"change_pct": 2.96,
"price": 17.62,
"market_value": 25088.0,
"change_pct": 4.45,
"currency": "CNY",
"position_pct": 2.41,
"_currency": "CNY"
@@ -209,9 +209,9 @@
"name": "法拉电子",
"shares": 100,
"cost": 147.18,
"price": 161.71,
"market_value": 16171.0,
"change_pct": -1.58,
"price": 160.0,
"market_value": 15900.0,
"change_pct": -2.62,
"currency": "CNY",
"position_pct": 2.3,
"_currency": "CNY"
@@ -221,20 +221,20 @@
"name": "中国神华",
"shares": 500,
"cost": 39.79,
"price": 34.84,
"market_value": 20090.0,
"change_pct": 1.465,
"currency": "HKD",
"price": 34.59,
"market_value": 17305.0,
"change_pct": 0.758,
"currency": "CNY",
"position_pct": 2.14,
"_currency": "HKD"
"_currency": "CNY"
}
],
"total_assets": 864781.03,
"total_mv": 784305.03,
"total_assets": 860913.13,
"total_mv": 780437.13,
"stock_value": null,
"cash": 80476.0,
"frozen_cash": 0.0,
"position_pct": 90.69,
"position_pct": 90.65,
"currency": "CNY",
"updated_at": "2026-07-03 12:10"
"updated_at": "2026-07-03 13:42"
}