diff --git a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py index 0ad70e6e..6cdbf2d3 100644 --- a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py +++ b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py @@ -118,8 +118,8 @@ class BitmexGateway(VtGateway): #---------------------------------------------------------------------- def close(self): """关闭""" - self.restApi.close() - self.wsApi.close() + self.restApi.stop() + self.wsApi.stop() #---------------------------------------------------------------------- def initQuery(self):