Administrator
2024-08-15 0e921bc8d68e830f15bb049dfb84b22bc05db788
code_attribute/gpcode_manager.py
@@ -595,8 +595,7 @@
    # 设置收盘价
    @classmethod
    def set_price_pre(cls, code, price, force=False):
        codes = get_gp_list()
        if code not in codes and not FirstCodeManager().is_in_first_record_cache(code) and not force:
        if code in cls.__price_pre_cache and not force:
            return
        price = round(float(price), 2)
        logger_pre_close_price.info(f"{code}-{price}")