backtesting takes its ticker_interval from the config file, else from the command line options

This commit is contained in:
Jean-Baptiste LE STANG
2018-01-13 08:55:45 +01:00
parent 2509ce030d
commit 7b292d5ca3
2 changed files with 5 additions and 5 deletions

View File

@@ -171,7 +171,7 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
)
backtesting_cmd.add_argument(
'-i', '--ticker-interval',
help='specify ticker interval in minutes (default: 5)',
help='specify ticker interval in minutes (1, 5, 30, 60, 1440)',
dest='ticker_interval',
default=5,
type=int,