解决了中国股票代码的一点小问题。

This commit is contained in:
xucheng 2026-01-13 18:28:36 +08:00
parent fcba8512a0
commit 7a4e2ff6b8
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ npm run dev
```
### 3. 访问应用
打开浏览器访问: http://localhost:3000
打开浏览器访问: http://localhost:3001
---

View File

@ -67,7 +67,7 @@ pm2 restart all
### 3. 应用说明
- **datafetch-backend**: Python 后端服务 (Port 8000)
- **datafetch-frontend**: Next.js 前端开发服务 (Port 3000)
- **datafetch-frontend**: Next.js 前端开发服务 (Port 3001)
## 自动化部署脚本

View File

@ -474,7 +474,7 @@ if 'bquery' not in globals():
currency = "USD"
if "JP" in market.upper(): currency = "JPY"
elif "VN" in market.upper(): currency = "VND"
elif "CN" in market.upper(): currency = "CNY"
elif "CN" in market.upper() or "CH" in market.upper(): currency = "CNY"
elif "HK" in market.upper(): currency = "HKD"
logger.info(f"Using auto-detected currency: {currency}")