All components

Annualized lending margin

Normalize matched lending income and costs by explicitly supplied exposure and time.

How it works

Annualized lending margin (9)
  1. Before Losses

    Before Losses

  2. Exposure Years

    Exposure Years

  3. Funding Rate

    if Conditional result using Average Gross, then (Funding ÷ Conditional result using Conditional result using Average Gross), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    Conditional result using Conditional result using Average Gross
    Numerator
    Funding
  4. Invalid Terms

    if if (Average Gross ≥ 0), then if (Year Fraction ≥ 0), then true, otherwise false, otherwise false, then 0, otherwise 1

  5. Margin

    if Conditional result using Average Gross, then (Profit ÷ Conditional result using Conditional result using Average Gross), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    Conditional result using Conditional result using Average Gross
    Numerator
    Profit
  6. Margin Available

    if Conditional result using Average Gross, then 1, otherwise 0

  7. Profit

    Profit

    Uses
  8. Provision Rate

    if Conditional result using Average Gross, then (Provision ÷ Conditional result using Conditional result using Average Gross), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    Conditional result using Conditional result using Average Gross
    Numerator
    Provision
  9. Revenue Rate

    if Conditional result using Average Gross, then (Revenue ÷ Conditional result using Conditional result using Average Gross), otherwise 0

    Model function · Div currency percent

    Argument values
    Denominator
    Conditional result using Conditional result using Average Gross
    Numerator
    Revenue
Calculation steps (5)
  1. Before Losses

    (Revenue − Funding)

  2. Exposure Years

    (Average Gross × Year Fraction)

  3. Conditional result using Average Gross

    if (Average Gross > 0), then if (Year Fraction > 0), then true, otherwise false, otherwise false

  4. Profit

    (Before Losses − Provision)

  5. Conditional result using Conditional result using Average Gross

    if Conditional result using Average Gross, then Exposure Years, otherwise 1

Conventions (6)
  • Revenue, funding cost and provision are signed amounts for one matched portfolio, period, currency and scale. Positive costs reduce profit; releases or benefits remain signed.
  • Average gross exposure and elapsed years are explicit inputs. No averaging method, calendar, cash flow, loan-sale adjustment or expense allocation is inferred.
  • Annualized rates divide each period amount by average gross exposure times elapsed years. Money results remain period amounts.
  • Zero exposure or duration makes rates unavailable, with zero placeholders and a separate availability flag. Negative exposure or duration also produces invalid_terms.
  • The caller retains the availability flag when presenting rates and names the resulting measure according to the admitted revenue and cost perimeter.
  • Provision is the period expense, not writeoffs or the allowance stock. Existing statement expenses must not be deducted again.

Inputs and outputs

Inputs (5)
Inputs
NameUnitApplies to
Average GrossDollarsSingle value
FundingDollarsSingle value
ProvisionDollarsSingle value
RevenueDollarsSingle value
Year FractionUnitlessSingle value
Outputs (9)
Outputs
NameUnitApplies to
Before LossesDollarsSingle value
Exposure YearsDollarsSingle value
Funding RatePercentSingle value
Invalid TermsUnitlessSingle value
MarginPercentSingle value
Margin AvailableFlagSingle value
ProfitDollarsSingle value
Provision RatePercentSingle value
Revenue RatePercentSingle value

Libraries