> ## 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.

# FRTB trade scaling

> Guide to performing trade scaling and duplication simulations in Atoti FRTB to adjust trade risk profiles and view instant recalculations

Atoti FRTB provides scaling simulations to display instant
recalculations of and incremental impact from simulated adjustments to a
given trade or set of trades.

For a visual walk-through, watch the [video](./index#types-of-what-if-analysis) on performing a trade scaling simulation.

## Scaling factor options

| Scaling factor | Impact on trade |
| - | - |
| > 1 | Adjusts the trade up |
| \< 1 | Adjusts the trade down |
| negative | Inverts the trade risk profile |
| zero (0) | Closes down the position entirely |

## Trade scaling

1. Select the TradeId you want to work on. This can be from any pivot
   table that has the TradeId dimension. Right-click and select **What-If Trade** > **Scale** \[ name of TradeId].

   The **Scale Trades** dialog box is
   displayed with information about the TradeId, the branch you are
   branching from.

2. Check that all elements are the ones you want, otherwise cancel and
   set or change your filters as required.

3. In the **Scale Trades** dialog box,
   complete the **Parameters** section and
   click **OK**

   * **Trade ID**: Id of the selected
     Trade(s).
   * **Title**: Short caption describing
     the meaning of the trade scale task.
   * **Scale Factor**: The factor by which
     to multiply the underlying trade. See [Scaling factor
     options](#scaling-factor-options).
   * **Branch Name**: Name of the branch on
     which to save the scaling result. If the branch does not exist,
     a new branch will be created.

4. In the Pivot table, if the Epoch dimension is selected, the new
   branch you created is displayed adjacent to the master. The new
   branch contains the same data as the master branch for this trade.
   However, all calculations are recalculated with the scaled trade, so
   the numbers will be different.

5. To manage your branches and the simulations on them, use the **What-If Manager**.

## Duplicating trades

To duplicate a trade and scale its copy:

1. Complete steps 1-3 in the procedure for trade scaling.
2. In the **Scale Trades** dialog box,
   complete the **Duplicate Trades** section:
   * Select the **Duplicate Trades**
     checkbox.
   * Edit the suffix to append to the new duplicate trade.
3. In the Pivot table, if the Epoch dimension is selected, the new
   branch is displayed adjacent to the master. The branch contains
   the original trade, unchanged, alongside a new trade under the
   chosen suffix. Only the new, suffixed trade carries the scaled
   values. This new trade exists only in the branch: it does not
   appear on the master branch.
4. To manage your branches and the simulations on them, use the [What-If Manager](./index#what-if-manager).
