Skip to content

Commit 8eca6b5

Browse files
authored
Merge pull request #13 from drift-labs/sina/update-liqcalc
Update liqcalc (add health)
2 parents 938d1f5 + 4dd41b6 commit 8eca6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabs/liqcalc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,6 @@ async def liqcalc(drift_client: DriftClient):
572572
if health < 20:
573573
health_color = "off"
574574
elif health < 50:
575-
health_color = "error"
575+
health_color = "inverse"
576576

577577
st.metric("Account Health", f"{health:.2f}%", delta_color=health_color)

0 commit comments

Comments
 (0)