Load config-file in download_backtest_data -
This commit is contained in:
@@ -378,6 +378,15 @@ class Arguments(object):
|
||||
metavar='PATH',
|
||||
)
|
||||
|
||||
self.parser.add_argument(
|
||||
'-c', '--config',
|
||||
help='specify configuration file, used for additional exchange parameters',
|
||||
dest='config',
|
||||
default=None,
|
||||
type=str,
|
||||
metavar='PATH',
|
||||
)
|
||||
|
||||
self.parser.add_argument(
|
||||
'--days',
|
||||
help='Download data for number of days',
|
||||
@@ -389,7 +398,7 @@ class Arguments(object):
|
||||
|
||||
self.parser.add_argument(
|
||||
'--exchange',
|
||||
help='Exchange name (default: %(default)s)',
|
||||
help='Exchange name (default: %(default)s). Only valid if no config is provided',
|
||||
dest='exchange',
|
||||
type=str,
|
||||
default='bittrex'
|
||||
|
Reference in New Issue
Block a user