Given entry, exit, quantity and leverage, compute gross + net PnL, initial and maintenance margin, taker-fee estimate, and an approximate liquidation price. Cross-margin or isolated, long or short.
| Notional at entry | $32,500.00 |
| Notional at exit | $33,500.00 |
| Gross P&L | +$1,000.00 |
| Total fees | −$13.20 |
| Initial margin | $3,250.00 |
| Maintenance margin | $162.50 |
| Est. liquidation price | $58,500.00 |
Fee estimate assumes taker on both legs. Liquidation price is an isolated-margin approximation (equity=0 bankruptcy price) — real engine liq is a shade tighter and depends on cross-margin state if enabled.