Health Factor Monitoring
Overview
Understanding Health Factor
The Formula
Health Factor = Total Weighted Value / Total Debt
Where:
- Weighted Value = Sum of (Token Balance * Price * Liquidation Threshold)
- Total Debt = Principal + Accrued Interest + Quota FeesRisk Thresholds
Health Factor
Status
Action
What Moves Health Factor
Querying Current Health Factor
Single Account
All Accounts at Risk
Continuous Monitoring
Polling Pattern
Event-Driven Updates
Health Factor Breakdown
Decomposing Health Factor
Alerting Strategies
Tiered Alerts
Suggested Actions per Level
Complete Example: Health Monitor Service
Gotchas
Stale Price Feeds
Health Factor Precision
Interest Accumulation
Next Steps
Last updated
