Close Strategies
Market close, slow close, and TWAP. Pick the right exit strategy for your position size and urgency.
Three ways to close
Every position needs an exit. ProFunding gives you three strategies depending on how much you care about speed vs. price.
Market close
Both legs close instantly at market price.
- Speed: Immediate
- Slippage: Highest. You're crossing the spread on both DEXs
- Use when: Funding just flipped, you need out now, or the position is small enough that slippage doesn't matter
Slow close
Places a limit order first. If it doesn't fill within the timeout, falls back to market.
- Speed: Minutes. Depends on the timeout you set
- Slippage: Lower. You're posting on the book instead of crossing
- Use when: Position is large enough that market slippage hurts, but you don't need to exit in the next 10 seconds
The Activity Log shows the limit order status in real time. If partial fills happen, the remaining size falls back to market.
TWAP close
Splits your position into N slices and closes them over time. Each slice executes as a market order at regular intervals.
- Speed: Slow. You define the duration
- Slippage: Lowest. Smaller orders move the book less
- Use when: Large positions on thin books. Breaking a $10k close into 10 orders of $1k over 20 minutes avoids slamming the orderbook
Progress updates appear in the Activity Log as each slice executes.
Which strategy for which situation
| Position size | Book depth | Urgency | Strategy |
|---|---|---|---|
| Small (under $1k) | Any | Any | Market close |
| Medium ($1-5k) | Decent | Low | Slow close |
| Medium ($1-5k) | Decent | High | Market close |
| Large (over $5k) | Thin | Low | TWAP |
| Any | Any | Funding flipped | Market close |
TP/SL and auto-close via Guard
Every open position has a Guard bar that bundles TP, SL, and funding-flip auto-close into one panel. Pick Cloud mode (runs 24/7 on the backend when your tab is closed) or Browser mode (runs in the tab only).
- Take-profit. Close when mark price rises above your target. Quick buttons: +1%, +2%, +5%, +10%
- Stop-loss. Close when mark price drops below your stop. Quick buttons: -1%, -2%, -5%, -10%
- Funding flip. Close the moment net hourly funding turns negative
Cloud mode lets you choose Alert only (Telegram message) or Auto-close (both legs close at market). Browser mode always auto-closes.
See Position Management for the full walkthrough. For limit-style or multi-condition exits, use the MCP watch_position tool.