Skip to main content

Preview a Scenario

hourglassThis endpoint is in early access

PreviewScenario

/api/scenarios/$preview

Preview what a scenario would do to a portfolio's market data, without running a valuation. The portfolio's market data dependencies are resolved through the given recipe and the scenario's shifts are applied; the response lists every market data target the shifts changed, with values before and after, plus any market data that matched a shift but could not honour it. Supply either a reference to a stored scenario, or inline shift definitions to test a definition before saving it.