Skip to content

CohortRateResult

Defined in: types/domain.ts:243

Result returned by getRateForCohort.

Surfaces both the composite annual rate (annualRatePct) and its components (baseRatePct, premiumTier) along with the quarter window they apply to, so callers can audit how the rate was derived without re-running the math themselves.

Percentage fields are decimal strings expressed as percent values, e.g. "2.750" means 2.75% per annum.

readonly annualRatePct: string;

Defined in: types/domain.ts:253


readonly asOfDate: string;

Defined in: types/domain.ts:246


readonly baseRatePct: string;

Defined in: types/domain.ts:251


readonly premiumTier: PremiumTier;

Defined in: types/domain.ts:252


readonly quarterEndDate: string;

Defined in: types/domain.ts:248


readonly quarterIndex: number;

Defined in: types/domain.ts:249


readonly quarterStartDate: string;

Defined in: types/domain.ts:247


readonly series: SeriesCode;

Defined in: types/domain.ts:244


readonly subscriptionDate: string;

Defined in: types/domain.ts:245


readonly yearsSinceSubscription: number;

Defined in: types/domain.ts:250