Skip to content

v8.0.0: remove settlement-advance surface (spec drift #489/#490) - #491

Merged
TexasCoding merged 1 commit into
mainfrom
fix/spec-drift-489-490-settlement-advance-lock
Jul 27, 2026
Merged

v8.0.0: remove settlement-advance surface (spec drift #489/#490)#491
TexasCoding merged 1 commit into
mainfrom
fix/spec-drift-489-490-settlement-advance-lock

Conversation

@TexasCoding

Copy link
Copy Markdown
Owner

Summary

Reconciles upstream core OpenAPI / AsyncAPI content under version string 3.26.0 after Kalshi removed the short-lived settlement-advance subaccount surface.

Breaking (v8.0.0)

  • Removed subaccounts.lock_settlement_advance() / unlock_settlement_advance() (sync + async)
  • Removed LockSubaccountForSettlementAdvanceRequest / Response and UnlockSubaccountForSettlementAdvanceRequest
  • Removed SubaccountBalance.voluntarily_locked, .settlement_advance, .settlement_advance_state

Additive

  • Optional rfq_creator_id + subaccount on WS QuoteCreatedPayload / QuoteAcceptedPayload
  • Optional subaccount on QuoteExecutedPayload

Spec notes

  • Core OpenAPI still 3.26.0 (content-only; 103 operations / 102 mapped)
  • Still unimplemented: POST /portfolio/intra_exchange_instance_transfer
  • Perps specs unchanged

Test plan

  • uv run python scripts/sync_spec.py + generate.py
  • uv run mypy kalshi/ — clean
  • uv run ruff check on touched files — clean
  • uv run pytest tests/ — 4182 passed, 315 skipped
  • CI green on this PR

Upstream removed PUT/DELETE /portfolio/subaccounts/settlement-advance-lock
and the SubaccountBalance settlement-advance fields from OpenAPI 3.26.0
content. Drop the matching SDK methods, models, and contract map entries.
Add optional WS quote rfq_creator_id/subaccount fields from AsyncAPI.

Closes #489
Closes #490
@TexasCoding
TexasCoding merged commit 952466a into main Jul 27, 2026
6 checks passed
@TexasCoding
TexasCoding deleted the fix/spec-drift-489-490-settlement-advance-lock branch July 27, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant