Move --customhyperopts to hyperopt section

This commit is contained in:
Matthias
2019-03-04 07:24:05 +01:00
parent b7a558b951
commit 2d0aca0d20
2 changed files with 13 additions and 11 deletions

View File

@@ -108,14 +108,6 @@ class Arguments(object):
type=str,
metavar='PATH',
)
self.parser.add_argument(
'--customhyperopt',
help='Specify hyperopt class name (default: %(default)s).',
dest='hyperopt',
default=constants.DEFAULT_HYPEROPT,
type=str,
metavar='NAME',
)
self.parser.add_argument(
'--dynamic-whitelist',
help='Dynamically generate and update whitelist'
@@ -248,6 +240,14 @@ class Arguments(object):
"""
Parses given arguments for Hyperopt scripts.
"""
parser.add_argument(
'--customhyperopt',
help='Specify hyperopt class name (default: %(default)s).',
dest='hyperopt',
default=constants.DEFAULT_HYPEROPT,
type=str,
metavar='NAME',
)
parser.add_argument(
'--eps', '--enable-position-stacking',
help='Allow buying the same pair multiple times (position stacking).',