# 场内ETF均线查询 **Repository Path**: fudingxin/ETF-moving-average-query ## Basic Information - **Project Name**: 场内ETF均线查询 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-30 - **Last Updated**: 2026-01-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ETF均线对比分析工具 一个简单易用的ETF基金均线分析工具,展示5、20、60、120、250日均线数据。 ## 功能特性 - 输入ETF代码查询均线数据 - 折线图展示收盘价和均线走势 - 表格展示当前价格和均线数值 - 自动识别沪深市场(深圳: 15/16开头,上海: 51/50开头) - 实时获取最新价格 ## 支持的ETF - 深圳ETF:159xxx、160xxx - 上海ETF:510xxx、500xxx ## 快速开始 ```bash # 安装依赖 npm install # 启动开发服务器 npm run dev ``` 打开 http://localhost:3000 即可使用。 ## 技术栈 - Next.js 16 - React 19 - Recharts(图表) - Tailwind CSS(样式) - 腾讯股票API(数据源) ## 常见问题 ### 运行 `npm run dev` 时提示找不到 tailwindcss 如果遇到以下错误: ``` resolve 'tailwindcss' in '...' No description file found ``` 解决方法: ```bash # 清理 .next 缓存目录并重新安装依赖 rm -rf .next npm install npm run dev ``` 这个问题通常是由于 Next.js 开发服务器缓存或 Turbopack 构建缓存损坏导致的。