From 02ac91af6f97b5df21a9f41a0a6b57729869de3c Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 2 Dec 2018 13:44:50 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E4=BB=B7=E5=B7=AE=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=9A=84=E4=BB=B7=E5=B7=AE=E7=AE=97=E6=B3=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=94=B9=E4=B8=BA=E5=92=8C=E4=BB=B7=E5=B7=AE?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=80=E8=87=B4=EF=BC=8CClose=20#1083?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/app/spreadTrading/stEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/app/spreadTrading/stEngine.py b/vnpy/trader/app/spreadTrading/stEngine.py index 43339eab..69bdd3ab 100644 --- a/vnpy/trader/app/spreadTrading/stEngine.py +++ b/vnpy/trader/app/spreadTrading/stEngine.py @@ -35,7 +35,7 @@ class StDataEngine(object): # 腿、价差相关字典 self.legDict = {} # vtSymbol:StLeg - self.spreadDict = {} # name:StSpread + self.spreadDict = OrderedDict() # name:StSpread self.vtSymbolSpreadDict = {} # vtSymbol:StSpread self.registerEvent()