Changed commands to use "check_int_positive"

This commit is contained in:
Fredrik Rydin 2020-02-11 18:08:30 +01:00
parent 5b4d8d69ef
commit d1c3eabb87

View File

@ -401,13 +401,13 @@ AVAILABLE_CLI_OPTIONS = {
"hyperopt_list_min_trades": Arg(
'--min-trades',
help='Select epochs with more than INT trades.',
type=check_int_nonzero,
type=check_int_positive,
metavar='INT',
),
"hyperopt_list_max_trades": Arg(
'--max-trades',
help='Select epochs with less than INT trades.',
type=check_int_nonzero,
type=check_int_positive,
metavar='INT',
),
"hyperopt_list_min_avg_time": Arg(