This commit is contained in:
vn.py 2017-12-15 20:22:55 +08:00
parent 527d4bf779
commit 38338ddbc0

View File

@ -192,6 +192,7 @@ class CtaTemplate(object):
#---------------------------------------------------------------------- #----------------------------------------------------------------------
def saveSyncData(self): def saveSyncData(self):
"""保存同步数据到数据库""" """保存同步数据到数据库"""
if self.trading:
self.ctaEngine.saveSyncData(self) self.ctaEngine.saveSyncData(self)