Documentation Index
Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
Use this file to discover all available pages before exploring further.
The /lp command manages concentrated liquidity (CLMM) positions on decentralized exchanges.
Supported Protocols
| Protocol | Chain | Type |
|---|
| Orca | Solana | CLMM |
| Raydium | Solana | CLMM |
| Meteora | Solana | CLMM |
| Uniswap V3 | Ethereum, Base | CLMM |
View Positions
Shows all active LP positions with:
- Pool and token pair
- Price range (lower - upper)
- Current price and in-range status
- Uncollected fees
- Position value
Add Liquidity
/lp → Add Liquidity → Select pool → Set range → Deposit
- Select Pool: Choose from available pools or search
- Set Range: Define price range for concentrated liquidity
- Enter Amounts: Specify base and quote token amounts
- Confirm: Review and execute transaction
Remove Liquidity
/lp → My Positions → Select position → Remove
Options:
- Remove All: Close entire position
- Remove Partial: Specify percentage to remove
Collect Fees
/lp → My Positions → Select position → Collect Fees
Collects accumulated trading fees without closing the position.
Via API
List Positions
curl -u admin:admin -X POST http://localhost:8000/gateway/clmm/positions_owned \
-H "Content-Type: application/json" \
-d '{
"connector": "orca",
"network": "solana-mainnet-beta",
"pool_address": "5Q544fK..."
}'
Add Liquidity
Add to an existing position (open a new one with POST /gateway/clmm/open):
curl -u admin:admin -X POST http://localhost:8000/gateway/clmm/add \
-H "Content-Type: application/json" \
-d '{
"connector": "orca",
"network": "solana-mainnet-beta",
"position_address": "5Q544fK...",
"base_token_amount": 1.0,
"quote_token_amount": 150.0
}'
Remove Liquidity
curl -u admin:admin -X POST http://localhost:8000/gateway/clmm/remove \
-H "Content-Type: application/json" \
-d '{
"connector": "orca",
"network": "solana-mainnet-beta",
"position_address": "5Q544fK...",
"percentage": 100
}'
Collect Fees
curl -u admin:admin -X POST http://localhost:8000/gateway/clmm/collect-fees \
-H "Content-Type: application/json" \
-d '{
"connector": "orca",
"network": "solana-mainnet-beta",
"position_address": "5Q544fK..."
}'
LP Executor
For agent-controlled LP positions, use the LP Executor which provides:
- Automatic out-of-range handling
- P&L tracking per agent
- Integration with Trading Agent lifecycle
Pool Discovery
Find pools via MCP tools:
pools = await mcp_tools.explore_dex_pools(
chain="solana",
connector="orca",
base_token="SOL",
quote_token="USDC"
)
Or via API:
curl -u admin:admin "http://localhost:8000/gateway/clmm/pools?connector=orca&search_term=SOL"