rename --timeperiod to --timerange

This commit is contained in:
kryofly
2018-01-15 21:49:06 +01:00
parent f61012097c
commit 71bb348698
7 changed files with 13 additions and 13 deletions

View File

@@ -191,11 +191,11 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
dest='refresh_pairs',
)
backtesting_cmd.add_argument(
'--timeperiod',
'--timerange',
help='Use the last N ticks of data.',
default=None,
type=int,
dest='timeperiod',
dest='timerange',
)
# Add hyperopt subcommand
@@ -224,11 +224,11 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
metavar='INT',
)
hyperopt_cmd.add_argument(
'-tp', '--timeperiod',
'-tp', '--timerange',
help='Use the last N ticks of data.',
default=None,
type=int,
dest='timeperiod',
dest='timerange',
)