Diffusal

Risk Dashboard

Understanding risk metrics and margin health in the dashboard

The Risk Dashboard provides a real-time view of your margin utilization, portfolio Greeks, and proximity to the liquidation threshold. It is designed for market makers and active traders who need to monitor account-level risk at a glance.

Margin Health

The margin health indicator shows your current margin utilization as a ratio of used initial margin to total deposited collateral.

IndicatorCondition
HealthyUtilization below 70%
WarningUtilization between 70% and 90%
CriticalUtilization above 90%
Liquidation RiskMaintenance margin breach imminent

Key Metrics

  • Initial Margin (IM) — The collateral required to open and maintain current positions. Computed by the on-chain margin engine using a stress-loss model over Black-Scholes Greeks.
  • Maintenance Margin (MM) — The minimum collateral required to keep positions open. A breach triggers liquidation.
  • Available Margin — Deposited collateral minus used initial margin. This is the buffer available for new positions or withdrawal.
  • Health RatioAvailable Margin / Initial Margin. A ratio below 1.0 indicates a maintenance margin breach.
  • Liquidation Threshold — The collateral level at which automatic liquidation may be triggered by the keeper service.

Portfolio Greeks

The Greeks panel aggregates sensitivity across all open positions:

GreekDescription
Net DeltaOverall directional exposure in USDT per 1% underlying move
Net GammaRate of delta change; high gamma implies frequent rehedging needs
Net VegaP&L sensitivity to a 1% move in implied volatility
Net ThetaDaily time decay across the portfolio

Greeks update in real time via the private WebSocket stream.

Real-Time Risk Updates

Risk metrics refresh whenever a new position update or mark price arrives via the private stream. The last-updated timestamp is displayed in the panel header. If the stream is disconnected, metrics are stale and shown with a visual indicator.

For a detailed explanation of the margin model and stress-loss calculation methodology, see Margin System. For risk management guidance in the trading app context, see Risk Management.

On this page