Fix mixed tag stats in backtest output
This commit is contained in:
@@ -102,7 +102,7 @@ def text_table_tags(
|
|||||||
[
|
[
|
||||||
*(
|
*(
|
||||||
(
|
(
|
||||||
(t["key"] if isinstance(t["key"], list) else [t["key"], ""])
|
list(t["key"]) if isinstance(t["key"], (list, tuple)) else [t["key"], ""]
|
||||||
if is_list
|
if is_list
|
||||||
else [t["key"]]
|
else [t["key"]]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user