BUG: fixed #75, adjusted the ruturn value of run_algorithm to support minute stats.

This commit is contained in:
fredfortier
2017-11-20 21:53:48 -05:00
parent 1e8b0c36a1
commit 0d366a350d
4 changed files with 135 additions and 14 deletions
+9
View File
@@ -218,6 +218,15 @@ class PricingDataNotLoadedError(ZiplineError):
'for details.').strip()
class DataCorruptionError(ZiplineError):
msg = ('Unable to validate data for {exchange} {symbols} in date range '
'[{start_dt} - {end_dt}]. The data is either corrupted or '
'unavailable. Please try deleting this bundle:'
'\n`catalyst clean-exchange -x {exchange}\n'
'Then, ingest the data again. Please contact the Catalyst team if '
'the issue persists.').strip()
class ApiCandlesError(ZiplineError):
msg = ('Unable to fetch candles from the remote API: {error}.').strip()