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):