Skip to content

simulatePortfolio

This content is not available in your language yet.

function simulatePortfolio(input, options?): PortfolioResult;

Defined in: core/portfolio.ts:22

Simulates a portfolio made of multiple subscription cohorts.

The function composes simulate for each cohort (same asOfDate across all rows) and only owns aggregation: totals and per-series breakdowns are sums of the already-cent-quantized cohort headline fields.

ParameterType
inputSimulatePortfolioInput
optionsSimulateOptions

PortfolioResult