BLD: Working on the sample algo for intro videos. Made auto-ingestion configurable.

This commit is contained in:
fredfortier
2017-11-09 19:56:57 -05:00
parent 24c5a5bd13
commit 631cbcd352
5 changed files with 121 additions and 89 deletions
+5 -6
View File
@@ -211,12 +211,11 @@ class PricingDataBeforeTradingError(ZiplineError):
class PricingDataNotLoadedError(ZiplineError):
msg = ('Pricing data {field} for trading pairs {symbols} trading on '
'exchange {exchange} since {first_trading_day} is unavailable. '
'The bundle data is either out-of-date or has not been loaded yet. '
'Please ingest data using the command '
'`catalyst ingest-exchange -x {exchange} -f {data_frequency} -i {symbol_list}`. '
'See catalyst documentation for details.').strip()
msg = ('Missing data for {exchange} {symbols} in date range '
'[{start_dt} - {end_dt}]'
'\nPlease run: `catalyst ingest-exchange -x {exchange} -f '
'{data_frequency} -i {symbol_list}`. See catalyst documentation '
'for details.').strip()
class ApiCandlesError(ZiplineError):