make --refresh-pairs-cached common option for optimization; added support for it into hyperopt

This commit is contained in:
hroff-1902
2019-04-22 21:24:45 +03:00
parent d3e956f7cc
commit ad85ac3dde
8 changed files with 205 additions and 74 deletions

View File

@@ -116,7 +116,8 @@ def load_pair_history(pair: str,
return parse_ticker_dataframe(pairdata, ticker_interval, fill_up_missing)
else:
logger.warning('No data for pair: "%s", Interval: %s. '
'Use --refresh-pairs-cached to download the data',
'Use --refresh-pairs-cached option or download_backtest_data.py '
'script to download the data',
pair, ticker_interval)
return None