Understanding Rates

Discover how RateHopper provides more accurate and reliable rate data than protocol websites through historical checkpointing and moving averages.


The Problem with Current Block Rates

Most DeFi protocol websites (Aave, Morpho, Compound, etc.) display interest rates based on current block data. While this seems accurate, it creates several issues:

Issues with Instant Rates

1. High Volatility

  • Rates fluctuate every block (every 2 seconds on Base)

  • A single large borrow or withdrawal can spike rates

  • Creates misleading snapshots of "current" rates

2. No Historical Context

  • You see the rate right now

  • No insight into rate trends or stability

  • Can't tell if it's a temporary spike or sustained rate

3. Poor Decision Making

  • Switching based on a momentary rate spike wastes gas

  • Can't predict if the rate will hold

  • No way to assess true earning potential

Example:


How RateHopper is Different

RateHopper solves this by using historical checkpointing and moving averages to give you the real picture.

Our Approach: Historical Checkpointing

What we do:

  • Checkpoint rates every minute from smart contracts

  • Store historical rate data indefinitely

  • Calculate moving averages across multiple timeframes

  • Display rates that reflect actual earning potential

Why this matters:


Moving Averages Explained

What Are Moving Averages?

A moving average (MA) smooths out short-term fluctuations to reveal the true trend. Instead of showing instant rates, we show the average rate over a time period.

Available Timeframes

Timeframe
Use Case
Best For

1 Hour MA

Very recent trends

Quick reaction to major market shifts

1 Day MA

Daily average

Short-term positions, day trading

7 Day MA

Weekly trend

Weekly rebalancing strategies

14 Day MA

Bi-weekly trend

Medium-term analysis

30 Day MA

Monthly average

Most users, realistic expectations

60 Day MA

Two-month trend

Long-term positions

90 Day MA

Quarterly trend

Strategic planning

180 Day MA

Half-year trend

Major trend identification

365 Day MA

Annual trend

Historical baseline

How to Use Moving Averages

For Switching Decisions:

  • Use 7-day MA for weekly optimization

  • Use 30-day MA for realistic rate comparison

  • Ignore momentary spikes unless sustained across MA


How Protocols Calculate Rates

Understanding how each protocol calculates rates helps you know what you're seeing.

Aave V3

Interest Rate Model:

  • Uses a two-slope interest rate curve

  • Rates adjust based on utilization

  • Compounds interest every block

Formula:

Key Points:

  • Interest accrues per second

  • Has a "kink" at optimal utilization (typically 80-90%)

  • Rates spike rapidly above optimal utilization

  • Supply APY = Borrow APY × Utilization

Why Their Website Can Be Misleading:

  • Shows instant rate at current block

  • Doesn't show if you're at a temporary utilization spike

  • No historical context for rate stability


Morpho

Interest Rate Model:

  • IRM-agnostic (can use any approved model)

  • Most markets use AdaptiveCurveIRM

  • Updates interest only on market interactions (not every block)

Borrow APY Formula:

Supply APY Formula:

Key Points:

  • Uses exponential compounding

  • Interest only accrues on market interactions (gas optimization)

  • Adaptive curve adjusts rates based on market conditions

  • Generally lower rates than Aave due to efficiency

Why Their Website Can Be Misleading:

  • Shows the rate at last update, not necessarily "current"

  • Adaptive curve can change rapidly

  • Doesn't reflect historical stability


Compound V3 (Comet)

Interest Rate Model:

  • Uses a piecewise linear interest rate model

  • Has a "kink" point where slope changes

  • Simpler than Aave's model

Borrow Rate Formula:

Supply Rate Formula:

Converting to APR:

Key Points:

  • Updates per second based on utilization

  • No protocol fee (all interest goes to suppliers)

  • Simpler model = more predictable rates

  • Collateral doesn't earn yield (only borrowed asset)

Why Their Website Can Be Misleading:

  • Shows instantaneous rate

  • Utilization can swing rapidly

  • No visibility into rate trends


RateHopper's Rate Calculation

Our Multi-Layer Approach

Layer 1: Data Collection

Layer 2: Moving Average Calculation

Layer 3: True APY Calculation (for borrow positions)

