How the IBRR Algorithm Works: Automated Lending Engine

The Problem with Manual Lending
If you've ever manually operated margin funding on Bitfinex, you know the struggle: staring at the order book wondering what rate to set, missing optimal windows while you sleep, and watching your funds sit idle after expiration. Manual lending typically yields around 3-8% APR — not because your judgment is poor, but because humans simply can't monitor markets around the clock, analyze hundreds of orders, and consistently make optimal decisions.
That's why we built the IBRR algorithm.
What Is IBRR?
IBRR (Instant Best Return Rate) is the core algorithm engine powering LendPace. Its job is straightforward: at every cycle, find the sweet spot — the rate that is most likely to fill while maximizing your return.
This is a multi-variable optimization problem. Set the rate too high and your order sits unfilled for hours. Set it too low and you leave money on the table. IBRR simultaneously considers market supply-demand depth, current rate distributions, fill probability, and expected returns to find the optimal balance.
Unlike fixed-rate strategies, IBRR is dynamic — it periodically monitors your order status and market conditions, adjusting as needed. Order unfilled for over 5 minutes? It adjusts. Market demand surging? It capitalizes on the opportunity.
Think of IBRR as your automated lending assistant that works around the clock, never gets emotional, and never misses a cycle.
How It Works: A Four-Step Process
IBRR's decision cycle runs every few minutes, repeating around the clock:
Step 1: Read the Funding Book
The algorithm fetches the complete funding order book from Bitfinex — all supply (lenders) and demand (borrowers) orders. This isn't just looking at the best bid/ask; it analyzes the full depth structure of the book.
Step 2: Analyze Rate Distribution
With raw data in hand, IBRR computes several key metrics:
- VWAR (Volume-Weighted Average Rate): Supply-side average weighted by order volume — revealing where most capital is concentrated
- VWAR Demand: Demand-side weighted average, resistant to outlier manipulation
- FRR (Funding Rate Return): Median of supply rates, serving as a rate floor reference
- Depth Ratio: Demand volume / Supply volume. When greater than 1, supply is scarce and rates face upward pressure
Step 3: Calculate the Optimal Rate
This is the core of IBRR. The algorithm blends supply and demand rates with a weighted formula, then adjusts based on market depth signals:
Supply-side rates contribute 60%, demand-side rates 40%, multiplied by an adjustment coefficient determined by market depth and your chosen mode.
The final rate never falls below the FRR or the minimum daily rate (approximately 1% annualized), ensuring your capital is never undersold.
Step 4: Dynamic Adjustment
After placing an order, IBRR keeps monitoring on subsequent cycles:
- Order unfilled for 5 minutes → automatically lowers rate by 2%
- Still unfilled after 15 minutes → lowers an additional 3%
- Market demand rising → increases rate by 1.5%
This continuous "bid → observe → adjust" cycle ensures your capital deploys to the market as quickly as possible while capturing the best available rate.
Two Modes for Different Goals
LendPace offers two strategy modes so you can choose the approach that fits your investment style:
High Yield — Maximize Returns
Aggressiveness set to 20%, with lending periods dynamically ranging from 2-30 days. When market demand is strong, the algorithm boldly sets higher rates and locks in longer terms. For investors willing to accept some volatility in pursuit of higher returns.
Quick Fill — Steady Deployment
Only 3% aggressiveness, fixed 2-day terms. The goal is clear: get your capital filled as fast as possible. Rates won't be the highest, but fill speed is fast and capital utilization stays high. Ideal for those who prefer steady cash flow.
IBRR vs Manual Lending
| IBRR Automated | Manual Lending | |
|---|---|---|
| Monitoring | Automatic, around the clock | Requires manual attention |
| Rate Optimization | Data-driven, dynamic | Set by feel or experience |
| Capital Idle Time | Low (checked every few minutes) | High (may sit idle for hours) |
| Emotional Bias | Zero | Fear and greed affect decisions |
| Overnight Volatility | Handled automatically | You're sleeping |
IBRR achieves better capital efficiency not by taking more risk, but by doing three things humans cannot do consistently: uninterrupted monitoring, data-driven rate analysis, and disciplined execution.
The biggest loss in manual lending doesn't come from rate misjudgment — it comes from time cost and opportunity cost. Your funds sit idle for two hours after expiration? That's two hours of interest evaporated. IBRR checks and submits new orders shortly after a term expires.
Let the Algorithm Work for You
The crypto market never closes, and your lending strategy shouldn't have downtime either. The IBRR algorithm was built for exactly this — condensing complex market analysis, rate optimization, and risk management into a fully automated decision engine that keeps your idle assets generating returns.
Whether you prioritize maximum returns with High Yield or prefer fast, steady deployment with Quick Fill, IBRR adapts to your goals. Not sure which mode to pick? Read our choosing a lending strategy guide. You don't need to understand the math behind it — just choose your mode and let the algorithm handle the rest.
Frequently Asked Questions
What does IBRR stand for?
IBRR stands for Instant Best Return Rate. It is the core algorithm powering LendPace that analyzes the Bitfinex funding order book in real time to find the optimal rate where fill probability and yield intersect, maximizing your actual returns each cycle.
How often does the IBRR algorithm adjust my lending rate?
The algorithm runs every few minutes, continuously monitoring your order status and market conditions. If an order goes unfilled for 5 minutes, it automatically lowers the rate by 2%. After 15 minutes unfilled, it reduces by an additional 3%. When demand surges, it raises rates to capture the opportunity.
Does IBRR work the same for all currencies?
IBRR applies the same analytical framework across USD, USDT, and XAUt, but automatically adjusts currency-specific parameters like minimum amounts and rate floors. For example, XAUt has a lower rate floor of 0.00137% daily compared to 0.00274% for stablecoins.
Can IBRR guarantee higher returns than manual lending?
IBRR cannot guarantee specific returns, as market conditions ultimately determine rates. However, by eliminating idle time, capturing rate spikes around the clock, and making data-driven rate decisions free of emotional bias, IBRR consistently achieves higher capital utilization than manual lending.
Ready to put your crypto assets to work? Explore LendPace plans and start your automated lending strategy today.


