From 418e54d6c6a4b3b4aaab9ef545cdcd458640a7f5 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 31 七月 2025 14:36:03 +0800
Subject: [PATCH] 添加除权接口

---
 code_attribute/first_target_code_data_processor.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/code_attribute/first_target_code_data_processor.py b/code_attribute/first_target_code_data_processor.py
index 0e2c616..c68248a 100644
--- a/code_attribute/first_target_code_data_processor.py
+++ b/code_attribute/first_target_code_data_processor.py
@@ -113,11 +113,12 @@
                 if not volumes_data:
                     continue
                 volumes = init_data_util.parse_max_volume_new(code, volumes_data[:60])
-                max_volume_in_5_days = init_data_util.parse_max_volume_in_days(volumes_data, 5)
+                max_volume_in_5_days, max_volume_day_in_5_days = init_data_util.parse_max_volume_in_days(volumes_data, 5)
 
                 async_log_util.info(logger_first_code_record, f"{code} 鑾峰彇鍒伴鏉�60澶╂渶澶ч噺锛歿volumes}")
                 code_volumn_manager.CodeVolumeManager().set_histry_volumn(code, volumes[0], volumes[1], volumes[2],
-                                                                          volumes[3], max_volume_in_5_days)
+                                                                          volumes[3], max_volume_in_5_days,
+                                                                          max_volume_day_in_5_days)
 
                 # 淇濆瓨K绾垮舰鎬�
                 k_format = code_nature_analyse.get_k_format(code, limit_up_price, volumes_data)

--
Gitblit v1.8.0