Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Market makers can merge ABOVE on a lower threshold with BELOW on a higher threshold to receive pUSD and the middle-bucket YES positions, then reverse it with the same two IDs. Ports the current position-ID workflow from TypeScript PR #428.
SecureClientis the default;AsyncSecureClientoffers the same methods with native async transport. Both accept unordered wing IDs, keyword-only base-unit amounts, and a default of"max". Splits check pUSD and every consumed bucket.prepare_*methods return the existing immutableTransactionCallforexecute_transactionor custom signing, rather than copying the TypeScript signing generator. Models use frozen dataclasses, output enums, and plain-string input vocabularies.Validation
uv run ruff check .,uv run ruff format --check .,uv run pyright,uv run pytest -m "not integration",uv build, and the Sphinx reference build pass. 3,573 tests pass; focused coverage pins Router selectors against the TypeScript ABI and exercises unordered pairs, balance limits, exact Void-inclusive baskets, all four wallet paths, paginated discovery, activity economics, and local directional redemption.The offline directional example runs. Added an opt-in metered staging round trip using shared integration fixtures; it skips without metered opt-in and credentials. Live Python staging execution remains unverified. The test seeds inventory using line splits and does not establish trading/fill settlement.