specify allowed values for --spaces flag
This commit is contained in:
parent
d74543ac32
commit
fe28addb51
@ -282,10 +282,11 @@ def hyperopt_options(parser: argparse.ArgumentParser) -> None:
|
|||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-s', '--spaces',
|
'-s', '--spaces',
|
||||||
help='Specify which parameters to hyperopt. Comma separate list. \
|
help='Specify which parameters to hyperopt. Space separate list. \
|
||||||
Allowed values: all, buy, sell, roi, stoploss. Default: $(default)s',
|
Default: %(default)s',
|
||||||
|
choices=['all', 'buy', 'roi', 'stoploss'],
|
||||||
default='all',
|
default='all',
|
||||||
type=str,
|
nargs='+',
|
||||||
dest='spaces',
|
dest='spaces',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user