mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Improve arguments file formatting
This commit is contained in:
@@ -124,10 +124,6 @@ ARGS_LOOKAHEAD_ANALYSIS = ARGS_BACKTEST + ["minimum_trade_amount",
|
||||
"lookahead_analysis_exportfilename"]
|
||||
|
||||
|
||||
# + ["target_trades", "minimum_trades",
|
||||
# "target_trades", "exportfilename"]
|
||||
# will be added when the base version works.
|
||||
|
||||
class Arguments:
|
||||
"""
|
||||
Arguments Class. Manage the arguments received by the cli
|
||||
@@ -460,14 +456,14 @@ class Arguments:
|
||||
'files to the current version',
|
||||
parents=[_common_parser])
|
||||
strategy_updater_cmd.set_defaults(func=start_strategy_update)
|
||||
self._build_args(optionlist=ARGS_STRATEGY_UPDATER,
|
||||
parser=strategy_updater_cmd)
|
||||
self._build_args(optionlist=ARGS_STRATEGY_UPDATER, parser=strategy_updater_cmd)
|
||||
|
||||
# Add lookahead_analysis subcommand
|
||||
lookahead_analayis_cmd = \
|
||||
subparsers.add_parser('lookahead-analysis',
|
||||
help="checks for potential look ahead bias",
|
||||
lookahead_analayis_cmd = subparsers.add_parser(
|
||||
'lookahead-analysis',
|
||||
help="Check for potential look ahead bias.",
|
||||
parents=[_common_parser, _strategy_parser])
|
||||
|
||||
lookahead_analayis_cmd.set_defaults(func=start_lookahead_analysis)
|
||||
|
||||
self._build_args(optionlist=ARGS_LOOKAHEAD_ANALYSIS,
|
||||
|
||||
0
freqtrade/commands/strategy_utils_commands.py
Executable file → Normal file
0
freqtrade/commands/strategy_utils_commands.py
Executable file → Normal file
Reference in New Issue
Block a user