Administrator
2023-12-22 f0248f54f90a12f491245f0ee3ccfbe8f477a76b
bug修复
2个文件已修改
4 ■■■■ 已修改文件
code_attribute/first_target_code_data_processor.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
utils/sell_util.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
code_attribute/first_target_code_data_processor.py
@@ -103,7 +103,7 @@
    # 获取60天最大记录
    for code in codes:
        need_get_volumn = False
        if code not in global_util.max60_volumn or global_util.max60_volumn.get(code) is None:
        if code not in global_util.max60_volumn or global_util.max60_volumn.get(code) is None or code_nature_analyse.CodeNatureRecordManager().get_k_format_cache(code) is None:
            need_get_volumn = True
        # if not need_get_volumn and code_nature_analyse.CodeNatureRecordManager.get_nature_cache(
        #         code) is None:
utils/sell_util.py
@@ -11,7 +11,7 @@
        if not current_price:
            raise Exception("没有获取到L1现价")
        price = tool.get_buy_min_price(current_price)
        if limit_down_price and price > round(float(limit_down_price), 2):
        if limit_down_price and price < round(float(limit_down_price), 2):
            price = round(float(limit_down_price), 2)
    elif price_type == 1:
        if not limit_down_price: