Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions core/specs/kalshi/Kalshi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,13 @@ paths:
- kalshiAccessKey: []
kalshiAccessSignature: []
kalshiAccessTimestamp: []
parameters:
- name: subaccount
in: query
required: false
schema:
type: integer
description: Subaccount number (0 for primary, 1-32 for subaccounts). When provided, returns only that subaccount's balance.
responses:
'200':
description: Balance retrieved successfully
Expand Down Expand Up @@ -4088,6 +4095,10 @@ components:
type: integer
format: int64
description: Unix timestamp of the last update to the balance.
balance_dollars:
type: number
format: double
description: Member's available balance in USD dollars.

CreateSubaccountResponse:
type: object
Expand Down Expand Up @@ -4417,6 +4428,10 @@ components:
nullable: true
x-omitempty: true
description: Subaccount number (0 for primary, 1-32 for subaccounts). Present for direct users.
ts_ms:
type: integer
format: int64
description: Order timestamp in milliseconds (Unix epoch).

Milestone:
type: object
Expand Down Expand Up @@ -4852,9 +4867,6 @@ components:
order_id:
type: string
description: Unique identifier for the order that resulted in this fill
client_order_id:
type: string
description: Client-provided identifier for the order that resulted in this fill
ticker:
type: string
description: Unique identifier for the market
Expand Down
14 changes: 12 additions & 2 deletions core/src/exchanges/kalshi/api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Auto-generated from /home/zihao/pmxt/core/specs/kalshi/Kalshi.yaml
* Generated at: 2026-05-10T23:00:51.402Z
* Auto-generated from /Users/samueltinnerholm/Documents/GitHub/pmxt/.claude/worktrees/agent-a6e1b73d/core/specs/kalshi/Kalshi.yaml
* Generated at: 2026-05-24T14:48:08.117Z
* Do not edit manually -- run "npm run fetch:openapi" to regenerate.
*/
export const kalshiApiSpec = {
Expand Down Expand Up @@ -644,6 +644,16 @@ export const kalshiApiSpec = {
"kalshiAccessSignature": [],
"kalshiAccessTimestamp": []
}
],
"parameters": [
{
"name": "subaccount",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
}
]
}
},
Expand Down
Loading