Support day/week/month breakdowns

This commit is contained in:
Matthias
2021-10-21 06:58:40 +02:00
parent 7197f4ce77
commit fa028c2134
6 changed files with 45 additions and 27 deletions

View File

@@ -193,11 +193,11 @@ AVAILABLE_CLI_OPTIONS = {
type=float,
metavar='FLOAT',
),
"show_days": Arg(
'--show-days',
help='Print days breakdown for backtest results',
action='store_true',
default=False,
"backtest_breakdown": Arg(
'--breakdown',
help='Show backtesting breakdown per [day, week, month].',
nargs='+',
choices=constants.BACKTEST_BREAKDOWNS
),
# Edge
"stoploss_range": Arg(