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