diff --git a/vn.okcoin/vnokcoin.py b/vn.okcoin/vnokcoin.py index 419c8b7e..38565825 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) 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)