All components

Principal, interest and maturity

Price explicitly timed principal movements and expose unpaid maturity without inventing financing.

How it works

Principal, interest and maturity (7)
  1. Beginning

    Opening

  2. Cash Interest

    ((Interest Exposure × Cash Rate) × Year Fraction)

  3. Interest Exposure

    Interest Exposure

  4. Invalid Terms

    if if if if if if if if if if (Opening ≥ 0), then if (Issued ≥ 0), then true, otherwise false, otherwise false, then if (Repaid ≥ 0), then true, otherwise false, otherwise false, then if (PIK Rate ≥ 0), then true, otherwise false, otherwise false, then if (Year Fraction ≥ 0), then true, otherwise false, otherwise false, then if (Issued Weight ≥ 0), then true, otherwise false, otherwise false, then if (Issued Weight ≤ 1), then true, otherwise false, otherwise false, then if (Repaid Weight ≥ 0), then true, otherwise false, otherwise false, then if (Repaid Weight ≤ 1), then true, otherwise false, otherwise false, then if if (Matured = 0), then true, otherwise if (Matured = 1), then true, otherwise false, then true, otherwise false, otherwise false, then 0, otherwise 1

  5. Negative Exposure

    Higher of (Interest Exposure × -1) and 0

  6. Past Due

    if (Matured > 0), then Higher of Principal · Closing and 0, otherwise 0

  7. PIK Interest

    PIK Interest

Single-period debt roll-forward (3)
  1. Cash Flow

    Principal · Cash Flow

  2. Closing

    Principal · Closing

  3. Negative Balance

    Principal · Negative Balance

Calculation steps (3)
  1. Interest Exposure

    ((Opening + (Issued × Issued Weight)) − (Repaid × Repaid Weight))

  2. PIK Interest

    ((Interest Exposure × PIK Rate) × Year Fraction)

  3. Principal

    Result of Single-period debt roll-forward

    Component · Single-period debt roll-forward

    Roll debt for one supplied period without treating noncash book movements as financing proceeds.

    Argument values
    Issued
    Issued
    Noncash Changes
    PIK Interest
    Opening
    Opening
    Repaid
    Repaid
Conventions (6)
  • One period, instrument, currency and scale. Opening is contractual principal, not a carrying value including discount or accrued coupons.
  • Year fraction and movement weights are explicit. A draw weight is the fraction of the period earning interest; a repayment weight is the fraction saving interest.
  • Opening principal earns for the full period. Period-end PIK earns interest starting next period. No within-period compounding is inferred.
  • Cash interest is assumed accrued and paid in the same period. PIK is noncash principal. Fees, discount amortization, FX and accrued coupons require separate schedules.
  • Matured is 0 or 1 and means the contractual maturity has been reached by period end. Outstanding positive principal remains past due; there is no automatic repayment or refinancing.
  • Cash rates may be signed. Principal flows, PIK rates and year fractions must be nonnegative; weights must lie in [0, 1]. Invalid terms and negative exposure/principal remain visible.

Inputs and outputs

Inputs (9)
Inputs
NameUnitApplies to
Cash RatePercentSingle value
IssuedDollarsSingle value
Issued WeightUnitlessSingle value
MaturedFlagSingle value
OpeningDollarsSingle value
PIK RatePercentSingle value
RepaidDollarsSingle value
Repaid WeightUnitlessSingle value
Year FractionUnitlessSingle value
Outputs (10)
Outputs
NameUnitApplies to
BeginningDollarsSingle value
Cash FlowDollarsSingle value
Cash InterestDollarsSingle value
ClosingDollarsSingle value
Interest ExposureDollarsSingle value
Invalid TermsUnitlessSingle value
Negative BalanceDollarsSingle value
Negative ExposureDollarsSingle value
Past DueDollarsSingle value
PIK InterestDollarsSingle value

Libraries