Pool Evaluation Techniques | AMMs on XRPL | XRP Academy - XRP Academy
3 free lessons remaining this month

Free preview access resets monthly

Upgrade for Unlimited
Skip to main content
beginner55 min

Pool Evaluation Techniques

Learning Objectives

Calculate expected fee income using multiple estimation methods

Model IL scenarios for realistic price movement ranges

Compute net expected returns combining fees and IL

Assess pool risk factors systematically

Compare pools to identify the best opportunities

"This pool looks good" isn't analysis. This lesson replaces intuition with method. By the end, you'll have a repeatable process for evaluating any XRPL AMM pool.

The goal isn't to predict the future—it's to make decisions based on reasonable estimates and identify pools where the expected value is positive.


BASIC FEE INCOME FORMULA

Fee Income = Volume × Fee Rate × Your Pool Share

Components:
├── Volume: Trading volume through the pool
├── Fee Rate: Pool's trading fee (e.g., 0.5%)
├── Your Pool Share: Your LP tokens / Total LP supply
└── Result: Your fee income for the period

Example calculation:
├── Daily volume: $100,000
├── Fee rate: 0.5%
├── Your pool share: 2%
├── Daily fee income: $100,000 × 0.005 × 0.02 = $10
├── Monthly: $10 × 30 = $300
├── Annual: $10 × 365 = $3,650
└── If position is $10,000: 36.5% annual fee APY
```

METHOD 1: HISTORICAL AVERAGE

Process:
├── Get historical volume data (30+ days if available)
├── Calculate daily average
├── Use as base estimate
├── Adjust for known factors
└── Apply to fee calculation

Adjustments:
├── Recent trend (up or down)
├── Market conditions (bull vs bear)
├── Seasonal patterns if any
├── One-time events (exclude anomalies)
└── Conservative vs optimistic estimates

Example:
├── Past 30 days volume: $2.5M total
├── Daily average: $2.5M / 30 = $83,333
├── Recent trend: Slightly down (-10%)
├── Adjusted estimate: $75,000/day
└── Use for calculations

METHOD 2: COMPARABLE ANALYSIS

Process:
├── Find similar pools (same assets, different platforms)
├── Note their volume/TVL ratios
├── Apply to your target pool
└── Sanity check the result

Example:
├── XRP/USD pool on Platform A: $1M TVL, $100K daily volume
├── Volume/TVL ratio: 10%
├── Target pool: $500K TVL
├── Estimated volume: $500K × 10% = $50K daily
└── Compare to actual, adjust

METHOD 3: FUNDAMENTAL ESTIMATION

Process:
├── Consider what drives volume
├── Arbitrage activity (price volatility)
├── User trading demand
├── Protocol/ecosystem usage
└── Bottom-up estimate

Considerations:
├── XRP volatility → arbitrage volume
├── RLUSD usage → exchange volume
├── Ecosystem activity → baseline demand
├── Limited for XRPL (small ecosystem)
└── More art than science
```

SCENARIO-BASED FEE PROJECTION

Create three scenarios:

PESSIMISTIC:
├── Volume at 50% of historical average
├── Reason: Market downturn, reduced activity
├── Fee income = X × 0.5
└── Worst reasonable case

BASE CASE:
├── Volume at historical average
├── Reason: Continuation of trends
├── Fee income = X
└── Most likely case

OPTIMISTIC:
├── Volume at 150% of historical average
├── Reason: Market upturn, increased adoption
├── Fee income = X × 1.5
└── Best reasonable case

Example:
├── Historical daily volume: $100K
├── Pessimistic: $50K → $5/day fees (at 2% share, 0.5% fee)
├── Base: $100K → $10/day fees
├── Optimistic: $150K → $15/day fees
└── Monthly range: $150 - $450


---
DEFINING PRICE SCENARIOS

Typical modeling range:
├── -50% (price halves)
├── -25%
├── -10%
├── Unchanged
├── +10%
├── +25%
├── +50%
├── +100% (price doubles)
└── Cover reasonable outcomes

For each scenario, calculate:
├── Price ratio (r = new/old)
├── IL percentage = 1 - 2√r/(r+1)
├── IL in dollars = IL% × Hold Value
├── Position value = Hold Value × (1 - IL%)
└── Net return = Fees - IL

