Update ctaBacktesting.py

This commit is contained in:
nanoric 2018-09-17 23:16:24 -03:00 committed by GitHub
parent 2c266f1309
commit c1c9d93c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -949,7 +949,8 @@ class BacktestingEngine(object):
# 显示结果
resultList = [res.get() for res in l]
return resultList.sort(reverse=True, key=lambda result:result[1])
resultList.sort(reverse=True, key=lambda result:result[1])
return resultList
def outputOptimizeResult(self, resultList):
self.output('-' * 30)