Closing Trades
Step-by-Step Guide to Manually Closing Positions
π― When to Close a Trade
You might want to manually close your position when:
Taking profits at your target level
Cutting losses before hitting your stop loss
Market conditions change and you want to exit
Reducing risk ahead of major news events
π± Closing Your Position
Step 1: Locate Your Trade
Navigate to "Open Trades" section below the main trading interface
Find the specific position you want to close
Review current P&L to confirm this is the trade you want to exit
Step 2: Initiate Trade Closure
Look for the "X" button on the right-hand side of your trade row
Click the "X" button to start the closing process
Review the closing details that appear:
Current market price
Expected closing price (including spread)
Estimated profit/loss
Any applicable fees
Step 3: Confirm the Transaction
Click "Confirm Close" on the platform
Your wallet will popup (MetaMask, WalletConnect, etc.)
Review transaction details in your wallet:
Gas fee amount
Transaction summary
Click "Confirm" in your wallet to submit the transaction
Step 4: Wait for Execution
Transaction submitted - Your request is sent to the blockchain
Awaiting confirmation - The network processes your transaction
Oracle price fetch - Pyth oracle provides the final execution price
Trade closed - Your position is officially closed
π° What Happens When You Close
Immediate Effects
Position removed from "Open Trades" section
Funds returned to your wallet balance
P&L realized - unrealized gains/losses become final
Any TP/SL orders for this position are automatically cancelled
Final Settlement
What you receive:
Original collateral Β± your profit/loss
Example 1: $500 collateral + $100 profit = $600 returned
Example 2: $500 collateral - $50 loss = $450 returned
Fees deducted:
Trading fees (if applicable)
Funding fees (for positions held overnight)
Gas fees (paid separately for the transaction)
β±οΈ Understanding the Process
Execution Timeline
Click "X" β Instant
Wallet confirmation β 5-30 seconds (depends on you)
Blockchain processing β 10-60 seconds (depends on network)
Oracle price execution β 5-15 seconds
Funds in wallet β Immediate after confirmation
Price Execution
Market orders execute at current market price plus spread
Slippage possible during volatile market conditions
Final price determined by Pyth oracle at execution time
No price guarantees - market conditions can change rapidly
β οΈ Important Considerations
Timing Matters
Market hours: Some assets have different trading hours
Volatility: High volatility can affect execution price
Network congestion: Busy networks may delay execution
Gas fees: Higher during network congestion
Cannot Be Undone
Final action: Once confirmed, you cannot reverse the trade closure
Permanent P&L: Your gains or losses become permanent
Re-entry requires new trade: Must open a fresh position if you want back in
Partial Closing
Not available: You must close the entire position at once
Alternative: If you want to reduce position size, close entirely and open a smaller new position
π After Closing Your Trade
Immediate Checks
Verify funds are back in your wallet
Check transaction on blockchain explorer if desired
Review final P&L in your trading history
Ensure no pending orders remain from this position
Record Keeping
Note final P&L for your records
Review what worked and what didn't
Consider lessons learned for future trades
Update trading journal if you keep one
π Troubleshooting
Common Issues
Transaction Pending
Wait patiently - network might be congested
Check gas fees - low gas can cause delays
Don't submit multiple times - this creates duplicate transactions
Trade Not Closing
Refresh the page and check if it actually closed
Check wallet for pending transactions
Verify network connection and try again
Unexpected Price
Market moved between your click and execution
Spread applied to your closing price
Slippage occurred due to market conditions
Getting Help
Check transaction status on blockchain explorer
Review "Trade History" for completed transactions
Contact support if funds don't appear after confirmation
π‘ Pro Tips
Close during liquid hours for better execution prices
Monitor gas fees and close during lower-cost periods when possible
Have a plan before opening trades about when you'll close
Don't panic close unless you have a good reason
Consider partial profit taking by closing and reopening smaller positions
Last updated