mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
cleanup Arguments: name attrs and methods as non-public
This commit is contained in:
@@ -22,12 +22,12 @@ logger = logging.getLogger('download_backtest_data')
|
||||
|
||||
DEFAULT_DL_PATH = 'user_data/data'
|
||||
|
||||
arguments = Arguments(sys.argv[1:], 'Download backtest data')
|
||||
arguments.build_args(ARGS_DOWNLOADER)
|
||||
|
||||
# Do not read the default config if config is not specified
|
||||
# in the command line options explicitely
|
||||
args = arguments.parse_args(no_default_config=True)
|
||||
arguments = Arguments(sys.argv[1:], 'Download backtest data',
|
||||
no_default_config=True)
|
||||
arguments._build_args(optionlist=ARGS_DOWNLOADER)
|
||||
args = arguments._parse_args()
|
||||
|
||||
# Use bittrex as default exchange
|
||||
exchange_name = args.exchange or 'bittrex'
|
||||
|
||||
Reference in New Issue
Block a user