Skip to main content
PUT
/
margin
/
order_groups
/
{order_group_id}
/
limit
Update Order Group Limit
curl --request PUT \
  --url https://external-api.kalshi.com/trade-api/v2/margin/order_groups/{order_group_id}/limit \
  --header 'Content-Type: application/json' \
  --header 'KALSHI-ACCESS-KEY: <api-key>' \
  --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \
  --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>' \
  --data '
{
  "contracts_limit": 2,
  "contracts_limit_fp": "10.00"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.kalshi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

KALSHI-ACCESS-KEY
string
header
required

Your API key ID

KALSHI-ACCESS-SIGNATURE
string
header
required

RSA-PSS signature of the request

KALSHI-ACCESS-TIMESTAMP
string
header
required

Request timestamp in milliseconds

Path Parameters

order_group_id
string
required

Order group ID

Query Parameters

subaccount
integer
default:0

Subaccount number (0 for primary, 1-32 for subaccounts). Defaults to 0.

Required range: x >= 0

Body

application/json
contracts_limit
integer<int64>

New maximum number of contracts that can be matched within this group over a rolling 15-second window. Whole contracts only. Provide contracts_limit or contracts_limit_fp; if both provided they must match.

Required range: x >= 1
contracts_limit_fp
string | null

String representation of the new maximum number of contracts that can be matched within this group over a rolling 15-second window. Provide contracts_limit or contracts_limit_fp; if both provided they must match.

Example:

"10.00"

Response

Order group limit updated successfully

An empty response body