[Fix]修复bitmexGateway中合约大小取值字段错误的bug

This commit is contained in:
vn.py 2018-09-30 18:37:07 +08:00
parent bea0046309
commit 3792bb05a9

View File

@ -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)