From 36f6f2befa20c3ce5e1a3f8335999a012f49d49d Mon Sep 17 00:00:00 2001 From: JaysonAlbert Date: Mon, 15 Jan 2018 09:53:38 +0800 Subject: [PATCH] add resultList to result. --- vnpy/trader/app/ctaStrategy/ctaBacktesting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vnpy/trader/app/ctaStrategy/ctaBacktesting.py b/vnpy/trader/app/ctaStrategy/ctaBacktesting.py index 57a64649..9a69ff5c 100644 --- a/vnpy/trader/app/ctaStrategy/ctaBacktesting.py +++ b/vnpy/trader/app/ctaStrategy/ctaBacktesting.py @@ -779,6 +779,7 @@ class BacktestingEngine(object): d['profitLossRatio'] = profitLossRatio d['posList'] = posList d['tradeTimeList'] = tradeTimeList + d['resultList'] = resultList return d