mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Small fixes
This commit is contained in:
parent
f1a5a8e20e
commit
e38c06afe9
|
@ -42,7 +42,7 @@ class DataProvider(object):
|
|||
return load_pair_history(pair=pair,
|
||||
ticker_interval=ticker_interval,
|
||||
refresh_pairs=False,
|
||||
datadir=Path(self.config['datadir']) if self.config.get(
|
||||
datadir=Path(self._config['datadir']) if self._config.get(
|
||||
'datadir') else None
|
||||
)
|
||||
|
||||
|
@ -69,4 +69,4 @@ class DataProvider(object):
|
|||
can be "live", "dry-run", "backtest", "edgecli", "hyperopt".
|
||||
"""
|
||||
# TODO: this needs to be set somewhere ...
|
||||
return self._config.get['runmode']
|
||||
return str(self._config.get('runmode'))
|
||||
|
|
Loading…
Reference in New Issue
Block a user