Improve wording

This commit is contained in:
Matthias 2019-09-24 06:35:41 +02:00
parent 7aa42f8868
commit 0f97a999fb
2 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ def check_exchange(config: Dict[str, Any], check_for_bad: bool = True) -> bool:
exchange = config.get('exchange', {}).get('name').lower() exchange = config.get('exchange', {}).get('name').lower()
if not exchange: if not exchange:
raise OperationalException( raise OperationalException(
f'This command requires a configured exchange. You can use either ' f'This command requires a configured exchange. You should either use '
f'`--exchange <exchange_name` or use a configuration via `--config`.\n' f'`--exchange <exchange_name>` or specify a configuration file via `--config`.\n'
f'The following exchanges are supported by ccxt: ' f'The following exchanges are supported by ccxt: '
f'{", ".join(available_exchanges())}' f'{", ".join(available_exchanges())}'
) )

View File

@ -73,7 +73,7 @@ def start_download_data(args: Dict[str, Any]) -> None:
if 'pairs' not in config: if 'pairs' not in config:
raise OperationalException( raise OperationalException(
"Downloading data requires a list of pairs." "Downloading data requires a list of pairs. "
"Please check the documentation on how to configure this.") "Please check the documentation on how to configure this.")
dl_path = Path(config['datadir']) dl_path = Path(config['datadir'])