From d475991a9d0abc94edfb3a5d9761df8bed8b4fc4 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 10 七月 2024 17:03:55 +0800 Subject: [PATCH] 想买单策略修改 --- code_attribute/gpcode_manager.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/code_attribute/gpcode_manager.py b/code_attribute/gpcode_manager.py index 77d3f5b..4cc9050 100644 --- a/code_attribute/gpcode_manager.py +++ b/code_attribute/gpcode_manager.py @@ -106,4 +106,6 @@ price = CodePrePriceManager.get_price_pre_cache(code) if price is None: return None - return tool.to_price(decimal.Decimal(str(price)) * decimal.Decimal(f"{tool.get_limit_down_rate(code)}")) \ No newline at end of file + return tool.to_price(decimal.Decimal(str(price)) * decimal.Decimal(f"{tool.get_limit_down_rate(code)}")) + + -- Gitblit v1.8.0