From fc748711d6d3e8db900dd3367c109f3c68080578 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 26 Sep 2017 17:36:38 +0800 Subject: [PATCH] [Fix]Fix #524 --- vnpy/trader/vtEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/vtEngine.py b/vnpy/trader/vtEngine.py index 86b3595d..f4fbacff 100644 --- a/vnpy/trader/vtEngine.py +++ b/vnpy/trader/vtEngine.py @@ -496,7 +496,7 @@ class DataEngine(object): else: vtSymbol = req.symbol - detail = self.getPositionDetail(req.vtSymbol) + detail = self.getPositionDetail(vtSymbol) detail.updateOrderReq(req, vtOrderID) #----------------------------------------------------------------------