---
title: "Set Desk Max Sector Frac"
method: POST
path: "/v1/me/accounts/{account_id}/max-sector-frac"
---

# Set Desk Max Sector Frac

`POST /v1/me/accounts/{account_id}/max-sector-frac`

## Request

- Base URL: `https://api.quantradin.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quantradin.com/v1/me/accounts/{account_id}/max-sector-frac`
- Auth: none declared

SECTOR EXPOSURE CAP (#35) — set (or clear with null) the DESK-level cap on
the fraction of the desk's equity ONE sector's open positions may hold,
counted across the WHOLE DESK whatever bot opened them. Every bot on the
desk obeys it unless the bot sets its own (per-bot wins). Session-owner
scoped like the other desk mutations; 404 if the desk is not the caller's
(cloak).

A LIVE-FILL knob: the walk refuses a NEW entry whose sector would go over,
with its own distinct reason (`skipped_sector_cap` + a note showing the
math), and never touches any verdict. Sector comes from the engine's ONE
static map (an unknown symbol is its own "other" bucket); the committed
totals are derived fresh every walk through the ONE cost model — nothing
is reserved, so closing a position frees its sector's room on the next
walk.

## Path parameters

- `account_id` integer, required

## Request body

- MaxSectorFracRequest
  - `max_sector_frac` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/quantradin/apis/vega-api.md) · [All operations](https://skmtc.dev/quantradin/apis/vega-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quantradin/apis/vega-api/revisions/47add154ef38?raw)
