Skip to content

feat(client)!: align Python SDK with API v0.5.0 - #41

Merged
thestephenromano merged 5 commits into
mainfrom
feature/cost-utilities
Nov 4, 2026
Merged

thestephenromano merged 5 commits into
mainfrom
feature/cost-utilities

Conversation

@thestephenromano

@thestephenromano thestephenromano commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Align the Python SDK with deployed API v0.5.0. Existing SDK 0.1.x lacks discovery and standard-five operations, assumes all Greeks are always available, and permits obsolete 1,024-item batches. This update exposes the current contract and preserves server capability errors and unavailable-quantity evidence.

  • Both clients cover all 14 numerical/discovery/cost operations. Add unauthenticated pricing_models(), standard-five single/batch methods and explicit chunk workflows; support quoting and max_cu on all 11 execution methods.
  • Pin API commit 2284d802b5ac0b37b43ee269bbf4bfeec3777776, schema SHA-256 e206327e13aee32c02dbfa22e1d8e8a80ea2d549083971a1cc87aa2b67f401e7 (beta wire version remains 0.1.0).
  • Enforce the 100-item wire ceiling, forward current canonical selectors/aliases, preserve optional Greek values and typed reasons, and retain gaps in pandas output. Protected calls reject missing credentials before transport; public discovery never sends a key.
  • Update examples, guides and six notebooks. American Greeks/analytics/batches select BS1993 explicitly. No client model substitutions, numerical fallbacks, policy-rate arithmetic, or automatic retries.
  • Supersedes the contract-pin and batch-limit work in fix(contract): align reviewed beta API provenance #39 and feat(client)!: enforce the beta 100-contract batch ceiling #40. Release Please retains ownership of package versions and publication.

Validation at ec86a6e: Ruff lint/format and mypy passed; isolated sdist/wheel installation and all five pandas batch conversions passed; all 18 native integration checks passed against an optimized locked build of API v0.5.0, including a 100-contract standard-five batch, cash-dividend IV and capability errors. Docker startup/authentication, all six notebooks, persistent edits and missing-notebook seeding passed. The clean installed-wheel audit passed all 555 tests, including all 18 native integration tests, in a fresh Python 3.14.10 environment with no source-tree imports. Candidate wheel SHA-256: 9613ffa514ccf4ab3ccc8c9980cbdfff1759aea2ff4b9313101e76ea2d1d0452 (development candidate retains version 0.1.1; Release Please owns the next version). Native schema identity and fixture provenance are checked. No production credentials or customer data are used.

Compatibility notes and reproducible commands: API v0.5.0 adoption.

@thestephenromano thestephenromano self-assigned this Oct 27, 2026
@thestephenromano thestephenromano changed the title feat: add cost utilities and execution ceilings feat(client)!: align Python SDK with API v0.5.0 Nov 4, 2026
@thestephenromano
thestephenromano merged commit 043287a into main Nov 4, 2026
6 of 8 checks passed
@thestephenromano
thestephenromano deleted the feature/cost-utilities branch November 4, 2026 18:28
thestephenromano added a commit that referenced this pull request Nov 5, 2026
Release Please generated this release from merged changes. Its unsigned
commit was rejected by the signed-commit rule; the identical tree was
signed locally and pushed without changing any generated version or
changelog content.

##
[0.2.0](v0.1.1...v0.2.0)
(2026-11-05)


### ⚠ BREAKING CHANGES

* **client:** align Python SDK with API v0.5.0
([#41](#41))

### Features

* **client:** align Python SDK with API v0.5.0
([#41](#41))
([043287a](043287a))


### Bug Fixes

* accept metadata without retired capacity fields
([#47](#47))
([5547614](5547614))


### Documentation

* adopt strategic pragmatism guidance
([#42](#42))
([7484eb2](7484eb2))


Companion to API !210. Solver PR #46 remains excluded.
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.

1 participant