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