feat(router): add fetchOrderBook cross-venue orderbook merge to SDKs#1670
Closed
AbhilashG12 wants to merge 1 commit into
Closed
feat(router): add fetchOrderBook cross-venue orderbook merge to SDKs#1670AbhilashG12 wants to merge 1 commit into
AbhilashG12 wants to merge 1 commit into
Conversation
- Add fetchOrderBook to TypeScript Router class - Add fetch_order_book to Python Router class - Update OpenAPI spec and docs - Add unit tests for both SDKs Fixes pmxt-dev#1450
realfishsam
added a commit
that referenced
this pull request
Jul 18, 2026
…1129, #1670) Implements the intended net changes of two broken PRs onto current main: - #1129: Router.sql(query) POSTs { query } to ${baseUrl}/v0/sql with the SDK's normal auth headers and returns a typed result. Adds SqlResult / SqlMeta / SqlColumn types to both SDKs, exported from each package root. - #1670: Router.fetchOrderBook(outcomeId) — a cross-venue order book that routes through the /api/router/fetchOrderBook surface and returns a single merged book. In Python it is a proper Router method (4-space indent). Adds focused unit tests (HTTP layer mocked) plus an AST check that Router still exposes all pre-existing methods. #1419 (any->types) skipped: the remaining any usages are raw wire JSON with no safe importable type. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
realfishsam
added a commit
that referenced
this pull request
Jul 18, 2026
Second wave of reworked community PRs: Router.sql (#1129), cross-venue Router.fetchOrderBook (#1670), WebSocket config (#1126), baozi error codes (#1118), limitless pagination (#1119), nullable model fields (#1578). Excludes #1614 (security) and #1419 (superseded). Triggers auto-tag v2.53.0f and package publish. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
Landed on |
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.
Fixes #1450