mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-19 11:22:06 +08:00
Computing daily stats for analyze
This commit is contained in:
@@ -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