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()
if not exchange:
raise OperationalException(
f'This command requires a configured exchange. You can use either '
f'`--exchange <exchange_name` or use a configuration via `--config`.\n'
f'This command requires a configured exchange. You should either use '
f'`--exchange <exchange_name>` or specify a configuration file via `--config`.\n'
f'The following exchanges are supported by ccxt: '
f'{", ".join(available_exchanges())}'
)

View File

@ -73,7 +73,7 @@ def start_download_data(args: Dict[str, Any]) -> None:
if 'pairs' not in config:
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.")
dl_path = Path(config['datadir'])