Skip to content

Commit

Permalink
Changed commands to use "check_int_positive"
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Rydin committed Feb 11, 2020
1 parent 5b4d8d6 commit d1c3eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freqtrade/commands/cli_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,13 +401,13 @@ def __init__(self, *args, **kwargs):
"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(
Expand Down

0 comments on commit d1c3eab

Please sign in to comment.