chore: improve type safety

pull/13054/head
Matthias 1 month ago
parent 45d4c5d036
commit c60d96922d

@ -226,7 +226,7 @@ def text_table_add_metrics(strat_results: dict) -> None:
else []
)
drawdown_metrics = []
drawdown_metrics: list[tuple[str | Text, str | Text]] = []
if "max_relative_drawdown" in strat_results:
# Compatibility to show old hyperopt results
drawdown_metrics.append(

Loading…
Cancel
Save