[Fix]修复vnbitmex中的签名bug
This commit is contained in:
parent
ed3ffd9ac2
commit
6ae4fc6727
@ -134,7 +134,7 @@ class BitmexRestApi(object):
|
|||||||
"""生成签名"""
|
"""生成签名"""
|
||||||
# 对params在HTTP报文路径中,以请求字段方式序列化
|
# 对params在HTTP报文路径中,以请求字段方式序列化
|
||||||
if params:
|
if params:
|
||||||
query = urlencode(sorted(params.items()))
|
query = urlencode(params.items())
|
||||||
path = path + '?' + query
|
path = path + '?' + query
|
||||||
|
|
||||||
if body is None:
|
if body is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user