#Closing Positions
This guide covers how to close positions and understand the settlement process.
#Closing a Full Position
To completely exit a position:
#Steps:
- Find your position in the positions panel
- Click "Close Position" or "Close"
- Review the estimated PnL
- Confirm the transaction
#What happens:
- Your position size is set to 0
- PnL is calculated at the settlement price
- PnL is added to (or subtracted from) your collateral
- Collateral is freed for withdrawal or new trades
#Closing a Partial Position
To close only part of a position:
#Steps:
- Open the trade panel for that market
- Enter a smaller size than your current position
- Submit the order
#Example:
Current Position: 0.5 BTC long
Action: Set size to 0.2 BTC
Result:
- Close 0.3 BTC
- Realize PnL on 0.3 BTC
- Remaining: 0.2 BTC longPartial closes realize proportional PnL:
- If closing 60% of position → realize 60% of current PnL
- Remaining position maintains original entry price
#Closing via Limit Order
Instead of closing at market price:
- Select "Limit Order"
- Enter your desired exit price
- Submit the order
- Order executes when price is reached
#For Longs (profit target above entry):
Entry: $100,000
Limit Close: $105,000#For Shorts (profit target below entry):
Entry: $100,000
Limit Close: $95,000#Automatic Closes
Positions may close automatically through:
#Stop-Loss
If you've set a stop-loss and price reaches that level:
- Position closes automatically
- Helps limit losses
#Take-Profit
If you've set a take-profit and price reaches that level:
- Position closes automatically
- Locks in profits
#Liquidation
If your margin falls below maintenance requirements:
- Position is closed by liquidators
- See Liquidations for details
#Settlement Process
When you close a position:
| Step | Description | Time |
|---|---|---|
| 1. Submit | Transaction sent to network | Instant |
| 2. Pending | Waiting for oracle update | 1-10 seconds |
| 3. Settle | Position closes at oracle price | Instant |
| 4. Complete | PnL applied, collateral freed | Instant |
#Why oracle settlement?
The close price is determined by the next valid oracle update, not the price at submission time. This prevents:
- Front-running
- Price manipulation
- Stale price exploitation
Your actual exit price may differ slightly from the displayed price at submission time. This is normal and protects all users.
#Understanding Your Close
When closing, review:
| Field | Description |
|---|---|
| Size to Close | Amount being closed |
| Current Price | Live oracle price (may change) |
| Entry Price | Your average entry |
| Estimated PnL | Expected profit/loss |
| Trading Fee | 0.02% of closing value |
| Net Result | PnL minus fees |
#Closing Fees
When closing a position:
| Fee | Amount |
|---|---|
| Trading Fee | 0.02% of position value |
| Gas | ~$0.01 on Arbitrum |
#Example:
Closing 0.1 BTC at $100,000
Position value: $10,000
Trading fee: $10,000 × 0.02% = $2#PnL Calculation
#Long Position PnL:
PnL = Size × (Exit Price - Entry Price)#Short Position PnL:
PnL = Size × (Entry Price - Exit Price)#Example (Long):
Entry: 0.1 BTC at $100,000
Exit: 0.1 BTC at $110,000
PnL = 0.1 × ($110,000 - $100,000) = $1,000 profit#Example (Short):
Entry: 0.1 BTC at $100,000
Exit: 0.1 BTC at $90,000
PnL = 0.1 × ($100,000 - $90,000) = $1,000 profit#After Closing
Once your position is closed:
- PnL Applied — Profit added or loss subtracted from collateral
- Collateral Freed — Available for withdrawal or new trades
- Funding Stops — No more funding payments for this position
- Position Removed — No longer appears in open positions
#Withdrawing After Close
After closing positions, you can withdraw your USDC:
- Go to your account/wallet section
- Click "Withdraw"
- Enter amount (up to available balance)
- Confirm transaction
USDC is sent directly to your wallet.
#Cancel Pending Close
If you've submitted a close order but it hasn't settled:
- Click "Cancel" on the pending order
- Confirm the cancellation
- Your position remains open
Cancellation is only possible before oracle settlement. Once settled, the close is final.
#Best Practices
- Review before confirming — Double-check PnL and fees
- Use limit orders for precision — If exact exit price matters
- Set stop-losses early — Don't rely on manual closing in volatile markets
- Account for slippage — Settlement price may differ from displayed price
- Keep gas buffer — Ensure you have ETH for the transaction