Skip to content

Reconcile OpenAPI 3.27.0 spec drift (v9.0.0) - #493

Merged
TexasCoding merged 2 commits into
mainfrom
fix/spec-drift-492
Jul 31, 2026
Merged

Reconcile OpenAPI 3.27.0 spec drift (v9.0.0)#493
TexasCoding merged 2 commits into
mainfrom
fix/spec-drift-492

Conversation

@TexasCoding

Copy link
Copy Markdown
Owner

Summary

Closes #492 (nightly strict contract drift). Syncs upstream OpenAPI 3.26.0 → 3.27.0 and the matching perps + SCM specs.

Breaking

  • Removed subaccounts.transfer_position() and position-transfer models after upstream deleted POST /portfolio/subaccounts/positions/transfer.

Additive

  • live_data.get_event() / EventLiveData (GET /live_data/events/{event_ticker})
  • DecreaseOrderV2Request.market_ticker, Series.exchange_index
  • WS MarketLifecyclePayload.exchange_index
  • Perps fcm.create_subtrader() (POST /margin/fcm/subtraders)
  • Klear subtrader groups CRUD + settlement group_breakdowns / omitted_group_count / margin_group_id

Release prep

  • Version 9.0.0, CHANGELOG / migration / ROADMAP / docs updated for accuracy.

Test plan

  • uv run mypy kalshi/
  • uv run pytest tests/ (4198 passed)
  • Contract drift suite green against synced specs
  • CI green on this PR

Syncs core OpenAPI 3.26.0 → 3.27.0 and matching perps/SCM content.
Breaking: remove subaccounts.transfer_position after upstream deleted
POST /portfolio/subaccounts/positions/transfer.

Additive: live_data.get_event, DecreaseOrderV2Request.market_ticker,
Series.exchange_index, WS MarketLifecyclePayload.exchange_index,
perps fcm.create_subtrader, and Klear subtrader groups + settlement
group fields.

Closes #492
@TexasCoding
TexasCoding merged commit 6686dbd into main Jul 31, 2026
6 checks passed
@TexasCoding
TexasCoding deleted the fix/spec-drift-492 branch July 31, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nightly spec-drift: strict contract tests failing (since 2026-07-29)

1 participant