> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customizing What-Ifs

> Guide to customizing What-If simulations in Atoti Market Risk using the WhatIf Manager API, covering user interface options, workflow configuration, and persistence settings for simulation management.

What-If simulations in Atoti Market Risk are implemented across individual modules and the application layer. The WhatIf Manager API provides customization points in the following areas:

* User interface
* Workflow
* Persistence

## What-If Manager API

The What-If Manager provides an API for defining, executing and managing
What-If simulations on the datastore, which can then be viewed, compared
and, if required, merged back as the main working copy.

It allows simple code definition of custom simulation logic on entries
in the datastore, while abstracting out the specifics of branch and epoch
management. It also includes an Atoti UI widget to allow for
user-friendly branch management and What-If execution and audit.

It allows a developer to completely customize the workflow, security and
persistence around simulations created and executed (with out-of-the-box
examples provided for the use cases described in this document).
