BACK TO INFO

ODISEA HF1

Cross-Network Arbitrage Backtesting Results

OVERVIEW

HF1 (Base USDC Configuration) is a Python-based backtesting model that evaluates cross-network arbitrage opportunities for USDC lending and borrowing rates across Aave deployments on Arbitrum, Ethereum, and Base.

It focuses exclusively on USDC, using historical DeFi data to simulate arbitrage activity and measure potential portfolio performance under various transaction cost scenarios.

OBJECTIVE

This analysis measures how differences in Aave lending and borrowing APRs between networks could be exploited through arbitrage — lending where supply yields are highest and borrowing where rates are lowest — while accounting for transaction costs and liquidity conditions.

BASE CONFIGURATION

Stablecoin
USDC
Networks
Arbitrum, Ethereum, Base
Entry Threshold
1.0% APR
Exit Threshold
0.6% APR
Initial Capital
100,000 USD
Simulation Period
2023–2025
Cost Scenarios
0.0025 – 1.0 USD

MODEL DESCRIPTION

For each day:

  1. The model identifies the highest supply rate and the lowest borrow rate across the three networks.
  2. It computes the APR spread = (max supply – min borrow).
  3. If the spread exceeds the entry threshold, the model enters a position.
  4. While open, capital compounds daily by (spread / 365).
  5. When the spread falls below the exit threshold, the position closes.
  6. Network switches trigger a transaction cost proportional to the chosen scenario.

PORTFOLIO BEHAVIOR

The equity curve remains flat during long low-yield periods and rises when the spread is high enough to justify entering trades.

  • Flat periods (2023–mid 2024): markets balanced, no significant spread.
  • Sharp growth (late 2024): Base and Ethereum diverge strongly → sustained arbitrage opportunities.
  • Plateau (2025): spreads normalize and portfolio stabilizes.

KEY METRICS

MetricDescriptionTypical Result
Total Return %Net portfolio growth+7–8%
Sharpe RatioReturn-to-risk measure~1.8
Max Drawdown %Largest equity drop<0.5%
Days in PositionActive arbitrage days~25% of total
Cross-Network SwitchesNetwork changes5–7
Intra-Network SwitchesSwitches within same network15–20

The base configuration turned out to be the one with the highest Total Return. The "Ultra Low" cost scenario of 0.0025 USD ended with a total return of 8.13%. The model prioritizes intra-network trades (low-cost) and only bridges when the expected return compensates for the higher gas fees.

USDC BASE CONFIGURATION RESULTS

Ultra Low (0.0025)
Final Equity
$108,133
Total Return
+8.134%
Sharpe
6.654
Max Drawdown
0.0%
Low (0.025)
Final Equity
$108,129
Total Return
+8.13%
Sharpe
6.651
Max Drawdown
0.0%
Moderate (0.05)
Final Equity
$108,125
Total Return
+8.125%
Sharpe
6.649
Max Drawdown
0.0%
High (0.5)
Final Equity
$108,044
Total Return
+8.044%
Sharpe
6.60
Max Drawdown
0.0%
Very High (1.0)
Final Equity
$107,953
Total Return
+7.954%
Sharpe
6.55
Max Drawdown
0.0%

USDT BASE CONFIGURATION

The same model was applied to USDT across the same networks. The USDT arbitrage strategy behaves slightly more conservatively than the USDC case due to lower liquidity depth and narrower spreads across chains.

The USDT model, even though it has positive total returns for all its cost scenarios, is nowhere near the results of the USDC model. Even the highest cost USDC model has a higher total return than the lowest cost USDT scenario (7.954% vs 2.185%).

USDT BASE CONFIGURATION RESULTS

Ultra Low (0.0025)
Final Equity
$102,184
Total Return
+2.185%
Sharpe
5.328
Max Drawdown
0.0%
Low (0.025)
Final Equity
$102,182
Total Return
+2.182%
Sharpe
5.325
Max Drawdown
0.0%
Moderate (0.05)
Final Equity
$102,179
Total Return
+2.18%
Sharpe
5.322
Max Drawdown
0.0%
High (0.5)
Final Equity
$102,133
Total Return
+2.134%
Sharpe
5.271
Max Drawdown
0.0%
Very High (1.0)
Final Equity
$102,082
Total Return
+2.083%
Sharpe
5.211
Max Drawdown
0.0%

BRIDGE-AWARE CROSS-NETWORK & CROSS-STABLECOIN ARBITRAGE

This module extends the base USDC/USDT analyses into a multi-scenario backtest capable of simulating cross-network and cross-stablecoin arbitrage strategies. It integrates liquidity data from Arbitrum, Ethereum, and Base, introducing both intra-network and cross-network transaction costs to evaluate the real-world profitability of these opportunities.

Simulation Parameters

Entry Thresholds
0.2% – 0.6%
Exit Thresholds
0.1% – 0.5%
Initial Capitals
5k – 100k USD
Intra-Network Cost
0.001 – 0.5 USD
Cross-Network Cost
1.0 – 5.0 USD

INTERPRETATION OF RESULTS

2023 – Mid 2024: Flat
No significant spreads; idle capital
Q4 2024: Sharp Rise
Market dislocation; yield gaps widened → profitable arbitrage
2025: Plateau
Spread compression; reduced opportunities

This pattern validates the strategy's conservative nature — it only trades during favorable yield divergences and preserves capital otherwise.

CONCLUSION

The HF1 framework demonstrates how algorithmic arbitrage strategies can be modeled, tested, and evaluated across both stablecoin (USDC–USDT) and network (Arbitrum, Ethereum, Base) dimensions. By incorporating transaction and bridge costs, the simulation captures the trade-off between profit opportunity and operational friction.

Throughout all configurations, the equity curve pattern remains consistent — a long period of flat behavior followed by rapid growth near the end of 2024, corresponding to a spike in lending and borrowing rate differentials across DeFi protocols.

The HF1 cross-analysis serves as a realistic and cost-aware foundation for understanding the timing, scale, and feasibility of future on-chain arbitrage implementations.

AUTHOR
Carlos Arroyo
Economist & Data Analyst — Odisea HF1 Project