Administrator
2023-10-16 5ed30c03ddfedd4cf79cd8fea9fc45b05821d898
l2/l2_data_manager_new.py
@@ -337,7 +337,8 @@
            if constant.L2_SOURCE_TYPE == constant.L2_SOURCE_TYPE_HUAXIN:
                try:
                    # 获取下单位置
                    place_order_index = huaxin_delegate_postion_manager.get_l2_place_order_position(code, add_datas)
                    place_order_index = huaxin_delegate_postion_manager.get_l2_place_order_position(code, float(
                        gpcode_manager.get_limit_up_price(code)), add_datas)
                    if place_order_index:
                        buy_single_index, buy_exec_index, buy_compute_index, num, count, max_num_set, buy_volume_rate = cls.__get_order_begin_pos(
                            code)
@@ -1304,6 +1305,7 @@
    except:
        pass
if __name__ == "__main__":
    test_trade_record()
    # yesterday_limit_up_data_records = kpl_data_manager.get_current_limit_up_data_records(1)[0][1]