feat: 增加宁德时代的图表

This commit is contained in:
R524809
2026-09-24 17:14:03 +08:00
parent 3a3d19d5dd
commit f646ee6718
15 changed files with 1459 additions and 240 deletions
+40 -2
View File
@@ -118,10 +118,48 @@
"chartCatalog": {
"sweet-catl-price-pe": { "key": "sweet-catl-price-pe", "title": "股价 → 2026E PE 对照", "csv": "data/sweetspot/catl_price_pe.csv", "height": 740, "filename": "宁德时代股价PE对照" },
"sweet-catl-net-cash": { "key": "sweet-catl-net-cash", "title": "净现金让 PE 便宜了多少", "csv": "data/sweetspot/catl_price_pe.csv", "height": 740, "filename": "宁德时代净现金与PE" },
"sweet-catl-any-price": { "key": "sweet-catl-any-price", "title": "任意股价试算:三年预期年化收益", "csv": "data/sweetspot/catl_price_returns.csv", "height": 740, "filename": "宁德时代任意股价试算" }
"sweet-catl-any-price": { "key": "sweet-catl-any-price", "title": "任意股价试算:三年预期年化收益", "csv": "data/sweetspot/catl_price_returns.csv", "height": 740, "filename": "宁德时代任意股价试算" },
"sweet-tencent-price-ev": { "key": "sweet-tencent-price-ev", "title": "股价 → EV/EBIT 对照", "csv": "data/sweetspot/tencent_price_ev.csv", "height": 740, "filename": "腾讯控股股价EVEBIT对照" },
"sweet-tencent-non-op": { "key": "sweet-tencent-non-op", "title": "扣掉非经营资产后,倍数低了多少", "csv": "data/sweetspot/tencent_price_ev.csv", "height": 740, "filename": "腾讯控股非经营资产与倍数" },
"sweet-tencent-any-price": { "key": "sweet-tencent-any-price", "title": "任意股价试算:三年退出年化收益", "csv": "data/sweetspot/tencent_price_returns.csv", "height": 740, "filename": "腾讯控股任意股价试算" }
},
"tabs": [
{ "id": "catl", "name": "宁德时代", "chartRefs": ["sweet-catl-price-pe", "sweet-catl-net-cash", "sweet-catl-any-price"] }
{
"id": "catl",
"name": "宁德时代",
"controls": [
{
"id": "price",
"type": "number",
"label": "现价",
"unit": "元",
"value": 316.21,
"min": 220,
"max": 700,
"step": 1,
"hint": "手输现价,三张图的现价标线与标注同步移动。可输区间即数据区 220–700 元;默认值 316.21 元 = 2026-09-15 收盘价,与 scripts/build_sweet_spot_catl.py 同源。"
}
],
"chartRefs": ["sweet-catl-price-pe", "sweet-catl-net-cash", "sweet-catl-any-price"]
},
{
"id": "tencent",
"name": "腾讯控股",
"controls": [
{
"id": "price",
"type": "number",
"label": "现价",
"unit": "港元",
"value": 426.8,
"min": 240,
"max": 640,
"step": 1,
"hint": "手输现价,三张图的现价标线与标注同步移动。可输区间即数据区 240–640 港元;默认值 426.8 港元 = 2026-09-17 收盘价,与 scripts/build_sweet_spot_tencent.py 同源。"
}
],
"chartRefs": ["sweet-tencent-price-ev", "sweet-tencent-non-op", "sweet-tencent-any-price"]
}
]
},
{