Skip to content

fix(spec): reconcile 3.34.0 + perps drift — v21.0.0 (Closes #533) - #534

Merged
TexasCoding merged 1 commit into
mainfrom
fix/533-spec-drift
Oct 10, 2026
Merged

TexasCoding merged 1 commit into
mainfrom
fix/533-spec-drift

Conversation

@TexasCoding

Copy link
Copy Markdown
Owner

Closes #533

Reconciles upstream OpenAPI 3.33.0 → 3.34.0 and perps spec drift (nightly strict contracts failing since 2026-10-09).

Breaking (21.0.0): perps MarginMarket gains required funding_deadband, funding_cap, funding_limit_unit (see docs/migration.md).

Added: fcm.create_position_transfer() (POST /fcm/positions/transfers, sync+async); perps transfers.transfer_instance(client_transfer_id=); MarginMarket.bid_size/ask_size.
Changed: perps portfolio.trades ticker now optional; subaccount spec default removed (SDK already omits None).

Blast radius (manual; GitNexus unavailable)

  • kalshi/models/fcm.py, kalshi/resources/fcm.py (new endpoint only)
  • kalshi/perps/models/{markets,orders,transfers}.py; perps resources orders/portfolio/transfers
  • _contract_map.py, contract tests, docs. No changes under kalshi/_generated beyond generator output.

Gates

ruff ✅ · mypy ✅ · unit 4675 passed ✅ · strict contracts 847 passed ✅

@TexasCoding
TexasCoding merged commit a7ec5c9 into main Oct 10, 2026
6 checks passed
@TexasCoding
TexasCoding deleted the fix/533-spec-drift branch November 1, 2026 12:33
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-10-09)

1 participant