Load config-file in download_backtest_data -

This commit is contained in:
Matthias
2018-12-25 13:14:28 +01:00
parent 8fbeb700d6
commit 34b93eb952
2 changed files with 35 additions and 16 deletions

View File

@@ -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'