DefaultStrategy does not need to be limited

This commit is contained in:
Matthias
2021-08-26 07:00:15 +02:00
parent c4be52d1c3
commit 1f3ccc2587
5 changed files with 3 additions and 16 deletions

View File

@@ -74,8 +74,6 @@ def start_new_strategy(args: Dict[str, Any]) -> None:
config = setup_utils_configuration(args, RunMode.UTIL_NO_EXCHANGE)
if "strategy" in args and args["strategy"]:
if args["strategy"] == "DefaultStrategy":
raise OperationalException("DefaultStrategy is not allowed as name.")
new_path = config['user_data_dir'] / USERPATH_STRATEGIES / (args['strategy'] + '.py')