CA: TBA$ELYHYPE
Elysium · reading

Position Risk Simulator

See where a leveraged position is liquidated and what each price move does to it, before you open it anywhere. This is a calculator: Elysium has no perpetuals venue that this site trades on, and every venue has its own margin rules.

Empty = the live pool price.

Entry price must be above zero.

Maintenance margin and fees differ by venue (often tiered by size). Use the numbers of the venue you would trade on.

Liquidation price—
Margin put up—quote
Position—units
Opening fee—quote, paid from margin
Price movePriceResult (quote)On margin

How it is worked out

position = size / entry margin = size / leverage; opening fee = size x fee (paid from margin) long liquidation = (entry - (margin - fee) / position) / (1 - maintenance) short liquidation = (entry + (margin - fee) / position) / (1 + maintenance) result at price P = position x (P - entry) for a long (entry - P for a short) - both fees

Liquidation is taken as the price where margin plus the open result falls to the maintenance requirement. A liquidated position is shown as losing the whole margin; some venues return a remainder, some charge a liquidation fee on top. Funding payments, mark-price rules and partial liquidation are not modelled.