Files
daily_stock_analysis/requirements.txt
zhulinsen 3dded794d7 fix: 修复多个 Issues
- #23 ETF 筹码分布:跳过 ETF/指数的筹码分布调用
- #16 OpenAI SOCKS 代理:改进错误提示,添加 httpx[socks] 依赖
- #15 大盘复盘报告:添加报告文件保存功能
2026-01-14 20:20:51 +08:00

39 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ===================================
# A股自选股智能分析系统 - 依赖列表
# ===================================
# 核心依赖
python-dotenv>=1.0.0 # 环境变量配置管理
tenacity>=8.2.0 # 重试机制(指数退避)
sqlalchemy>=2.0.0 # ORM数据库操作
schedule>=1.2.0 # 定时任务调度
# 数据源依赖(多源策略)
akshare>=1.12.0 # Primary: 东方财富爬虫数据源
tushare>=1.4.0 # Backup 1: 挖地兔 Pro API
baostock>=0.8.0 # Backup 2: 证券宝数据
yfinance>=0.2.0 # Fallback: Yahoo Finance
#飞书
lark-oapi>=1.0.0 # 飞书API
# 数据处理
pandas>=2.0.0 # 数据分析
numpy>=1.24.0 # 数值计算
# AI 分析
google-generativeai>=0.8.0 # Gemini API
openai>=1.0.0 # OpenAI 兼容 API可选支持 DeepSeek/通义千问等)
# 搜索引擎(用于获取股票新闻)
tavily-python>=0.3.0 # Tavily 搜索 API每月 1000 次免费)
google-search-results>=2.4.0 # SerpAPI每月 100 次免费)
# 网络请求
requests>=2.31.0 # HTTP 请求
fake-useragent>=1.4.0 # 随机 User-Agent 防封禁
httpx[socks] # HTTP 客户端 + SOCKS 代理支持OpenAI 可选依赖)
# 数据库
# SQLite 是 Python 内置,无需额外安装