Pular para o conteúdo

CohortRateResult

Defined in: types/domain.ts:400

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:410


readonly asOfDate: string;

Defined in: types/domain.ts:403


readonly baseRatePct: string;

Defined in: types/domain.ts:408


readonly premiumTier: PremiumTier;

Defined in: types/domain.ts:409


readonly quarterEndDate: string;

Defined in: types/domain.ts:405


readonly quarterIndex: number;

Defined in: types/domain.ts:406


readonly quarterStartDate: string;

Defined in: types/domain.ts:404


readonly series: SeriesCode;

Defined in: types/domain.ts:401


readonly subscriptionDate: string;

Defined in: types/domain.ts:402


readonly yearsSinceSubscription: number;

Defined in: types/domain.ts:407