chore: non-loaded strategies shouldn't show as hyperoptable

This commit is contained in:
Matthias
2025-11-04 07:16:57 +01:00
parent 007ab1b796
commit e22bf5c681

View File

@@ -156,7 +156,7 @@ def start_list_strategies(args: dict[str, Any]) -> None:
if obj["class"]:
obj["hyperoptable"] = detect_all_parameters(obj["class"])
else:
obj["hyperoptable"] = {"count": 0}
obj["hyperoptable"] = {}
if args["print_one_column"]:
print("\n".join([s["name"] for s in strategy_objs]))