From 4c50df75142626fbc0aa2da4a4d95dd07e0383e7 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Wed, 20 Sep 2017 11:00:16 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=E4=BF=AE=E5=A4=8DgetPositionDetail?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 43fb3d60..3977a144 100644 --- a/vnpy/trader/vtEngine.py +++ b/vnpy/trader/vtEngine.py @@ -463,7 +463,7 @@ class DataEngine(object): if vtSymbol in self.detailDict: detail = self.detailDict[vtSymbol] else: - detail = EmsPosition(vtSymbol) + detail = PositionDetail(vtSymbol) self.detailDict[vtSymbol] = detail return detail