From 3e479e460c24b0ece4cc89d30748940a843e56bc Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 24 Oct 2018 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8Dclose=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/gateway/bitmexGateway/bitmexGateway.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):