Exchange
kalshi
Drift Type
changed_params
Severity
LOW — New optional parameter for multi-subaccount balance queries. No existing functionality broken.
Their Docs
GET /portfolio/balance now accepts an optional subaccount query parameter (integer: 0 for primary account, 1–32 for named subaccounts). When provided, the response reflects only that subaccount's balance.
Source: https://docs.kalshi.com
Our Cached Spec
core/specs/kalshi/Kalshi.yaml (version 3.7.0) and core/src/exchanges/kalshi/api.ts define GetBalance at GET /portfolio/balance with no query parameters.
callApi() References at Risk
callApi('GetBalance') at fetcher.ts:302 — works correctly for primary account; cannot target subaccounts.
Hardcoded URL Bypasses
None.
Impact
PMXT can only fetch the primary account balance. Users with Kalshi subaccounts cannot retrieve per-subaccount balances via PMXT until the spec and callApi() call are updated.
Found by automated spec drift audit
Exchange
kalshi
Drift Type
changed_params
Severity
LOW — New optional parameter for multi-subaccount balance queries. No existing functionality broken.
Their Docs
GET /portfolio/balancenow accepts an optionalsubaccountquery parameter (integer:0for primary account,1–32for named subaccounts). When provided, the response reflects only that subaccount's balance.Source: https://docs.kalshi.com
Our Cached Spec
core/specs/kalshi/Kalshi.yaml(version 3.7.0) andcore/src/exchanges/kalshi/api.tsdefineGetBalanceatGET /portfolio/balancewith no query parameters.callApi() References at Risk
callApi('GetBalance')at fetcher.ts:302 — works correctly for primary account; cannot target subaccounts.Hardcoded URL Bypasses
None.
Impact
PMXT can only fetch the primary account balance. Users with Kalshi subaccounts cannot retrieve per-subaccount balances via PMXT until the spec and callApi() call are updated.
Found by automated spec drift audit