Merge pull request #196 from gcarq/fix/hyperopt

fix hyperopt not getting default ticker_interval
This commit is contained in:
Janne Sinivirta 2017-12-17 13:50:25 +02:00 committed by GitHub
commit 6a1caafb7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,14 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
dest='mongodb', dest='mongodb',
action='store_true', action='store_true',
) )
hyperopt_cmd.add_argument(
'-i', '--ticker-interval',
help='specify ticker interval in minutes (default: 5)',
dest='ticker_interval',
default=5,
type=int,
metavar='INT',
)
# Required json-schema for user specified config # Required json-schema for user specified config