From ae8d76a456b64c1c6c4ebf11b6ec33b7df217b1a Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 18 八月 2025 13:43:46 +0800 Subject: [PATCH] bug修复 --- code_attribute/code_volumn_manager.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/code_attribute/code_volumn_manager.py b/code_attribute/code_volumn_manager.py index edfd3c0..2af92a6 100644 --- a/code_attribute/code_volumn_manager.py +++ b/code_attribute/code_volumn_manager.py @@ -101,7 +101,7 @@ if k_format and not k_format[13]: has_limit_up_in_60 = False volume = self.get_max_volume_in_5days(code) - if volume * limit_up_price >= 9e8 and has_limit_up_in_60: + if volume and volume * limit_up_price >= 9e8 and has_limit_up_in_60: return volume return int(self.get_reference_volume_as_money_y(code) * 1e8 / limit_up_price) -- Gitblit v1.8.0