Administrator
2024-04-18 eb106c82e31fd1c68bf7c95156940d07ea04b9d6
code_attribute/gpcode_manager.py
@@ -294,7 +294,7 @@
        return self.__pause_buy_codes_cache
# 必买单
# 必买单/红名单
class MustBuyCodesManager:
    __instance = None
    __db = 0
@@ -763,6 +763,12 @@
    return tool.to_price(decimal.Decimal(str(price)) * decimal.Decimal("1.1"))
def get_limit_down_price_by_preprice(price):
    if price is None:
        return None
    return tool.to_price(decimal.Decimal(str(price)) * decimal.Decimal("0.9"))
# 获取跌停价
def get_limit_down_price(code):
    price = CodePrePriceManager.get_price_pre_cache(code)