Skip to content

update_risk_limit

PATCH
/admin/risk-limits/{id}
curl --request PATCH \
--url http://localhost:3001/admin/risk-limits/00000000-0000-0000-0000-000000000000 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"max_order_notional":0,"max_order_quantity":0,"max_position_notional":0,"max_position_quantity":0,"trading_state":null}'
id
required
string format: uuid

Risk limit ID

Media typeapplication/json
object
max_order_notional
number format: double
nullable
max_order_quantity
number format: double
nullable
max_position_notional
number format: double
nullable
max_position_quantity
number format: double
nullable
trading_state
string
nullable

Example generated

{
"max_order_notional": 1,
"max_order_quantity": 1,
"max_position_notional": 1,
"max_position_quantity": 1,
"trading_state": "example"
}

Updated

Media typeapplication/json
object
created_at
required
string format: date-time
id
required
string format: uuid
instrument_id
required
string
max_order_notional
number format: double
nullable
max_order_quantity
number format: double
nullable
max_position_notional
number format: double
nullable
max_position_quantity
number format: double
nullable
portfolio_id
required
string format: uuid
trading_state
required
string
updated_at
required
string format: date-time

Example generated

{
"created_at": "2026-04-15T12:00:00Z",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"instrument_id": "example",
"max_order_notional": 1,
"max_order_quantity": 1,
"max_position_notional": 1,
"max_position_quantity": 1,
"portfolio_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"trading_state": "example",
"updated_at": "2026-04-15T12:00:00Z"
}

Invalid trading_state

Not found