コード例 #1
0
        'stake_currency': '',
        'dry_run': True,
        'exchange': {
            'name': exchange_name,
            'key': '',
            'secret': '',
            'pair_whitelist': [],
            'ccxt_async_config': {
                'enableRateLimit': True,
                'rateLimit': 200
            }
        }
    }
    timeframes = args.timeframes or ['1m', '5m']

configuration._load_logging_config(config)

if args.config and args.exchange:
    logger.warning("The --exchange option is ignored, "
                   "using exchange settings from the configuration file.")

# Check if the exchange set by the user is supported
configuration.check_exchange(config)

configuration._load_datadir_config(config)

dl_path = Path(config['datadir'])

pairs_file = Path(
    args.pairs_file) if args.pairs_file else dl_path.joinpath('pairs.json')