From ebb284aae7b7dc6a9f0f4ee91e4ca071c2766eb8 Mon Sep 17 00:00:00 2001 From: liangchen815 <1432598768@qq.com> Date: Sun, 2 Jul 2017 18:26:53 +0800 Subject: [PATCH] Update jubi_wechat.py --- jubi_wechat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jubi_wechat.py b/jubi_wechat.py index 645b5bc..a8ab880 100644 --- a/jubi_wechat.py +++ b/jubi_wechat.py @@ -132,7 +132,7 @@ def get_nonce(self): lens = 12 return ''.join([str(random.randint(0, 9)) for i in range(lens)]) - def get_signiture(self): + def get_signature(self): url = 'https://www.jubi.com/api/v1/ticker/' coin = 'zet' nonce = self.get_nonce() @@ -225,7 +225,7 @@ def multi_thread(self,coin_list,price_list): obj = Jubi_web(send='wechat') - # print obj.get_signiture() + # print obj.get_signature() #print obj.real_time_ticker('zet') # obj.real_time_depth('zet') #obj.warming('zet',0.23,0.17)