diff --git a/LICENSE b/LICENSE index f7888c9..650433d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 tf-stocks-panel contributors +Copyright (c) 2026 tf-stock-panel contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 93c2819..543d3cc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-# 📈 tf-stocks-panel +# 📈 TF-Stock-Panel **自托管、零运维的 A 股「选股 + 监控 + 回测」量化工作台** @@ -299,6 +299,6 @@ cd ../frontend && pnpm install && pnpm dev ## 📄 License -[MIT](./LICENSE) © tf-stocks-panel contributors +[MIT](./LICENSE) © tf-stock-panel contributors 本项目依赖 [TickFlow](https://tickflow.org/auth/register?ref=V3KDKGXPEA) 提供数据服务,使用前请遵守其服务条款。 diff --git a/backend/app/__init__.py b/backend/app/__init__.py index b5b011b..64868bb 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -1,3 +1,3 @@ -"""TF-Stocks-Panel backend.""" +"""TF-Stock-Panel backend.""" __version__ = "0.1.0" diff --git a/backend/app/main.py b/backend/app/main.py index 882de6b..74cf75c 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -29,7 +29,7 @@ logger = logging.getLogger(__name__) @asynccontextmanager async def lifespan(app: FastAPI): logger.info( - "TF-Stocks-Panel v%s starting (mode=%s)", + "TF-Stock-Panel v%s starting (mode=%s)", __version__, "free" if settings.use_free_mode else "api_key", ) @@ -133,7 +133,7 @@ async def lifespan(app: FastAPI): app = FastAPI( - title="TF-Stocks-Panel", + title="TF-Stock-Panel", version=__version__, description="A 股选股 + 回测面板 — TickFlow 适配", lifespan=lifespan, diff --git a/backend/pyproject.toml b/backend/pyproject.toml index cda2375..1486442 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -1,6 +1,6 @@ [project] -name = "tf-stocks-panel-backend" -version = "0.1.22" +name = "tf-stock-panel-backend" +version = "0.1.23" description = "A 股选股 + 监控 + 回测面板 — TickFlow 适配" readme = "../README.md" requires-python = ">=3.11" diff --git a/backend/uv.lock b/backend/uv.lock index dd0f55b..e1cc2fc 100644 --- a/backend/uv.lock +++ b/backend/uv.lock @@ -2205,7 +2205,7 @@ wheels = [ ] [[package]] -name = "tf-stocks-panel-backend" +name = "tf-stock-panel-backend" version = "0.1.0" source = { editable = "." } dependencies = [ diff --git a/dev.ps1 b/dev.ps1 index 1744a87..f474e93 100644 --- a/dev.ps1 +++ b/dev.ps1 @@ -1,4 +1,4 @@ -# tf-stocks-panel - one-shot launcher for backend + frontend (Windows / PowerShell) +# tf-stock-panel - one-shot launcher for backend + frontend (Windows / PowerShell) # # Usage: # .\dev.ps1 @@ -128,7 +128,7 @@ if (-not (Test-Path (Join-Path $FrontendDir 'node_modules'))) { # ===== 4. Banner (ASCII so it renders on any codepage) ===== Write-Host '' Write-Host '+----------------------------------------------+' -ForegroundColor Blue -Write-Host '| tf-stocks-panel |' -ForegroundColor Blue +Write-Host '| tf-stock-panel |' -ForegroundColor Blue Write-Host '| |' -ForegroundColor Blue Write-Host "| backend http://localhost:$BackendPort" -ForegroundColor Blue Write-Host "| frontend http://localhost:$FrontendPort" -ForegroundColor Blue diff --git a/dev.sh b/dev.sh index 3df61e5..cd2765b 100755 --- a/dev.sh +++ b/dev.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# tf-stocks-panel — 一键启动前后端 +# tf-stock-panel — 一键启动前后端 # # 用法: # ./dev.sh # 默认 backend:3018 frontend:3011 @@ -109,7 +109,7 @@ prefix_awk() { echo echo -e "${BLUE}╭──────────────────────────────────────────────╮${NC}" -echo -e "${BLUE}│${NC} ${GREEN}tf-stocks-panel${NC} ${BLUE}│${NC}" +echo -e "${BLUE}│${NC} ${GREEN}tf-stock-panel${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} backend ${YELLOW}http://localhost:$BACKEND_PORT${NC} ${BLUE}│${NC}" echo -e "${BLUE}│${NC} frontend ${YELLOW}http://localhost:$FRONTEND_PORT${NC} ${BLUE}│${NC}" diff --git a/docker-compose.yml b/docker-compose.yml index b6c3bbf..f7a1829 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: Dockerfile - container_name: TF-Stocks-Panel + container_name: TF-Stock-Panel ports: - "${PORT:-3018}:3018" env_file: diff --git a/frontend/index.html b/frontend/index.html index f10434c..b9ab924 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ - TF-Stocks-Panel · Quant Terminal + TF-Stock-Panel · Quant Terminal diff --git a/frontend/package.json b/frontend/package.json index 61efd4b..cc30b99 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { - "name": "tf-stocks-panel-frontend", + "name": "tf-stock-panel-frontend", "private": true, - "version": "0.1.22", + "version": "0.1.23", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/components/Layout.tsx b/frontend/src/components/Layout.tsx index 5757a3a..9e6c3f7 100644 --- a/frontend/src/components/Layout.tsx +++ b/frontend/src/components/Layout.tsx @@ -303,10 +303,11 @@ export function Layout() { style={{ color: BRAND }} />
- TF-Stocks-Panel +
TF-Stock
+
Panel
diff --git a/frontend/src/components/Logo.tsx b/frontend/src/components/Logo.tsx index e178590..268e42b 100644 --- a/frontend/src/components/Logo.tsx +++ b/frontend/src/components/Logo.tsx @@ -22,7 +22,7 @@ export function Logo({ className, size = 32, style }: LogoProps) { className={className} style={style} role="img" - aria-label="TF-Stocks-Panel" + aria-label="TF-Stock-Panel" > {/* 左方括号 */}
diff --git a/frontend/src/pages/Onboarding.tsx b/frontend/src/pages/Onboarding.tsx index 78c1445..29d0a62 100644 --- a/frontend/src/pages/Onboarding.tsx +++ b/frontend/src/pages/Onboarding.tsx @@ -65,7 +65,7 @@ export function Onboarding() {
- TF-Stocks-Panel + TF-Stock-Panel
{STEPS.map((label, i) => ( @@ -117,7 +117,7 @@ function WelcomeStep({ onNext, onSkip }: { onNext: () => void; onSkip: () => voi
-

欢迎使用 TF-Stocks-Panel

+

欢迎使用 TF-Stock-Panel

一个本地化的 A 股量化分析面板 —— 行情、选股、回测、财务一体化。 花一分钟配置,即可开始使用。 diff --git a/tiers.yaml b/tiers.yaml index b1528f2..b2a0953 100644 --- a/tiers.yaml +++ b/tiers.yaml @@ -1,4 +1,4 @@ -# tf-stocks-panel —— TickFlow 推荐套餐能力对照表(§5.2) +# tf-stock-panel —— TickFlow 推荐套餐能力对照表(§5.2) # # 仅用途: # 1. 启动期能力探测决定试探顺序