For an overview of order groups and how they work, see Order Groups.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.
Order Group Request (35=UOG)
Manage order groups with Create, Reset, Delete, Trigger, and Update operations.Required Fields
| Tag | Name | Description | Type/Values |
|---|---|---|---|
| 20131 | OrderGroupAction | Operation to perform | Create<1>, Reset<2>, Delete<3>, Trigger<4>, Update<5> |
Fields by Action
Create (Action=1)
| Tag | Name | Description | Required |
|---|---|---|---|
| 20132 | OrderGroupContractsLimit | Maximum contracts allowed (1-1,000,000) | Yes |
The OrderGroupID is generated by the server and returned in the response. Do not include tag 20130 in Create requests.
Reset (Action=2)
| Tag | Name | Description | Required |
|---|---|---|---|
| 20130 | OrderGroupID | ID of group to reset | Yes |
Delete (Action=3)
| Tag | Name | Description | Required |
|---|---|---|---|
| 20130 | OrderGroupID | ID of group to delete | Yes |
Trigger (Action=4)
| Tag | Name | Description | Required |
|---|---|---|---|
| 20130 | OrderGroupID | ID of group to trigger | Yes |
Update (Action=5)
| Tag | Name | Description | Required |
|---|---|---|---|
| 20130 | OrderGroupID | ID of group to update | Yes |
| 20132 | OrderGroupContractsLimit | New maximum contracts allowed (1-1,000,000) | Yes |
If the updated limit would immediately trigger the group based on the rolling 15-second window, the server cancels all orders in the group and marks it as triggered until reset.
Create Margin Order Group
Reset Margin Order Group
Delete Margin Order Group
Trigger Margin Order Group
Update Margin Order Group Limit
Order Group Response (35=UOH)
Response to order group management requests.Response Fields
| Tag | Name | Description |
|---|---|---|
| 20130 | OrderGroupID | ID of the order group |
Business-logic errors (e.g. order group not found, exchange-returned errors) are returned as BusinessMessageReject (35=j) messages. Malformed fields (e.g. invalid UUID format for OrderGroupID) produce a session-level Reject (35=3).