2025-03-05 14:51:02,426 - INFO - === 股票分析程序开始运行 ===
2025-03-05 14:51:02,427 - INFO - 初始化 StockAnalyzer...
2025-03-05 14:51:02,453 - INFO - StockAnalyzer 初始化完成
2025-03-05 14:51:02,453 - INFO - 分析参数: 开始日期=2024-01-01, 结束日期=2024-12-31
2025-03-05 14:51:02,453 - INFO - 止盈=10.0%, 止损=-10.0%, 回调建仓=-5.0%
2025-03-05 14:51:02,453 - INFO - 开始分析所有股票...
2025-03-05 14:51:02,453 - INFO - 开始获取股票列表...
2025-03-05 14:51:02,597 - INFO - 获取到 1 支股票
2025-03-05 14:51:02,600 - INFO - 开始分析股票 SZ300750
2025-03-05 14:51:02,685 - INFO - 股票 SZ300750 分析完成，总收益: -141823874.93
2025-03-05 14:51:02,686 - INFO - 分析完成，共分析 1/1 支股票
2025-03-05 14:51:02,686 - INFO - 开始保存 1 支股票的分析结果
2025-03-05 14:51:02,687 - ERROR - 程序运行出错: [Errno 13] Permission denied: 'results/SZ300750_analysis.csv'
Traceback (most recent call last):
  File "D:\python_project\gpfx\src\stock_analysis.py", line 254, in main
    result.to_csv(csv_path, index=False)
  File "C:\Users\xy\.conda\envs\feapder_project\lib\site-packages\pandas\core\generic.py", line 3902, in to_csv
    return DataFrameRenderer(formatter).to_csv(
  File "C:\Users\xy\.conda\envs\feapder_project\lib\site-packages\pandas\io\formats\format.py", line 1152, in to_csv
    csv_formatter.save()
  File "C:\Users\xy\.conda\envs\feapder_project\lib\site-packages\pandas\io\formats\csvs.py", line 247, in save
    with get_handle(
  File "C:\Users\xy\.conda\envs\feapder_project\lib\site-packages\pandas\io\common.py", line 863, in get_handle
    handle = open(
PermissionError: [Errno 13] Permission denied: 'results/SZ300750_analysis.csv'
