From 0749007dc7fd1a558029e3b15ae3a1f8977b33da Mon Sep 17 00:00:00 2001 From: nanoric Date: Thu, 11 Oct 2018 06:12:15 -0400 Subject: [PATCH] =?UTF-8?q?[Add]=20=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/vtObject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vnpy/trader/vtObject.py b/vnpy/trader/vtObject.py index d7a1d384..9aa62507 100644 --- a/vnpy/trader/vtObject.py +++ b/vnpy/trader/vtObject.py @@ -143,10 +143,10 @@ class VtOrderData(VtBaseData): # 代码编号相关 self.symbol = EMPTY_STRING # 合约代码 self.exchange = EMPTY_STRING # 交易所代码 - self.vtSymbol = EMPTY_STRING # 合约在vt系统中的唯一代码,通常是 合约代码.交易所代码 + self.vtSymbol = EMPTY_STRING # 统一格式:f"{symbol}.{exchange}" - self.orderID = EMPTY_STRING # 订单编号 - self.vtOrderID = EMPTY_STRING # 订单在vt系统中的唯一编号,通常是 Gateway名.订单编号 + self.orderID = EMPTY_STRING # 订单编号 gateway内部自己生成的编号 + self.vtOrderID = EMPTY_STRING # 统一格式:f"{gatewayName}.{orderId}" # 报单相关 self.direction = EMPTY_UNICODE # 报单方向