[Fix]修复vnbitmex中的签名bug

This commit is contained in:
vn.py 2018-09-16 16:33:10 +08:00
parent ed3ffd9ac2
commit 6ae4fc6727

View File

@ -134,7 +134,7 @@ class BitmexRestApi(object):
"""生成签名"""
# 对params在HTTP报文路径中以请求字段方式序列化
if params:
query = urlencode(sorted(params.items()))
query = urlencode(params.items())
path = path + '?' + query
if body is None: