Skip to content
sicker2022Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

数据三线看板

一个用于查询 A 股数据(股价、市盈率、股息率),并把三条曲线画在同一张图上的 Web 项目。

功能

  • 支持按公司名称或代码模糊搜索,输入关键词即可联想匹配
  • 查询实时行情:现价、涨跌幅、市盈率(TTM / 动态 / 静态)、股息率、市净率、市值等
  • 近 3 月 / 6 月 / 1 年 / 3 年 / 5 年时间范围切换
  • 股价、市盈率、股息率三条曲线在同一张 ECharts 图上展示,支持缩放与图例切换
  • 每日数据表与 CSV 导出

数据说明

  • 实时行情与历史 K 线来自腾讯行情接口
  • 历史市盈率、股息率曲线按最新每股收益(EPS TTM)与最新每股股息估算,界面中会明确标注,仅供趋势参考

运行

npm install

开发模式(前端 5173,API 8787):

npm run dev

打开 http://localhost:5173

生产模式:

npm run preview

打开 http://localhost:8787

API

  • GET /api/quote?code=600519 实时行情
  • GET /api/history?code=600519&days=365 历史日线、估算 PE 与股息率

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages