Computing daily stats for analyze

This commit is contained in:
fredfortier
2017-08-24 00:58:29 -04:00
parent 75385d034b
commit 8527866b48
+1
View File
@@ -109,6 +109,7 @@ class ExchangeTradingAlgorithm(TradingAlgorithm):
stats = pd.DataFrame(daily_perf_list)
stats.set_index('period_close', drop=True, inplace=True)
except Exception as e:
log.warn('Unable to compute daily stats: {}'.format(e))