Build a scenario table for your analysis.
```

IL CALCULATION EXAMPLE

Starting position:
├── 2,000 XRP at $2.50 = $5,000
├── 5,000 RLUSD = $5,000
├── Total: $10,000
├── Time horizon: 3 months
├── Expected fees (base case): $900

Price r IL% Hold Value IL ($) Position Net
-50% 0.50 5.72% $7,500 $429 $7,071 $471
-25% 0.75 1.03% $8,750 $90 $8,660 $810
-10% 0.90 0.26% $9,500 $25 $9,475 $875
0% 1.00 0.00% $10,000 $0 $10,000 $900
+10% 1.10 0.23% $10,500 $24 $10,476 $876
+25% 1.25 0.60% $11,250 $68 $11,182 $832
+50% 1.50 2.02% $12,500 $253 $12,247 $647
+100% 2.00 5.72% $15,000 $858 $14,142 $42

Net = Position Value - Initial + Fees - IL
= Position Value + Fees - $10,000

Interpretation:
├── Profitable in all scenarios (fees > IL)
├── Best outcome: Price flat (max $900 gain)
├── Worst modeled: Price doubles (only $42 gain)
├── Extreme moves reduce but don't eliminate profit
└── This is a positive expected value position
```

EXPECTED VALUE CALCULATION

Assign probabilities to scenarios:

Price Probability Net Return Weighted
-50% 5% $471 $24
-25% 15% $810 $122
-10% 20% $875 $175
0% 25% $900 $225
+10% 20% $876 $175
+25% 10% $832 $83
+50% 4% $647 $26
+100% 1% $42 $0
─────
Expected Value: $830

Interpretation:
├── Probability-weighted expected return: $830
├── On $10,000 position over 3 months
├── = 8.3% return / 33.2% annualized
├── Positive expected value
└── Worth pursuing if estimates reasonable

Note on probabilities:
├── These are subjective estimates
├── No one knows future price movements
├── Different analysts will assign differently
├── Purpose: Structure thinking, not predict
└── Sensitivity test your assumptions


---
NET RETURN FORMULA

Net Return = Fee Income - Impermanent Loss

In percentage terms:
├── Fee APY: (Annual Fee Income / Position Value)
├── IL%: From price movement
├── Net APY ≈ Fee APY - IL%
└── Approximate because IL% is vs hold value

More precise:
├── Final Value = Position Value after IL + Fee Income
├── Return = Final Value - Initial Value
├── Return % = Return / Initial Value
└── Compare to holding return

Key insight:
├── Fees accumulate over time (time-dependent)
├── IL depends on price movement (path-independent)
├── Longer time = more fees, but also more chance for price divergence
└── Trade-off between accumulation and divergence risk
```

BREAK-EVEN CALCULATION

Question: How much can price move before fees don't cover IL?

Method 1: Direct calculation
├── Set Fee Income = IL
├── Solve for price ratio r
├── Complex algebra, use numerical methods
└── Or use approximation

Method 2: Scenario search
├── Build scenario table
├── Find where Net Return ≈ 0
├── That's your break-even movement
└── Practical approach

Example from previous table:
├── At +100% (2×), net return was $42 (barely positive)
├── Slightly beyond 2× would be break-even
├── At 3× price change, IL ≈ 13.4%
├── $13,400 × 13.4% = $1,796 IL
├── Would need $1,796 fees to break even
├── Base case fees = $900 (insufficient)
└── Break-even is somewhere between 2× and 3×

Practical interpretation:
├── As long as price stays within ~2× movement
├── This position is expected to be profitable
├── Beyond that, IL exceeds fees
├── How likely is >2× move in 3 months?
├── If unlikely, position is attractive
└── If likely, reconsider
```

TIME AND NET RETURNS

Shorter horizons (1-4 weeks):
├── Less fee accumulation
├── Less time for price divergence
├── Small moves = small IL
├── But: Fees may not be meaningful
└── High fee APY needed to justify

Longer horizons (3-12 months):
├── More fee accumulation
├── More time for price divergence
├── Larger potential IL
├── Fees compound longer
└── Break-even easier to reach if price stable

Very long horizons (>1 year):
├── Significant fee accumulation
├── But: High probability of major price moves
├── Crypto is volatile
├── IL almost certain to be significant
└── Must believe in very high fee APY

Recommended approach:
├── Model for specific time horizon
├── Match horizon to objectives
├── 3-6 months often reasonable for analysis
├── Re-evaluate at horizon endpoint
└── Don't assume infinite horizon
```


RISK SCORING FRAMEWORK

Score each factor 1-5 (1=low risk, 5=high risk):

ASSET RISK:
├── Asset A volatility: ___
├── Asset A issuer risk: ___
├── Asset B volatility: ___
├── Asset B issuer risk: ___
└── Average: ___

POOL RISK:
├── TVL size (small=risky): ___
├── LP concentration: ___
├── Volume consistency: ___
├── Pool history/maturity: ___
└── Average: ___

MARKET RISK:
├── Overall crypto sentiment: ___
├── XRPL ecosystem health: ___
├── Regulatory environment: ___
├── Competitive dynamics: ___
└── Average: ___

OPERATIONAL RISK:
├── Your key security: ___
├── Monitoring capability: ___
├── Exit liquidity: ___
├── Information quality: ___
└── Average: ___

OVERALL RISK SCORE:
├── Sum of category averages / 4
├── 1-2: Low risk
├── 2-3: Moderate risk
├── 3-4: Higher risk
├── 4-5: High risk
└── Informs position sizing
```

