TreVmS Labs · v1.1

How likely is my leveraged position to be liquidated, and what leverage keeps that risk low?

Inputs

Instrument, side, entry, leverage, maintenance margin, closing fee and an optional stop.

Outputs

Liquidation price, probability of reaching it within 1h to 7d, stop-touch probability and the largest leverage with under 1% and 5% liquidation risk.

Evidence

Touch probabilities include intrabar highs and lows. On 30 perpetuals the predicted probability differed from the observed touch frequency by 1.8 points on average at 1h, 1.0 at 4h and 2.5 at 24h (engine 1.0 check; 1.1 bounds the variance reaction to single outlier bars).

Limits

Isolated-margin formula; last price stands in for mark price. Tiered margin and cross-margin collateral are not modelled.

API

POST /labs/risk/liquidation {symbol, side, entry, leverage, maintenance_margin, closing_fee, stop, horizons}

Minimum data: Two days of 5m bars.

Any account can run models within its plan quota; the standard liquidation map is free. Pricing →

TreVmS — Technology for financial markets