From 57bbe54ddb121717730939b23a53d98d59818c5e Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期四, 10 四月 2025 11:32:19 +0800 Subject: [PATCH] 订阅修改 --- utils/tool.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/tool.py b/utils/tool.py index 9336ce5..feb63de 100644 --- a/utils/tool.py +++ b/utils/tool.py @@ -364,7 +364,7 @@ def get_limit_up_price(code, pre_price): price = (decimal.Decimal(pre_price) * decimal.Decimal(get_limit_up_rate(code))).quantize(decimal.Decimal("0.00"), decimal.ROUND_HALF_UP) - return round(price, 2) + return round(float(price), 2) def get_limit_down_price(code, pre_price): -- Gitblit v1.8.0