RED FLAG IDENTIFICATION

Check for each:

□ Single LP dominates (>50% of tokens)
□ Unknown or unverified asset issuer
□ Zero or minimal trading volume
□ Pool very recently created (<1 month)
□ Fee rate extremely high (>1%) or extremely low (0%)
□ No other LPs besides creator
□ Assets you don't understand
□ No way to verify pool data
□ Pool on unofficial/unverified interface
□ Promises of guaranteed returns

Red flag count:
├── 0-1: Proceed with normal analysis
├── 2-3: Extra caution, reduce position size
├── 4+: Strongly consider avoiding
└── Any critical red flag: Do not proceed

Critical red flags:
├── Unverified/scam issuer
├── No volume ever
├── Obvious rug pull indicators
└── Skip regardless of other factors
```

RISK-ADJUSTED RETURN CALCULATION

Simple approach:
├── Expected Return: 30% annual
├── Risk Score: 3.0 (moderate-high)
├── Risk Adjustment Factor: 1 / Risk Score = 0.33
├── Risk-Adjusted Return: 30% × 0.33 = 10%
└── Compare pools on risk-adjusted basis

More sophisticated (Sharpe-like):
├── Expected Return: 30%
├── Risk-Free Rate: 5% (or stablecoin yield)
├── Volatility Estimate: 40%
├── Sharpe-like: (30% - 5%) / 40% = 0.625
└── Higher is better

Practical use:
├── Calculate for candidate pools
├── Compare risk-adjusted metrics
├── High raw return + high risk may not beat
├── Lower return + lower risk
└── Apples-to-apples comparison
```


POOL COMPARISON TEMPLATE

Pool A Pool B Pool C
Assets XRP/RLUSD XRP/USD TOKEN/XRP
TVL $2M $500K $100K
Fee Rate 0.5% 0.3% 1.0%
Daily Volume $150K $30K $20K
Volume/TVL 7.5% 6% 20%
Expected Fee APY 27% 22% 73%
Risk Score 2.0 2.5 4.0
Risk-Adj Return 13.5% 8.8% 18.3%
Red Flags 0 1 2
Your Share 1% 2% 5%
Position Size $2,000 $1,000 $500

Comparison:
├── Pool A: Solid, moderate return, low risk
├── Pool B: Lower return, moderate risk
├── Pool C: High return, high risk
└── Allocation decision: 60% A, 30% B, 10% C (example)
```

OPPORTUNITY COST COMPARISON

Compare LP to alternatives:

Just holding:
├── Expected return: XRP appreciation estimate
├── No IL
├── No fees
├── Passive
└── Benchmark for LP

Staking/yield (if available):
├── Expected return: Staking yield
├── No IL
├── May have lockup
├── Alternative yield source
└── Compare to LP returns

Other platforms:
├── Ethereum LP opportunities
├── Different risk/return profiles
├── Higher gas costs
├── More options
└── Cross-platform comparison

Cash/stablecoins:
├── Expected return: 0-5%
├── No IL, no price risk
├── Maximum safety
├── Opportunity cost of LP
└── Must beat this minimum

Decision: LP only if risk-adjusted return exceeds opportunity cost.
```

FINAL DECISION FRAMEWORK

For each candidate pool:

  1. Expected return calculated? □ Yes □ No
  2. IL scenarios modeled? □ Yes □ No
  3. Net return positive? □ Yes □ No
  4. Risk assessment complete? □ Yes □ No
  5. Red flag check passed? □ Yes □ No
  6. Risk-adjusted return acceptable? □ Yes □ No
  7. Beats opportunity cost? □ Yes □ No
  8. Position size determined? □ Yes □ No
  9. Exit criteria defined? □ Yes □ No
  10. Ready to execute? □ Yes □ No

All Yes → Proceed with confidence
Any No → Complete analysis first
Multiple No → May not be suitable opportunity

Minimum viable analysis:
├── Fee income estimate
├── IL at key price points
├── Net return positive in base case
├── No critical red flags
├── Position sized appropriately
└── Exit criteria known


---
POOL EVALUATION WORKFLOW

