diff --git a/view_live_mt5_eas.py b/view_live_mt5_eas.py
index dd17689..efde949 100644
--- a/view_live_mt5_eas.py
+++ b/view_live_mt5_eas.py
@@ -436,7 +436,7 @@ cache/
last_report = "—"
else:
last_report = "No cache"
- c5.markdown(f'
{last_report}
',
+ c5.markdown(f'{last_report}
',
unsafe_allow_html=True)
if c6.button("🗑", key=f"rm_{ac['account']}"):
remaining = [a for a in acc_cfgs if a["account"] != ac["account"]]
@@ -647,13 +647,13 @@ cache/
) if ea_stopped else ""
prop_bars = (
''
- f'
Profit {pnl_pct:+.2f}% / {pt:.0f}%
'
+ f'
Profit {pnl_pct:+.2f}% / {pt:.0f}%
'
f'
'
- f'
Max loss {min(max(-pnl_pct,0),ml):.2f}% / {ml:.0f}%
'
+ f'
Max loss {min(max(-pnl_pct,0),ml):.2f}% / {ml:.0f}%
'
f'
'
- f'
Daily loss {today_pct:.2f}% / {dl:.0f}%
'
+ f'
Daily loss {today_pct:.2f}% / {dl:.0f}%
'
f'
'
f'{stopped_banner}'
@@ -667,14 +667,14 @@ cache/
f'
{d["label"]}'
f'
{acc_type}'
'
'
- f'Updated: {fetched_str}
'
+ f'Updated: {fetched_str}
'
f'{current_pnl:+,.2f} ({pnl_pct:+.2f}%)
'
- f'Balance: ${balance:,.0f} → Current: ${current_bal:,.2f}
'
+ f'Balance: ${balance:,.0f} → Current: ${current_bal:,.2f}
'
f''
- f'
Recovery: {recovery}
'
- f'
Loss streak: {streak}
'
- f'
Stagnation: {stag_days}d
'
- f'
Today: =0 else "#E05555"}">{today_pnl:+.2f} ({today_pct:+.2f}%)
'
+ f'
Recovery: {recovery}
'
+ f'
Loss streak: {streak}
'
+ f'
Stagnation: {stag_days}d
'
+ f'
Today: =0 else "#E05555"}">{today_pnl:+.2f} ({today_pct:+.2f}%)
'
'
'
f'{prop_bars}'
''
@@ -1249,7 +1249,7 @@ def _cell_html(day_num: int, row, is_today: bool, unit: str, balance: float) ->
f''
f''
- f' {day_num} '
+ f' {day_num} '
f'{content} | '
)
@@ -1333,7 +1333,7 @@ def _render_week_grid(year, week_num, day_map, today, unit, balance):
date_hdr = "".join(
f''
f'{["Mon","Tue","Wed","Thu","Fri"][i]} '
- f'{days[i].strftime("%d %b")} | '
+ f'{days[i].strftime("%d %b")}'
for i in range(5)
)
body = f"{cells}
"