You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8fff4d4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/kalshi.mdx
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -791,6 +791,7 @@ Cancel an existing order on Kalshi
791
791
| Parameter | Type | Required | Description |
792
792
| --------- | ---- | -------- | ----------- |
793
793
|`orderId`| string | Yes | Order ID to cancel \(e.g., "abc123-def456-ghi789"\)|
794
+
|`ticker`| string | No | Market ticker of the order \(e.g., "KXBTC-24DEC31"\), so the cancel reaches the order's exchange shard. Leave empty to look it up from the order first |
794
795
795
796
#### Output
796
797
@@ -851,7 +852,7 @@ Modify the price or quantity of an existing order on Kalshi
|`clientOrderId`| string | No | Original client-specified order ID |
853
854
|`updatedClientOrderId`| string | No | New client-specified order ID after amendment |
854
-
|`count`| string | No | New total contracts for the order: already filled plus desired resting \(e.g., "10"\). Leave empty to keep the current total |
855
+
|`count`| string | No | New total contracts for the order: already filled plus desired resting \(e.g., "10"\). Leave empty to keep the current total, only if the order hasn't just changed; Kalshi's order reads can briefly lag|
855
856
|`yesPrice`| string | No | Updated yes price in cents \(1-99\)|
856
857
|`noPrice`| string | No | Updated no price in cents \(1-99\)|
857
858
|`yesPriceDollars`| string | No | Updated yes price in dollars \(e.g., "0.56"\)|
@@ -910,7 +911,7 @@ Modify the price or quantity of an existing order on Kalshi
910
911
| ↳ `action`| string | Action \(buy/sell\)|
911
912
| ↳ `count`| number | Number of contracts |
912
913
| ↳ `remaining_count`| number | Remaining contracts |
'New total contracts for the order: already filled plus desired resting (e.g., "10"). Leave empty to keep the current total',
156
+
'New total contracts for the order: already filled plus desired resting (e.g., "10"). Leave empty to keep the current total, only if the order hasn\'t just changed; Kalshi\'s order reads can briefly lag',
148
157
},
149
158
yesPrice: {
150
159
type: 'string',
@@ -317,6 +326,7 @@ function mapOrder(order: Record<string, unknown>): KalshiAmendOrderV2Order {
'New total contracts for the order: already filled plus desired resting (e.g., "10"). Leave empty to keep the current total',
400
+
'New total contracts for the order: already filled plus desired resting (e.g., "10"). Leave empty to keep the current total, only if the order hasn\'t just changed; Kalshi\'s order reads can briefly lag',
0 commit comments