Fix wrong type for live running

This commit is contained in:
Matthias
2024-07-07 16:33:47 +02:00
parent 4d6f399131
commit f51b63fc37

View File

@@ -91,7 +91,7 @@ class HyperoptOutput:
style="green" if r["results_metrics"]["profit_total_abs"] > 0 else "red",
),
# "Avg duration":
r["results_metrics"]["holding_avg"],
str(r["results_metrics"]["holding_avg"]),
# "Objective":
f"{r["loss"]:,.5f}" if r["loss"] != 100000 else "N/A",
# "Max Drawdown (Acct)":