Overview
Configuration
Parameters
Lifecycle States
How It Works
- Open: Deploys liquidity at configured price range
- Monitor: Tracks if current price is within range
- Fees: Accumulates trading fees while in range
- Close: Removes liquidity when conditions met
P&L Tracking
The executor tracks:Example: SOL-USDC LP
Example: Single-Sided LP
Via API
Position Handover
Whenkeep_position=true and executor closes:
- LP position is always closed on-chain (liquidity withdrawn)
- Net token change tracked in Position Hold
- ADD events → SELL (tokens deposited)
- REMOVE events → BUY (tokens + fees returned)

