Description
A cross-margin / isolated-margin engine for Hyperliquid’s HIP-3 synthetic markets.
What it does:
– Exact Mark Price — median of 3 inputs (plus a conditional 4th).
– Maximum safe leverage = 1 / (Stop-Loss% + MMR%).
– Long/short liquidation price, plus the buffer between your Stop-Loss and actual liquidation.
Requirements: Python 3.9+. Zero dependencies (stdlib only).
Note: this is a calculation tool. It does not sign orders and is not financial or investment advice — you trade at your own risk.

Reviews
There are no reviews yet.