-
Notifications
You must be signed in to change notification settings - Fork 203
Expand file tree
/
Copy pathrequirements.txt
More file actions
43 lines (39 loc) · 1.79 KB
/
Copy pathrequirements.txt
File metadata and controls
43 lines (39 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8 -*-
apprise>=1.6.0
openai>=1.0.0
efinance>=0.4.0
akshare>=1.10.0
apscheduler>=3.10.0
httpx>=0.25.0
pydantic>=2.0.0
pydantic-settings>=2.0.0
pyyaml>=6.0
certifi
pytest>=7.0.0
tenacity>=8.2.0
fastapi>=0.104.0
uvicorn>=0.24.0
sqlalchemy>=2.0.0
playwright==1.57.0
PyJWT>=2.8.0
# 详情报告导出 PDF(后台直出,不依赖 Chromium):
# 主引擎 WeasyPrint(HTML 保真排版,需系统库 pango/cairo + 中文字体,如 Docker 加 fonts-noto-cjk);
# WeasyPrint 不可用时回退 xhtml2pdf(纯库保底,中文用 reportlab STSong-Light)。
weasyprint>=60
xhtml2pdf>=0.2.17
# 深度分析 — TradingAgents (多 Agent 投资决策框架, 76k star)。
# 不在 PyPI,用 git+ URL 安装。会拉 langchain/langgraph/yfinance 等较重依赖
# (~115 个包,首次安装 2-5 分钟)。
# 用户启用「TradingAgents 深度分析」Agent 时才会真正调用它;不启用零开销。
# 锁定到 v0.4.0(release tag,非 @main)。0.4.0 修复历史回测的前视偏差、提升
# checkpoint 恢复可靠性,并新增 max_tokens/llm_max_retries 配置。适配层依赖的
# route_to_vendor/load_ohlcv/get_graph_args/create_initial_state 仍保持签名稳定;
# 唯一行为变更是上游无法解析评级时返回 REVIEW,由 result_mapper 显式展示为“待人工复核”。
tradingagents @ git+https://github.com/TauricResearch/TradingAgents.git@v0.4.0
# 本仓内独立行情数据包(editable 本地安装;发 PyPI 前不占外部依赖)
-e ./packages/marketdata
# 业务无关的受限智能体运行时(可单独发布)
-e ./packages/pan-agent-runtime
# OpenTelemetry 导出为「可选依赖组」,不在主依赖内(默认关闭,未装即 no-op)。
# 需要把 trace 导出到 Jaeger/Tempo/Langfuse 时:pip install -r requirements-otel.txt
# 详见 requirements-otel.txt 与 README「OTel 导出」。