---
title: "Set Model Allocations"
method: POST
path: "/fa/model/save"
tags: ["tradingFaAllocationManagement"]
---

# Set Model Allocations

`POST /fa/model/save`

Create or Modify a model's target positions.

## Request body

- object
  - `cashTargets` FaModelSavePostRequestBodyContentApplicationJsonSchemaCashTargetsItems[], required — Array target cash objects
    - `ccy` string — Currency code to hold positions.
    - `target` number, double — Percentage of model to distribute to the given currency.
  - `desc` string, required — Personal description of model to read in IBKR GUI elements.
  - `isStatic` boolean, required — Determine if investing and rebalancing should be handled statically or dynamically. * `true` - Static models will always use the original targets. * `false` - Dynamic models will adjust allocation in response to market movements.
  - `model` string, required — Name of your model.
  - `positionTargets` FaModelSavePostRequestBodyContentApplicationJsonSchemaPositionTargetsItems[], required — List containing all contracts to hold in the model.
    - `conid` integer — Contract identifier, conid, to designate which security to hold.
    - `target` number, double — Percentage of model to distribute to the given currency.
  - `reqID` integer, required — Request identifier to uniquely track a request.

## Response `200`

Successfully saved a model

- TradingFAAllocationManagementSetModelTargetPositionsResponse200
  - `reqID` integer — Request identifier to uniquely track a request.
  - `success` boolean — Signifies that the request was successfully submitted.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
