Administrator
2024-03-26 22aac29d951ed5b2fbd8d8d67f70c66b863eb203
bug修复
1个文件已修改
1 ■■■■ 已修改文件
l2/cancel_buy_strategy.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
l2/cancel_buy_strategy.py
@@ -238,6 +238,7 @@
        total_deal_money = sum([x[1] * x[2] for x in big_sell_order_info[1]])
        if total_deal_money >= 299 * 10000:
            return True, f"近1s有大卖单({round(total_deal_money / 10000, 1)}万/299万)"
        return False, "无299大单"
    #  big_sell_order_info格式:[总共的卖单金额, 大卖单详情列表]
    def set_big_sell_order_info_for_cancel(self, code, big_sell_order_info, order_begin_pos: OrderBeginPosInfo):