To view all of the historical rates that track, please visit https://app.ratehopper.ai/historical-rates


Why Moving Averages Matter: Real Example

Let's compare what you see on protocol websites vs. RateHopper:

Scenario: USDC Supply Rate on Aave V3

Protocol Website (Instant Rate):

RateHopper (Moving Averages):

Gas Cost Comparison

Following Instant Rates (on Mainnet for example):

Following Moving Averages:


Reading RateHopper Data

Dashboard Rate Display

When you see rates on RateHopper, here's what each means:


Best Practices for Rate Analysis

✅ Do's

1. Use 7-Day MA for Weekly Decisions

  • Most reliable for active management

  • Smooths out daily volatility

  • Recent enough to be relevant

2. Use 30-Day MA for Realistic Expectations

  • Best indicator of sustainable rate

  • Great for long-term positions

  • Most accurate for ROI calculations

3. Check Multiple Timeframes

4. Compare MA Across Protocols

❌ Don'ts

1. Don't Chase Current Rates

2. Don't Ignore Trend Direction

3. Don't Use Only Current Rates


Advanced: True APY for Borrowers

When you borrow, your true cost depends on whether your collateral earns yield.

Protocols Where Collateral Earns Yield

Aave V3, Moonwell, Fluid:

  • Your collateral supplies liquidity

  • You earn supply APY on collateral

  • True cost = Borrow APY - Collateral APY

Example:

Protocols Where Collateral Doesn't Earn

Compound V3, Morpho:

  • Collateral is locked, not supplied

  • No earnings on collateral

  • True cost = Borrow APY

Example:

RateHopper Automatically Calculates This

When you view your positions, we show:


Protocol Comparison Summary

Feature
Aave V3
Morpho
Compound V3

Rate Updates

Every block

On interaction

Every block

Interest Model

Two-slope curve

Adaptive/Custom IRM

Piecewise linear

Compounding

Continuous

On interaction

Continuous

Collateral Yield

✅ Yes

❌ No

❌ No

Rate Volatility

Medium-High

Medium

Medium

Typical Supply APY

4-6%

3-5%

4-5%

Website Shows

Current block

Last update

Current block

RateHopper Shows

Historical MA ✓

Historical MA ✓

Historical MA ✓


Why RateHopper's Approach is Superior

1. Accurate Expectations

  • See the rate you'll actually earn

  • Not misled by temporary spikes

  • Plan ROI with confidence

2. Better Decisions

  • Compare apples to apples (MA vs MA)

  • Avoid wasting gas on noise

  • Optimize for real gains

3. Trend Awareness

  • Know if rates are rising or falling

  • Time your entries and exits

  • Adapt strategy to market

4. Historical Context

  • See how stable a rate has been

  • Identify volatility patterns

  • Make informed risk assessments

5. True Cost/Benefit

  • Automatically calculate collateral earnings

  • Show real borrowing cost

  • Factor in all variables


Practical Examples

Example: When to Switch Protocols

Current Position: 100,000 USDC on Compound at 5.2%

New Opportunity: Aave showing 5.9%

Wrong Approach:

RateHopper Analysis:


FAQ

Q: Why don't other platforms show moving averages? A: Most platforms prioritize simplicity and real-time data. But this sacrifices accuracy for convenience. We believe you deserve the full picture.

Q: How far back does your historical data go? A: We maintain complete rate history from our launch and continuously checkpoint every minute.

Q: Can I trust moving averages more than current rates? A: Yes! For earning expectations and switching decisions, MAs are far more reliable. Current rates are useful for awareness, but MAs predict what you'll actually earn.

Q: What if current rate is much higher than MA? A: This indicates a temporary spike. It will likely revert to the MA. Don't make decisions based on spikes unless they're sustained across multiple MAs.

Q: Which MA should I use? A:

  • Active management: 7-day MA

  • Realistic expectations: 30-day MA

  • Long-term planning: 90-day MA

  • Most users should focus on 7d and 30d MAs.

Q: Do moving averages work for borrow rates too? A: Absolutely! Same principle applies. The MA tells you the sustainable borrow cost, not temporary dips.


Next Steps

Now that you understand how rates work:


Ready to see accurate rates?View Dashboard

Last updated