huaxin_client/trade_client.py
@@ -824,8 +824,8 @@ # 买 try: req_rid_dict[sinfo] = (client_id, request_id, sk, local_order_id) self.__tradeSimpleApi.buy(code, volume, price, sinfo) threading.Thread(target=lambda: self.__tradeSimpleApi.buy(code, volume, price, sinfo), daemon=True).start() except Exception as e: send_response(json.dumps({"code": 1, "msg": str(e)}), TYPE_ORDER, client_id, request_id)