From eb844d4b9b841031ca8babdaa27d82f605980348 Mon Sep 17 00:00:00 2001 From: nanoric Date: Tue, 16 Oct 2018 05:46:10 -0400 Subject: [PATCH] =?UTF-8?q?[Mod]=20=E5=B0=86WebSocketClient.init(host)?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=8F=90=E5=89=8D=E5=88=B0=5F=5Finit=5F=5F?= =?UTF-8?q?=E4=B8=AD=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/okexfuture/vnokexFuture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/api/okexfuture/vnokexFuture.py b/vnpy/api/okexfuture/vnokexFuture.py index 6f9ea6b4..1f393ea5 100644 --- a/vnpy/api/okexfuture/vnokexFuture.py +++ b/vnpy/api/okexfuture/vnokexFuture.py @@ -61,13 +61,13 @@ class OkexFutureWebSocketBase(WebSocketClient): def __init__(self): super(OkexFutureWebSocketBase, self).__init__() + super(OkexFutureWebSocketBase, self).init(OkexFutureWebSocketBase.host) self.apiKey = None self.apiSecret = None #---------------------------------------------------------------------- # noinspection PyMethodOverriding def init(self, apiKey, secretKey): - super(OkexFutureWebSocketBase, self).init(self.host) self.apiKey = apiKey self.apiSecret = secretKey