From 6ae4fc67271dadc4bf69e557b2105c162af775ba Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 16 Sep 2018 16:33:10 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8Dvnbitmex=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E7=AD=BE=E5=90=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/bitmex/vnbitmex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: