From 17f777b84c4982b86d40adb3acbeb2e73ff36aa6 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 13 Jun 2018 11:55:33 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8D=E7=AE=97=E6=B3=95?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E5=BC=95=E6=93=8E=E7=9A=84=E5=A7=94=E6=89=98?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E7=AE=97=E6=B3=95=E5=AF=B9=E8=B1=A1=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E7=BC=BA=E5=A4=B1=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/app/algoTrading/algoEngine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vnpy/trader/app/algoTrading/algoEngine.py b/vnpy/trader/app/algoTrading/algoEngine.py index f83c475b..f1da8037 100644 --- a/vnpy/trader/app/algoTrading/algoEngine.py +++ b/vnpy/trader/app/algoTrading/algoEngine.py @@ -179,6 +179,7 @@ class AlgoEngine(object): req.offset = OFFSET_OPEN vtOrderID = self.mainEngine.sendOrder(req, contract.gatewayName) + self.orderAlgoDict[vtOrderID] = algo return vtOrderID