Implementation:AI4Finance Foundation FinRobot seed lbo inputs
| Knowledge Sources | |
|---|---|
| Domains | Finance, Private_Equity, Data_Extraction |
| Last Updated | 2026-10-18 00:00 GMT |
Overview
Concrete tool for deterministically seeding all LBO input assumptions from real multi-year filings and PE convention, provided by the FinRobot compute layer.
Description
The seed_lbo_inputs function is the single authoritative builder of LBOInputs in the codebase. It deterministically derives every operational LBO assumption (margins, capex, growth, tax) from historical medians (most recent 3y) or Damodaran industry medians — never hardcoded per-company defaults. Deal-structure constants (entry/exit multiples, leverage, holding period, interest rate, mandatory amort) follow standard PE convention and are recorded in provenance so the user sees they came from convention.
Every field gets an entry in assumption_provenance. Direct construction of LBOInputs with hardcoded numerics is a red-line violation.
Usage
- LBO_Analysis workflow (Step 2): Called after the data collection step to build LBOInputs from FinancialData + HistoricalMetrics.
- IC_Memo workflow (Step 2): Called to seed LBO inputs for the inline LBO in the IC memo.
- Equity_Research workflow (Step 4): Produces the LBO inputs for the valuation synthesis.
- Import this when you need a typed, provenance-tracked LBOInputs from real filings.
Code Reference
Source Location
- Repository: FinRobot
- File: finrobot_desktop/finrobot/engine/compute/operators/lbo_seed.py
Signature
def seed_lbo_inputs(
financials: FinancialData,
historical: HistoricalMetrics,
*,
holding_period_years: int = DEFAULT_HOLDING_PERIOD, # 5
entry_ev_ebitda: float = DEFAULT_ENTRY_EV_EBITDA, # 8.0
exit_ev_ebitda: float = DEFAULT_EXIT_EV_EBITDA, # 8.0
leverage_multiple: float = DEFAULT_LEVERAGE_MULTIPLE, # 5.0
) -> LBOInputs:
"""Build a complete LBOInputs from one ticker's financials + historical data.
Args:
financials: Latest snapshot (LTM revenue, EBITDA, debt, cash).
historical: Multi-year history (extracted by historical_extractor).
holding_period_years: Investment horizon. Default 5y per PE convention.
entry_ev_ebitda: Override entry multiple. Default 8.0x (mid-market 2023-2025).
exit_ev_ebitda: Override exit multiple. Default 8.0x (no expansion).
leverage_multiple: Total Debt / EBITDA at entry. Default 5.0x.
Returns:
LBOInputs ready to pass to calculate_lbo.
"""
Import
from finrobot.engine.compute.operators.lbo_seed import seed_lbo_inputs
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| financials | FinancialData | Yes | LTM revenue, EBITDA, debt, cash, market data |
| historical | HistoricalMetrics | Yes | Multi-year medians: CAGRs, margin medians, capex/revenue ratios |
| holding_period_years | int | No | Investment horizon (default 5) |
| entry_ev_ebitda | float | No Entry EV/EBITDA multiple (default 8.0) | |
| exit_ev_ebitda | float | No | Exit EV/EBITDA multiple (default 8.0, no expansion) |
| leverage_multiple | float | No | Total Debt/EBITDA at entry (default 5.0) |
Outputs
| Name | Type | Description |
|---|---|---|
| LBOInputs | LBOInputs | ltm_ebitda, revenue_base, revenue_growth_rate, ebitda_margin, da_pct_revenue, capex_pct_revenue, nwc_change_pct_revenue, tax_rate, entry_ev_ebitda, exit_ev_ebitda, leverage_multiple, holding_period_years, interest_rate, mandatory_amort_pct, entry_ebitda (cyclical), assumption_provenance |
Usage Examples =
Standard LBO Seeding
from finrobot.engine.compute.operators.lbo_seed import seed_lbo_inputs
lbo_inputs = seed_lbo_inputs(
financials=financial_data,
historical=historical_metrics,
)
for field, source in lbo_inputs.assumption_provenance.items():
print(f"{field}: {source}")
Custom Deal Structure
lbo_inputs = seed_lbo_inputs(
financials=financial_data,
historical=historical_metrics,
entry_ev_ebitda=9.0,
exit_ev_ebitda=10.0,
leverage_multiple=6.0,
holding_period_years=7,
)