From dbb94eb2b6b965e5c17c3dec31f71d99caa2874e Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 2 Aug 2017 14:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9vnlhang.py=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=ADgetKline=E7=9A=84function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/lhang/vnlhang.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vnpy/api/lhang/vnlhang.py b/vnpy/api/lhang/vnlhang.py index 70245d69..644c9dd1 100644 --- a/vnpy/api/lhang/vnlhang.py +++ b/vnpy/api/lhang/vnlhang.py @@ -190,7 +190,7 @@ class LhangApi(object): # ---------------------------------------------------------------------- def getKline(self, symbol, size, type_, time): """查询K线""" - function = FUNCTION_TRADES + function = FUNCTION_KLINE params = { 'symbol': symbol, 'size': size, @@ -226,7 +226,7 @@ class LhangApi(object): # ---------------------------------------------------------------------- def getUserInfo(self): - """查询K线""" + """查询账户信息""" function = FUNCTION_USERINFO params = {} callback = self.onGetUserInfo @@ -282,7 +282,7 @@ class LhangApi(object): # ---------------------------------------------------------------------- def onGetUserInfo(self, data, req, reqID): - """查询K线回报""" + """查询账户信息""" print data, reqID # ----------------------------------------------------------------------