backtest export json2

This commit is contained in:
kryofly
2018-01-11 15:45:39 +01:00
parent 27769f0301
commit ed47ee4e29
4 changed files with 28 additions and 2 deletions

View File

@@ -188,6 +188,14 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
action='store_true',
dest='refresh_pairs',
)
backtesting_cmd.add_argument(
'--export',
help='Export backtest results, argument are: trades\
Example --export trades',
type=str,
default=None,
dest='export',
)
# Add hyperopt subcommand
hyperopt_cmd = subparsers.add_parser('hyperopt', help='hyperopt module')