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 automation
Set take-profit and stop-loss on any active position. When the threshold hits, ProFunding closes automatically using market close.
- Take-profit. Close when PnL reaches your target. Lock in gains without watching
- Stop-loss. Close when PnL drops below your limit. Cap your downside
Both fire as market orders for guaranteed execution. If you want limit-style exits, use the MCP watch_position tool with custom conditions instead.