From 91ff319ec4ed9f963356d11d9ca97857e99f4dd1 Mon Sep 17 00:00:00 2001 From: xiaobear250 Date: Mon, 12 Dec 2016 23:19:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=AD=A3futureOrderInfo=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正futureOrderInfo方法的bug --- vn.trader/okcoinGateway/vnokcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vn.trader/okcoinGateway/vnokcoin.py b/vn.trader/okcoinGateway/vnokcoin.py index 334d6f42..d27d7110 100644 --- a/vn.trader/okcoinGateway/vnokcoin.py +++ b/vn.trader/okcoinGateway/vnokcoin.py @@ -387,7 +387,7 @@ class OkCoinApi(object): params['current_page'] = page params['page_length'] = length - channel = 'ok_future%s_orderinfo' + channel = 'ok_future%s_orderinfo' %(self.currency) self.sendTradingRequest(channel, params) From 88ae6fd69992af011e605f78aecea2209839f4a4 Mon Sep 17 00:00:00 2001 From: xiaobear250 Date: Mon, 12 Dec 2016 23:24:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=AD=A3futureOrderInfo=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=9A=84=E5=B0=8FBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正futureOrderInfo方法的小BUG --- vn.okcoin/vnokcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vn.okcoin/vnokcoin.py b/vn.okcoin/vnokcoin.py index 334d6f42..d27d7110 100644 --- a/vn.okcoin/vnokcoin.py +++ b/vn.okcoin/vnokcoin.py @@ -387,7 +387,7 @@ class OkCoinApi(object): params['current_page'] = page params['page_length'] = length - channel = 'ok_future%s_orderinfo' + channel = 'ok_future%s_orderinfo' %(self.currency) self.sendTradingRequest(channel, params)