Skip to main content
There are four ways a position closes on Ostium: manual full close, manual partial close, automated close via TP/SL, or liquidation. There is no closing fee. Your displayed unrealized PnL equals your realized PnL at market price.

Manual Close

Full Close

Click Close on any open position to exit entirely at the current bid (longs) or ask (shorts). Your collateral plus or minus PnL is returned to your wallet. The $0.10 oracle fee charged at open is refunded on a successful full close.

Partial Close

Close a portion of your position while keeping the rest open. Set the dollar amount or percentage in the close dialog. Each partial close incurs a $0.10 oracle fee. The remaining position must still meet the pair’s minimum trade size.

Automated Close: TP and SL

Take-profit and stop-loss orders close your position automatically when the market reaches your specified level. Both are set and managed from the Positions panel (see Managing Positions).
  • Take-Profit (TP): Triggers when price moves in your favor. Executes as a limit close at your target price.
  • Stop-Loss (SL): Triggers when mid-price crosses your level. Executes as a market close at the bid/ask.
Automated TP and SL executions do not charge an oracle fee. No cancellation fees apply.

Liquidation

Liquidation is an automatic close triggered when your collateral falls below the liquidation threshold. There is no margin call. Keeper bots (Gelato Functions) execute liquidations onchain; the protocol pays the gas fee. After liquidation, remaining collateral is retained by the protocol as part of settlement. You do not receive any remaining collateral. See Vault Overview for how settlement flows reconcile onchain and offchain. See Liquidation for thresholds, formulas, and how to avoid it.

Collateral After Close

OutcomeWhat Happens
Positive PnLInitial collateral + profits returned to your wallet.
Negative PnLInitial collateral minus losses returned to your wallet. Losses retained by the protocol as part of settlement.
LiquidationAll remaining collateral retained by the protocol as part of settlement. Nothing returned.

FAQ

No. Ostium charges nothing to close a position. Your displayed PnL is your realized PnL. The oracle fee from opening is refunded on a successful full close.
Yes — see Partial Close above. A $0.10 oracle fee applies per partial close, and the remaining position must meet the pair’s minimum trade size.
No. Remaining collateral is retained by the protocol as part of settlement. Liquidation thresholds, formulas, and mechanics for avoiding liquidation (stop-losses, lower leverage, added collateral) are documented on the Liquidation page.

  • Liquidation — Thresholds, formulas, and worked examples.
  • Fees — All costs on Ostium in one page.
  • Managing Positions — Adjust TP/SL and collateral while open.