Status
ACTIVE
at hour 0
Equity (now)
$0
— of collateral
PnL
$0
0.0%
Total fees paid
$0
borrow + funding + tx
Configure your position on the left. The simulator will compute every parameter and run the full position lifecycle.
Pre-trade breakdown (computed at t=0)
Position evolution over time
Cumulative fee composition
Sandbox simplifications vs spec ▾
This simulator implements the LEVER v1.1 math faithfully where it can, but intentionally omits a few features that are not central to a single-position lifecycle view. Calling them out so behavior stays interpretable:
- Market adjustment factor (M_market) not modelled. §8.11 defines Vol_Factor × Depth_Factor × Concentration_Factor that further tighten R_adjusted. The sim uses raw R(τ) everywhere, so leverage ceilings, OI caps, and execution depth on volatile/concentrated markets are slightly overstated.
- No formal margin-check gate at open (§11.6). If your requested leverage exceeds the effective max, the sim silently caps you to the max and shows a warning banner — it doesn't reject the open. IM volatility/utilization adjustments from §11.3 are not applied.
- Liquidations close at PI, not via execution impact (§13.4). The spec routes forced closes through the linear-impact model. The sim treats equity-at-trigger as the close value, so bad-debt risk on imbalanced books is slightly underestimated.
- Single trader, no book interaction. Your position doesn't change longOI/shortOI dynamically over the lifecycle. Funding rates assume the book stays at the configured imbalance.
- Hourly time step. Sim advances 1h at a time. Liquidation timing is granular to 1h. In production, checks fire on every oracle update (down to 30s near resolution per §5.9).
Faithful to spec: τ_effective compression, dual risk curves R(τ)/R_borrow(τ), platform ceiling pipeline (TVL/IFR/Util mults), imbalance-adjusted linear impact with [0, 5%] bounds, MM_Multiplier(R), §11.4 50 bps liquidation buffer δ, borrow M_ttR up to 25× with imbalance surcharge, 1× borrow exemption, funding split (matched↔traders, unmatched→LP), 5 bps/hr funding cap, 1% liquidation fee, 20 bps settlement fee on winners only, void refund logic, bad debt detection.