The Reference Rate Engine
Quantitatively pricing Yield vs. Risk.
How to Price Variable Risk
Our reference solver implements a sophisticated multi-factor rate computation pipeline (IRISSolverRateEngine) combining stochastic interest rate models, volatility forecasting, risk premia, and competitive bidding adjustments.
By studying this open-source reference pipeline, your team can construct your ideal pricing mechanisms:
- CIR Rate Forecast (Cox-Ingersoll-Ross mean reversion)
- Jump-Diffusion Component (Adding Poisson processes for sudden rate spikes)
- GARCH(1,1) Volatility Estimation (Capturing conditional variance clustering)
- Trend Analysis Module (MA crossover, momentum, high/low regime detection)
- Self-Impact Adjustment (Slippage calculations for high-volume positions)
- Duration Risk Premium
- Negative Carry Premium (Black-76 option pricing variations)
- Position Sizing (Half-Kelly Criterion calculations based on Bond Capital)
Example: CIR Forecast
The CIR model captures mean-reverting interest rate dynamics critical for calculating long-duration risk on pools like Aave.
Expected rate: r_cir = theta + (r_current - theta) * exp(-kappa * T)
Where:
r_current: Current variable rate from the venuetheta: Long-term mean rate (calibrated parameter, default 0.045 = 4.5%)kappa: Mean reversion speed (default 6.0 -- high speed = faster mean reversion)T: Loan duration in years
Was this page helpful?
Last updated Mar 11, 2026
Built with Documentation.AI