Step 1: Initial screen (5 minutes)
├── Verified assets? Y/N
├── TVL above threshold? Y/N
├── Any trading volume? Y/N
├── Any red flags? Y/N
├── If all Y (no flags): Proceed
└── Otherwise: Skip

Step 2: Data collection (15 minutes)
├── Get pool metrics (TVL, volume, fee)
├── Calculate your potential share
├── Note current prices
├── Research asset issuers
└── Document findings

Step 3: Analysis (30 minutes)
├── Calculate fee income scenarios
├── Model IL scenarios
├── Compute net returns
├── Score risk factors
├── Compare to alternatives
└── Build comparison table

Step 4: Decision (10 minutes)
├── Does it meet criteria?
├── How does it rank vs others?
├── Position size decision
├── Exit criteria definition
└── Go/no-go decision

Step 5: Documentation (10 minutes)
├── Record analysis
├── Document rationale
├── Save for future reference
├── Learn from process
└── Build your database
```

QUICK HEURISTICS (ROUGH CHECKS)

Fee APY sanity check:
├── (Daily Volume × Fee Rate) / TVL × 365
├── Should give approximate fee APY
├── >20%: Worth detailed analysis
├── <10%: May not compensate for risk
└── Quick go/no-go signal

IL break-even rough estimate:
├── At 2× price move: IL ≈ 5.7%
├── Need ~5.7% fees in holding period to break even
├── Monthly fee rate needed: 5.7% / (months until 2× expected)
├── Compare to calculated fee rate
└── Quick viability check

Volume/TVL efficiency:
├── >10% daily: Efficient pool
├── 5-10% daily: Average
├── <5% daily: Underutilized
├── Very rough signal
└── More investigation needed

These are shortcuts, not substitutes for full analysis.
```


Systematic analysis beats intuition. Documented across investing.

Expected value framework is valid. Mathematical foundation is sound.

Comparative analysis reveals best options. Relative ranking is useful.

⚠️ Input estimates. Volume projections, probability assignments are subjective.

⚠️ Future conditions. Markets change; past doesn't guarantee future.

⚠️ Model completeness. Reality has factors not captured.

📌 False precision. Models give specific numbers but inputs are estimates.

📌 Over-optimization. Finding perfect pool that doesn't exist.

📌 Analysis paralysis. Endless analysis instead of reasonable decisions.

These techniques improve decision quality but don't predict the future. Use them to structure thinking and compare options systematically. Make decisions based on expected value while acknowledging uncertainty. Good process doesn't guarantee good outcomes but improves odds over time.


Assignment: Complete a full evaluation of 3 XRPL AMM pools.

Requirements:

For each of 3 pools (select real or hypothetical pools):

  • Pool identifier and assets

  • Current TVL

  • Fee rate

  • Historical volume (30-day average estimate)

  • LP token distribution (if available)

  • Asset issuer information

  • Calculate daily fee income at your intended position size

  • Create 3 scenarios (pessimistic/base/optimistic)

  • Project monthly and annual fee income

  • Build IL table for -50% to +100% price movements

  • Calculate hold value, IL, and position value for each

  • Include your expected fee income

  • Calculate net return for each price scenario

  • Identify break-even price movement

  • Assign probabilities and calculate expected value

  • Complete risk scoring framework

  • Complete red flag checklist

  • Calculate risk-adjusted return

  • Create comparison matrix for all 3 pools

  • Rank by risk-adjusted return

  • Make allocation recommendation

  • For your top pool, define:

  • Analysis completeness (25%)

  • Calculation accuracy (25%)

  • Risk assessment quality (20%)

  • Decision rationale (20%)

  • Documentation quality (10%)

Time Investment: 4-5 hours


Knowledge Check

Question 1 of 1

What minimum analysis should you complete before LP-ing in a pool?

  • DeFi yield analysis methodologies
  • IL calculation tools
  • Expected value frameworks
  • Risk scoring frameworks
  • Red flag identification
  • Due diligence checklists
  • Comparative analysis methods
  • Expected value decision theory
  • Portfolio optimization

For Next Lesson:
Lesson 17 examines when to LP vs when to simply hold—frameworks for deciding whether LP is the right strategy for your situation.


End of Lesson 16

Total words: ~5,600
Estimated completion time: 55 minutes reading + 4-5 hours for deliverable

Key Takeaways

1

Estimate fee income conservatively.

Use scenarios; don't assume best case.

2

Model IL across realistic price ranges.

At least -50% to +100%.

3

Calculate net return combining fees and IL.

The only metric that matters.

4

Score risks systematically.

Use consistent framework across pools.

5

Compare pools on risk-adjusted basis.

High return with high risk may not be best choice. ---