first commit

This commit is contained in:
2026-08-07 16:08:34 +08:00
commit e0b5228008
51 changed files with 5175 additions and 0 deletions

21
backend/pyproject.toml Normal file
View File

@@ -0,0 +1,21 @@
[project]
name = "stock-backend"
version = "0.1.0"
description = "Stock backtest platform backend (FastAPI + self-built backtest engine)"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"sqlalchemy>=2.0",
"aiosqlite>=0.20",
"asyncpg>=0.29", # PostgreSQL 异步驱动(连你已有的 Postgres / TimescaleDB
"numpy>=1.26",
"pandas>=2.2",
"tushare>=1.4",
]
[tool.uv]
# 应用型项目(非库):不把自身打包安装,只管理依赖到 .venv
package = false