From 9c897d04af3ca5ab3097eb2bd55e25e34f4a6a4e Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 14 Jan 2019 22:56:26 +0800 Subject: [PATCH] [Mod] Change futu gateway contract size to 1 --- vnpy/gateway/futu/futu_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/gateway/futu/futu_gateway.py b/vnpy/gateway/futu/futu_gateway.py index a6170802..026c0a91 100644 --- a/vnpy/gateway/futu/futu_gateway.py +++ b/vnpy/gateway/futu/futu_gateway.py @@ -309,7 +309,7 @@ class FutuGateway(BaseGateway): exchange=exchange, name=row["name"], product=product, - size=int(row["lot_size"]), + size=1, pricetick=0.001, gateway_name=self.gateway_name )