From 1befa5c16b3a8cb3f929f110e94255a595549053 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sat, 16 Jun 2018 11:30:11 +0800 Subject: [PATCH] [Fix]Close #915 --- vnpy/api/okex/vnokex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vnpy/api/okex/vnokex.py b/vnpy/api/okex/vnokex.py index 9a21ef4b..555df99f 100644 --- a/vnpy/api/okex/vnokex.py +++ b/vnpy/api/okex/vnokex.py @@ -171,13 +171,13 @@ class OkexApi(object): def onMessage(self, data): """信息推送""" print('onMessage') - print(evt) + print(data) #---------------------------------------------------------------------- def onError(self, data): """错误推送""" print('onError') - print(evt) + print(data) #---------------------------------------------------------------------- def onClose(self):