[Fix]Close #643
This commit is contained in:
parent
527d4bf779
commit
38338ddbc0
@ -192,7 +192,8 @@ class CtaTemplate(object):
|
|||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
def saveSyncData(self):
|
def saveSyncData(self):
|
||||||
"""保存同步数据到数据库"""
|
"""保存同步数据到数据库"""
|
||||||
self.ctaEngine.saveSyncData(self)
|
if self.trading:
|
||||||
|
self.ctaEngine.saveSyncData(self)
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user