- 新增 Gateway 服务 (src/gateway/) - FastAPI 应用框架 (app.py) - 健康检查路由 (/health, /ping) - 行情路由 (/api/v1/market/*) - 交易路由 (/api/v1/trading/*) - 账户路由 (/api/v1/account/*) - 回测路由 (/api/v1/backtest/*) - 修复 Pydantic 模型中 datetime 字段命名冲突 - Gateway 监听端口 8001,支持 Swagger 文档
8 lines
153 B
Python
8 lines
153 B
Python
"""
|
|
Gateway 路由模块
|
|
"""
|
|
|
|
from . import health, market, trading, account, backtest
|
|
|
|
__all__ = ["health", "market", "trading", "account", "backtest"]
|