MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / _start_octobot_cli_args

Function _start_octobot_cli_args

tests/unit_tests/test_cli.py:78–105  ·  view source on GitHub ↗
(**overrides)

Source from the content-addressed store, hash-verified

76
77
78def _start_octobot_cli_args(**overrides):
79 cli_args = {
80 "version": False,
81 "encrypter": False,
82 "backtesting": False,
83 "standalone": False,
84 "backtesting_files": None,
85 "whole_data_range": True,
86 "enable_backtesting_timeout": True,
87 "risk": None,
88 "user_folder": None,
89 "log_folder": None,
90 "no_web": False,
91 "no_logs": False,
92 "no_telegram": False,
93 "dump_state": None,
94 "identifier": None,
95 "strategy_optimizer": False,
96 "reset_trading_history": False,
97 "update": False,
98 "simulate": False,
99 "master": False,
100 "consumer_only": False,
101 "host": None,
102 "port": None,
103 }
104 cli_args.update(overrides)
105 return argparse.Namespace(**cli_args)
106
107
108class TestUpdateConfigWithArgs:

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected