chore: fail to start edge command.
This commit is contained in:
@@ -506,7 +506,9 @@ class Arguments:
|
|||||||
|
|
||||||
# Add edge subcommand
|
# Add edge subcommand
|
||||||
edge_cmd = subparsers.add_parser(
|
edge_cmd = subparsers.add_parser(
|
||||||
"edge", help="Edge module.", parents=[_common_parser, _strategy_parser]
|
"edge",
|
||||||
|
help="Edge module. No longer part of Freqtrade",
|
||||||
|
parents=[_common_parser, _strategy_parser],
|
||||||
)
|
)
|
||||||
edge_cmd.set_defaults(func=start_edge)
|
edge_cmd.set_defaults(func=start_edge)
|
||||||
self._build_args(optionlist=ARGS_EDGE, parser=edge_cmd)
|
self._build_args(optionlist=ARGS_EDGE, parser=edge_cmd)
|
||||||
|
|||||||
@@ -129,15 +129,10 @@ def start_edge(args: dict[str, Any]) -> None:
|
|||||||
:param args: Cli args from Arguments()
|
:param args: Cli args from Arguments()
|
||||||
:return: None
|
:return: None
|
||||||
"""
|
"""
|
||||||
from freqtrade.optimize.edge_cli import EdgeCli
|
raise ConfigurationError(
|
||||||
|
"The Edge module has been deprecated in 2023.9 and removed in 2025.6. "
|
||||||
# Initialize configuration
|
"All functionalities of edge have been removed."
|
||||||
config = setup_optimize_configuration(args, RunMode.EDGE)
|
)
|
||||||
logger.info("Starting freqtrade in Edge mode")
|
|
||||||
|
|
||||||
# Initialize Edge object
|
|
||||||
edge_cli = EdgeCli(config)
|
|
||||||
edge_cli.start()
|
|
||||||
|
|
||||||
|
|
||||||
def start_lookahead_analysis(args: dict[str, Any]) -> None:
|
def start_lookahead_analysis(args: dict[str, Any]) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user