---
title: "Update a Trader's settings"
method: PATCH
path: "/strategies/traders/{trader_id}"
tags: ["Trade Strategy"]
---

# Update a Trader's settings

`PATCH /strategies/traders/{trader_id}`

Updates a Trader's settings. Synchronous. Currently the only mutable field is `auto_rebalance`. Does not affect any in-flight Operation; takes effect on the next Rebalance.

## Path parameters

- `trader_id` string, uuid, required

## Headers

- `X-SCX-SIGNED` string, required
- `X-SCX-TIMESTAMP` string, required

## Request body

- UpdateTradeStrategyTraderBody
  - `auto_rebalance` boolean, required — New value for the Trader's `auto_rebalance` flag.

## Response `200`

The updated Trader.

- TradeStrategyTraderResponse
  - `message` object
    - `id` string, uuid — Unique identifier (UUID v4) for the Trader.
    - `strategy_id` string, uuid — Strategy the Trader belongs to.
    - `participant_code` string — Platform's identifier for the end customer (≤ 6 chars).
    - `account_label` string — Sub-account label used when querying balances upstream.
    - `auto_rebalance` boolean — If true, the Trader is included in default Rebalance targeting (when CreateRebalance is called without an explicit participants list).
    - `created_at` string, date-time — When the Trader was created.
    - `updated_at` string, date-time — When the Trader was last updated.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Trader not found.
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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