commit
ba61e2366b
@ -103,7 +103,7 @@ class BacktestingEngine(object):
|
||||
if endDate:
|
||||
self.dataEndDate= datetime.strptime(endDate, '%Y%m%d')
|
||||
# 若不修改时间则会导致不包含dataEndDate当天数据
|
||||
self.dataEndDate.replace(hour=23, minute=59)
|
||||
self.dataEndDate = self.dataEndDate.replace(hour=23, minute=59)
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
def setBacktestingMode(self, mode):
|
||||
|
Loading…
Reference in New Issue
Block a user