Loss-making and pre-profit company valuation
calculate_loss_making_companyLoss-making-company engine. Value currently unprofitable companies with margin-ramp DCF, revenue multiples, Merton structural equity, the VC method, distressed waterfalls, bank residual income, and SPAC deals; every method returns a central value plus a dispersion (sigma, percentiles, long-tail). Use this when earnings-based multiples break down; for standalone probability weighting of arbitrary scenarios use calculate_expected_value, and for a single going-concern DCF use calculate_dcf. Methods: margin_ramp_dcf: revenue, growth_rate, start_margin, target_margin, ramp_years, discount_rate, years, shares_outstanding, net_debt, range_method; revenue_multiple: revenue, ev_revenue_multiple, net_debt, shares_outstanding, range_method; merton_equity: firm_value, firm_volatility, debt, risk_free, maturity, range_method; vc_method: terminal_value, target_return, investment, shares_outstanding, range_method; distressed_waterfall: enterprise_value, claims, range_method; bank_residual_income: book_value, net_income, cost_equity, growth_rate, range_method; spac_deal: trust_cash, shares_outstanding, redemption_price, range_method. Supply exactly one method with its declared inputs (no defaults). An unknown method, a missing input, or an extra field returns an error envelope (code INVALID_ARGUMENT) instead of raising.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debt | No | Debt face value (default point) for the Merton equity model. | |
| years | No | Number of projection years n; equal len(cash_flows) when both are supplied. | |
| claims | No | Ordered claims [{name, amount, priority}] for a waterfall. | |
| method | Yes | Formula to apply; the tool description lists the exact inputs each value requires. | |
| revenue | No | Base-year revenue in reporting currency. | |
| maturity | No | Time to expiry in years (0.5 = six months); > 0. | |
| net_debt | No | Total debt minus cash and equivalents. | |
| risk_free | No | Continuously-compounded risk-free rate (decimal). | |
| book_value | No | Book value of equity in reporting currency. | |
| firm_value | No | Firm/asset value for the Merton equity model. | |
| investment | No | Amount invested (VC method). | |
| net_income | No | Net income in reporting currency. | |
| ramp_years | No | Years to move from start_margin to target_margin (>=1). | |
| trust_cash | No | SPAC trust cash available for redemption. | |
| cost_equity | No | Cost of equity as a decimal (0.12 = 12%). | |
| growth_rate | No | Periodic growth rate as a decimal (0.03 = 3%). | |
| range_method | No | Statistic returned as the headline value; the full dispersion is always included. | |
| start_margin | No | Opening operating margin (decimal, may be negative); margin_ramp. | |
| discount_rate | No | Discount rate as a decimal (0.10 = 10%); pre-tax when method=viu_pre_tax. | |
| target_margin | No | Normalized margin reached after ramp_years; margin_ramp. | |
| target_return | No | VC target return multiple. | |
| terminal_value | No | Exit/terminal value (VC method). | |
| firm_volatility | No | Asset volatility for the Merton equity model (decimal). | |
| enterprise_value | No | Enterprise value distributed across claims. | |
| redemption_price | No | SPAC redemption price per share. | |
| shares_outstanding | No | Shares outstanding. | |
| ev_revenue_multiple | No | EV/Revenue multiple. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error detail, present only when status='error'. | |
| steps | No | Ordered computation steps, when the method reports them. | |
| value | No | Primary result: a number for scalar methods, an object for valuation methods. | |
| method | No | Method or tool name that produced the result. | |
| status | Yes | 'ok' on success, 'error' on failure. | |
| ticker | No | Ticker the result pertains to, when applicable. | |
| assumptions | No | Inputs and assumptions used, echoed for traceability. | |
| formula_ref | No | Formula or standards reference for the method. | |
| data_timestamp | No | ISO-8601 UTC timestamp of the underlying data, when fetched. |