diff --git a/vnpy/trader/gateway/okexfGateway/okexfGateway.py b/vnpy/trader/gateway/okexfGateway/okexfGateway.py index a81ad856..8e9e71ca 100644 --- a/vnpy/trader/gateway/okexfGateway/okexfGateway.py +++ b/vnpy/trader/gateway/okexfGateway/okexfGateway.py @@ -454,7 +454,7 @@ class OkexfRestApi(RestClient): """ order = request.extra order.status = STATUS_REJECTED - self.gateway.onOrder(vtOrder) + self.gateway.onOrder(order) #---------------------------------------------------------------------- def onSendOrder(self, data, request):