使用 ThreadPoolExecutor 并行获取多个标的的数据: - 信号源 (index): 11个标的并行获取 - 交易源 (ETF): 4个标的并行获取 - 溢价率数据: 4个标的并行获取 性能提升:5个标的从 ~15s 串行 → ~4.6s 并行(约 3x 加速) 修改: - 增大 urllib3 连接池 maxsize=16 支持并行连接 - 使用 concurrent.futures.ThreadPoolExecutor
使用 ThreadPoolExecutor 并行获取多个标的的数据: - 信号源 (index): 11个标的并行获取 - 交易源 (ETF): 4个标的并行获取 - 溢价率数据: 4个标的并行获取 性能提升:5个标的从 ~15s 串行 → ~4.6s 并行(约 3x 加速) 修改: - 增大 urllib3 连接池 maxsize=16 支持并行连接 - 使用 concurrent.futures.ThreadPoolExecutor