Skip to content

Commit 48ddfa2

Browse files
committed
Fix Leverage column concat
1 parent 3743e92 commit 48ddfa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ftui/screens/dashboard_screen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _render_open_trade_data(self, data, trading_mode="spot"):
147147
)
148148

149149
if trading_mode != "spot":
150-
render_data = render_data + (f"{v['Leverage']}")
150+
render_data = render_data + (f"{v['Leverage']}",)
151151

152152
render_data = render_data + (
153153
f"{v['# Orders']}",

ftui/screens/main_bot_screen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def _render_open_trade_summary(self, ftuic):
416416
)
417417

418418
if ftuic.get_client_config().get("trading_mode") != "spot":
419-
render_data = render_data + (f"{t['leverage']}")
419+
render_data = render_data + (f"{t['leverage']}",)
420420

421421
render_data = render_data + (
422422
f"{num_orders}",

0 commit comments

Comments
 (0)