mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-29 13:00:42 +08:00
Computing daily stats for analyze
This commit is contained in:
1 parent
75385d034b
commit
8527866b48
1 file changed
+1
@@ -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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user