修复bug
This commit is contained in:
parent
0aedafcee7
commit
89d6e6c6fa
@ -30,7 +30,6 @@ import re
|
|||||||
import csv
|
import csv
|
||||||
import copy
|
import copy
|
||||||
import decimal
|
import decimal
|
||||||
from copy import copy
|
|
||||||
|
|
||||||
from vnpy.trader.vtEvent import *
|
from vnpy.trader.vtEvent import *
|
||||||
from vnpy.trader.vtConstant import *
|
from vnpy.trader.vtConstant import *
|
||||||
@ -2115,7 +2114,7 @@ class CtaEngine(object):
|
|||||||
flt = {'name': strategy.name,
|
flt = {'name': strategy.name,
|
||||||
'vtSymbol': strategy.vtSymbol}
|
'vtSymbol': strategy.vtSymbol}
|
||||||
|
|
||||||
d = copy(flt)
|
d = copy.copy(flt)
|
||||||
for key in strategy.syncList:
|
for key in strategy.syncList:
|
||||||
d[key] = strategy.__getattribute__(key)
|
d[key] = strategy.__getattribute__(key)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user