[Fix] no vt_orderid return after sending order

This commit is contained in:
vn.py 2019-07-24 10:46:25 +08:00
parent cd2f7e376b
commit 81c7e105ab

View File

@ -50,7 +50,7 @@ class RpcGateway(BaseGateway):
def send_order(self, req: OrderRequest):
""""""
gateway_name = self.symbol_gateway_map.get(req.vt_symbol, "")
self.client.send_order(req, gateway_name)
return self.client.send_order(req, gateway_name)
def cancel_order(self, req: CancelRequest):
""""""