Skip to main content
PUT
/
portfolio
/
order_groups
/
{order_group_id}
/
limit
Update Order Group Limit
curl --request PUT \
  --url https://api.elections.kalshi.com/trade-api/v2/portfolio/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"
}
'
{}

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

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 (whole contracts only). 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