diff --git a/vnpy/api/bitmex/vnbitmex.py b/vnpy/api/bitmex/vnbitmex.py index ff83bf84..f747cd44 100644 --- a/vnpy/api/bitmex/vnbitmex.py +++ b/vnpy/api/bitmex/vnbitmex.py @@ -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: