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