From e3d9dbe4d2fbb02f42d82f0b5ca60847c61a93c1 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 16 七月 2025 17:32:02 +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