Merge remote-tracking branch 'origin/develop' into wohlgemuth
This commit is contained in:
commit
9438e75b0a
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user