Skip to content

v0.1.4 - Index Valuation, AIP Calculator, Index Zone

Choose a tag to compare

@deancyl deancyl released this 27 May 01:24
· 37 commits to main since this release

New Features

指数估值 (Index Valuation)

  • 17 个核心指数 PE/PB 数据
  • PE 百分位区间 (低估/正常/高估)
  • 历史 PE 曲线 + markArea 可视化
  • 优雅降级:AkShare 失败时返回模拟数据

定投计算器 (AIP Calculator)

  • 周/双周/月定投频率
  • 总投入、当前价值、收益率、最大回撤
  • 一次性投入对比
  • NAV 曲线 + 投资日期标记

指数专区 (Index Zone)

  • 5 类指数标签页 (宽基/策略/增强/跨境/行业)
  • 指数对比抽屉 (最多 5 个)
  • 链接到估值详情页

Backend APIs

  • GET /api/v1/market/index-valuation - 17 indices
  • GET /api/v1/market/index-valuation/{code}/history - PE history
  • POST /api/v1/fund/aip-calculate - Drip investment

Frontend Views

  • IndexValuation.vue - PE gauge + historical chart
  • FundCalcAIP.vue - Calculator form + results
  • IndexZone.vue - Category tabs + comparison

Tests

  • 18 test cases (100% pass rate)
  • Test configuration fixed for static mount issue

Files Changed

  • 17 files
  • 2502+ insertions