levsolbotturnkey

← All papers

JUP7 risk worked example: collateral, notional and liquidation

Compiled 2026-11-28 UTC · illustrative arithmetic, not a backtest or live quote

Jupiter's documentation defines the long liquidation price as price - ((collateral_size - close_fee - borrow_fee - (size / max_lev)) * price) / size, where max_lev is the protocol's internal limit of 500.[1]

Our JUP7 page states that no live trade was executed by the seller and that live trading is disabled by default.[2]

Illustrative $10 example

ItemValueBasis
Entry price$100.00Assumption
Collateral$10.00The "$10" is collateral, not notional
Notional exposure$100.00$10 x 10x
Close / borrow fee$0.00Assumed zero for illustration
Liquidation price (long)$90.20Jupiter formula, max_lev 500
7% stop price$93.00$100 x (1 - 0.07)
Stop-out loss$7.007% of $100 notional
Fee/borrow allowance$0.30Published estimate
Estimated account loss$7.30Stop-out plus allowance
Account equity$30.00Published example
Loss as % of equity24.3%7.30 / 30
Stop above liquidation2.8%$93.00 vs $90.20

What the table does not prove

These are assumptions, not a CLI quote. Real liquidation price depends on borrow fees, close fees, oracle/mark prices and venue state. The shipped bot requires at least a 2% buffer between stop and liquidation and refuses an entry if liquidation price is unavailable. No live fill, slippage or MEV result is implied.[1]

Sources

[1] docs.jup.ag/user-docs/trade/perps/liquidation — Jupiter Perps liquidation docs
[2] /for-sale/jup7-bot/ — JUP7 product page

Citations verified with evidence quotes. Research note, not investment advice.