Fix wrong type for live running
This commit is contained in:
@@ -91,7 +91,7 @@ class HyperoptOutput:
|
|||||||
style="green" if r["results_metrics"]["profit_total_abs"] > 0 else "red",
|
style="green" if r["results_metrics"]["profit_total_abs"] > 0 else "red",
|
||||||
),
|
),
|
||||||
# "Avg duration":
|
# "Avg duration":
|
||||||
r["results_metrics"]["holding_avg"],
|
str(r["results_metrics"]["holding_avg"]),
|
||||||
# "Objective":
|
# "Objective":
|
||||||
f"{r["loss"]:,.5f}" if r["loss"] != 100000 else "N/A",
|
f"{r["loss"]:,.5f}" if r["loss"] != 100000 else "N/A",
|
||||||
# "Max Drawdown (Acct)":
|
# "Max Drawdown (Acct)":
|
||||||
|
|||||||
Reference in New Issue
Block a user