The analyst prompts the model with trading rules, published skills, account sizing inputs and prefetched market data, exposes read-only tools plus submit_trade_plan, and validates and sizes the submitted plan in pure functions covered by pytest. Manual analyses run as dry runs while trading is stopped; the trading page shows the latest plan and an analysis detail drawer.
35 lines
734 B
TOML
35 lines
734 B
TOML
[project]
|
|
name = "alphapulse"
|
|
version = "0.1.0"
|
|
description = "AlphaPulse:新闻与行情信号研究"
|
|
authors = [
|
|
{ name = "eezd", email = "[email protected]" }
|
|
]
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"alembic>=1.20.0",
|
|
"anthropic>=1.13.0",
|
|
"argon2-cffi>=25.1.0",
|
|
"asyncpg>=0.32.0",
|
|
"cryptography>=50.0.2",
|
|
"fastapi>=0.143.0",
|
|
"httpx>=0.28.1",
|
|
"openai>=3.30.0",
|
|
"pydantic-settings>=2.15.0",
|
|
"pyjwt>=2.15.1",
|
|
"redis>=8.1.0",
|
|
"scrapy>=2.19.0",
|
|
"scrapy-redis>=0.9.1",
|
|
"sqlalchemy[asyncio]>=2.1.4",
|
|
"uvicorn[standard]>=0.54.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.12.23,<0.13.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.1.1",
|
|
]
|