admin
2025-04-14 9e23313b71de3be13109c860bd4ea9ff715e2caf
strategy/basic_methods.py
@@ -88,6 +88,7 @@
        if last_price != 0:
            growth = (price - last_price) / last_price * 100  # 计算涨幅百分比
            return growth
    finally:
        history_price[symbol] = price
        # print(f"price======={price}")