Adding --min-trades and --max-trades for hyperopt-list

This commit is contained in:
Fredrik Rydin
2020-02-11 16:02:08 +01:00
parent 2bcce33f23
commit 5b4d8d69ef
6 changed files with 66 additions and 1 deletions

View File

@@ -398,6 +398,18 @@ AVAILABLE_CLI_OPTIONS = {
help='Select only best epochs.',
action='store_true',
),
"hyperopt_list_min_trades": Arg(
'--min-trades',
help='Select epochs with more than INT trades.',
type=check_int_nonzero,
metavar='INT',
),
"hyperopt_list_max_trades": Arg(
'--max-trades',
help='Select epochs with less than INT trades.',
type=check_int_nonzero,
metavar='INT',
),
"hyperopt_list_min_avg_time": Arg(
'--min-avg-time',
help='Select epochs on above average time.',