Simulator
drain the top.
Build a book, set the shortfall ADL must close, and compare the fair rule (water-filling) with a queue-style rule. Everything runs in your browser.
Level t*25.0×Common leverage after the fair rule
Max leverage after25.0×Fair 25.0× · queue 45.0×
Big winners closed0Fair 0 · queue 3
Bad debt at 5% move$38.1KBefore ADL $100.8K · fair $38.1K · queue $100.8K
Leverage by accountFair rule · dashed = before
12×
24×
36×
49×
t* 25.0×
Kept Reduced Big winner (PnL > 50%)
Book
| Account | Equity ($) | Notional ($) | PnL % | Leverage | After fair | After queue | |
|---|---|---|---|---|---|---|---|
| 45.0× | $500.3K | $900.0K | |||||
| 32.0× | $1.50M | $1.92M | |||||
| 28.0× | $375.2K | $420.0K | |||||
| 6.0× | $720.0K | $0 | |||||
| 18.0× | $720.0K | $720.0K | |||||
| 3.0× | $240.0K | $156.6K | |||||
| 24.0× | $600.0K | $600.0K | |||||
| 9.0× | $450.0K | $0 | |||||
| 38.0× | $750.4K | $1.14M | |||||
| 4.0× | $360.0K | $360.0K | |||||
| 14.0× | $490.0K | $490.0K | |||||
| 22.0× | $396.0K | $396.0K |
Model: single asset, isolated margin; equity is held constant while notional is reduced. The queue is a simplified PnL% × leverage ranking. Imported cross-margin positions use notional ÷ leverage setting as their equity.