From 3792bb05a9f7ffbabf5279e4b60493a9d9f49b22 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 30 Sep 2018 18:37:07 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8DbitmexGateway=E4=B8=AD?= =?UTF-8?q?=E5=90=88=E7=BA=A6=E5=A4=A7=E5=B0=8F=E5=8F=96=E5=80=BC=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/gateway/bitmexGateway/bitmexGateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py index 6aaa93c4..5011373f 100644 --- a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py +++ b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py @@ -528,7 +528,7 @@ class WebsocketApi(BitmexWebsocketApi): contract.name = contract.vtSymbol contract.productClass = PRODUCT_FUTURES contract.priceTick = d['tickSize'] - contract.size = d['multiplier'] + contract.size = d['lotSize'] self.gateway.onContract(contract)