| | |
| | | trade_data_manager.PlaceOrderCountManager().place_order(code) |
| | | |
| | | gpcode_first_screen_manager.process_ticks(prices) |
| | | logger_l2_codes_subscript.info(f"{request_id}l2代码相关数据加载完成") |
| | | logger_l2_codes_subscript.info(f"({request_id})l2代码相关数据加载完成") |
| | | return tick_datas |
| | |
| | | try: |
| | | _datas = huaxin_target_codes_manager.HuaXinL2SubscriptCodesManager.pop() |
| | | if _datas: |
| | | |
| | | times = _datas[0] |
| | | datas = _datas[1] |
| | | request_id = _datas[2] |
| | |
| | | ws.write(0, 6, '类型') |
| | | ws.write(0, 7, '重复数量') |
| | | ws.write(0, 8, '撤单时间') |
| | | ws.write(0, 9, '订单号') |
| | | |
| | | index = 0 |
| | | for data in datas: |
| | |
| | | else: |
| | | ws.write(index, 6, '卖撤', style) |
| | | ws.write(index, 7, data["re"], style) |
| | | ws.write(index, 9, data.get("orderNo"), style) |
| | | # 查询是否撤单 |
| | | if int(data["val"]["operateType"]) == 0: |
| | | cancel = False |