[Fix]修复close函数错误

This commit is contained in:
vn.py 2018-10-24 16:55:45 +08:00
parent 8f83b6dcf2
commit 3e479e460c

View File

@ -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):