[Mod]Close #1008
This commit is contained in:
parent
10306d286a
commit
fcb039eee6
@ -3,6 +3,7 @@
|
|||||||
import json
|
import json
|
||||||
import traceback
|
import traceback
|
||||||
import shelve
|
import shelve
|
||||||
|
from collections import OrderedDict
|
||||||
|
|
||||||
from vnpy.event import Event
|
from vnpy.event import Event
|
||||||
from vnpy.trader.vtFunction import getJsonPath, getTempPath
|
from vnpy.trader.vtFunction import getJsonPath, getTempPath
|
||||||
@ -289,8 +290,8 @@ class StAlgoEngine(object):
|
|||||||
self.mainEngine = mainEngine
|
self.mainEngine = mainEngine
|
||||||
self.eventEngine = eventEngine
|
self.eventEngine = eventEngine
|
||||||
|
|
||||||
self.algoDict = {} # spreadName:algo
|
self.algoDict = OrderedDict() # spreadName:algo
|
||||||
self.vtSymbolAlgoDict = {} # vtSymbol:algo
|
self.vtSymbolAlgoDict = {} # vtSymbol:algo
|
||||||
|
|
||||||
self.registerEvent()
|
self.registerEvent()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user