Merge pull request #14 from gcarq/develop

Update from upstream repo gcarq/freqtrade@develop
This commit is contained in:
Gert Wohlgemuth 2018-06-02 03:45:58 -07:00 committed by GitHub
commit f02bb8df86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -103,7 +103,10 @@ def load_data(datadir: str,
if pairdata: if pairdata:
result[pair] = pairdata result[pair] = pairdata
else: else:
logger.warn('No data for pair %s, use --update-pairs-cached to download the data', pair) logger.warning(
'No data for pair %s, use --refresh-pairs-cached to download the data',
pair
)
return result return result

View File

@ -105,7 +105,7 @@ def test_load_data_with_new_pair_1min(ticker_history, mocker, caplog) -> None:
refresh_pairs=False, refresh_pairs=False,
pairs=['MEME/BTC']) pairs=['MEME/BTC'])
assert os.path.isfile(file) is False assert os.path.isfile(file) is False
assert log_has('No data for pair MEME/BTC, use --update-pairs-cached to download the data', assert log_has('No data for pair MEME/BTC, use --refresh-pairs-cached to download the data',
caplog.record_tuples) caplog.record_tuples)
# download a new pair if refresh_pairs is set # download a new pair if refresh_pairs is set

View File

@ -1,4 +1,4 @@
ccxt==1.14.96 ccxt==1.14.119
SQLAlchemy==1.2.8 SQLAlchemy==1.2.8
python-telegram-bot==10.1.0 python-telegram-bot==10.1.0
arrow==0.12.1 arrow==0.12.1