[2026-02-26 13:45:41.253] /home/zhangjianyong/project/crewai/investment_team/.venv/lib/python3.13/site-packages/py_mini_racer/py_mini_racer.py:13: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. [2026-02-26 13:45:41.253] import pkg_resources [2026-02-26 13:45:41.313] [2026-02-26 13:45:41.313] [线程: MainThread] ========== 程序开始执行 ========== [2026-02-26 13:45:41.313] [2026-02-26 13:45:41.313] [线程: MainThread] 从 /home/zhangjianyong/project/crewai/investment_team/src/investment_team/config/fundList.txt 加载了 36 个基金 [2026-02-26 13:45:41.313] [2026-02-26 13:45:41.313] [线程: MainThread] 开始获取所有ETF的数据和技术指标... [2026-02-26 13:45:41.313] [1/36] Processing sh515790 ... [2026-02-26 13:45:43.823] Warning: 历史K线请求失败 [尝试 1/3] fund_code=sh515790 error=('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) [2026-02-26 13:45:43.823] 失败URL: https://push2his.eastmoney.com/api/qt/stock/kline/get?klt=101&fqt=0&beg=20251029&end=20260226&secid=1.515790 [2026-02-26 13:45:46.099] Warning: 历史K线请求失败 [尝试 2/3] fund_code=sh515790 error=('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) [2026-02-26 13:45:46.099] 失败URL: https://push2his.eastmoney.com/api/qt/stock/kline/get?klt=101&fqt=0&beg=20251029&end=20260226&secid=1.515790 [2026-02-26 13:45:48.378] Warning: 历史K线请求失败 [尝试 3/3] fund_code=sh515790 error=('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) [2026-02-26 13:45:48.378] 失败URL: https://push2his.eastmoney.com/api/qt/stock/kline/get?klt=101&fqt=0&beg=20251029&end=20260226&secid=1.515790 [2026-02-26 13:45:48.379] Warning: Failed to fetch raw ETF data from akshare: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) [2026-02-26 13:45:48.379] 失败URL(历史K线): https://push2his.eastmoney.com/api/qt/stock/kline/get?klt=101&fqt=0&beg=20251029&end=20260226&secid=1.515790 [2026-02-26 13:45:48.379] [2026-02-26 13:45:48.379] [ERROR] [线程: MainThread] 历史K线数据获取失败,程序退出: 历史K线获取失败: sh515790, 原因: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) [2026-02-26 13:45:48.379] Error: 历史K线数据获取失败,程序退出: 历史K线获取失败: sh515790, 原因: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))