Checks before a trade goes through
These checks are independent of each other, passing one doesn’t excuse you from the others. A trade needs enough collateral posted relative to its size, has to sit within the market’s allowed leverage range (both a minimum and a maximum), can’t exceed the market’s maximum position size, and can’t push the market’s total long or short exposure past its configured cap. Long and short open interest are tracked and capped separately, so one side filling up doesn’t block the other.Checking position health
Once a position is open, the risk engine is also what determines whether it’s still healthy or has become eligible for liquidation. That calculation, and exactly how a margin ratio and liquidation price are derived, is covered in full in PnL & Liquidation.Isolated vs. cross
How health is evaluated depends on the position’s margin mode:- Isolated positions are checked individually, their own collateral against their own risk.
- Cross positions are checked as a whole account, total equity across every cross position against the combined maintenance requirement of all of them together.
