Improve wording
This commit is contained in:
parent
7aa42f8868
commit
0f97a999fb
@ -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())}'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user