Administrator
2024-04-15 6692432bd7d64fa759bb02c047dd67f86f6dbfff
l2/l2_data_manager_new.py
@@ -1477,7 +1477,7 @@
                order_begin_pos.num,
                order_begin_pos.count,
                order_begin_pos.threshold_money,
                order_begin_pos.buy_single_index, order_begin_pos.max_num_set)
                order_begin_pos.buy_single_index, order_begin_pos.max_num_set,order_begin_pos.sell_info[1])
            threshold_money = threshold_money_new
            order_begin_pos.threshold_money = threshold_money
        elif order_begin_pos.mode == OrderBeginPosInfo.MODE_FAST:
@@ -2138,7 +2138,7 @@
    # 计算激进买入
    @classmethod
    def __sum_buy_num_for_order_active(cls, code, compute_start_index, compute_end_index, origin_num, origin_count,
                                       threshold_money_origin, buy_single_index, max_num_set):
                                       threshold_money_origin, buy_single_index, max_num_set, total_sell_money):
        _start_time = t.time()
        total_datas = local_today_datas[code]
        # is_first_code = gpcode_manager.FirstCodeManager().is_in_first_record_cache(code)
@@ -2249,7 +2249,7 @@
                continue
            safe_count = 1
            if threshold_money <= 0:
            if total_sell_money <= 0:
                # 板上下单需要安全笔数3笔
                safe_count = 3
            elif code.find("00") == 0: