Skip to content

Document builder query endpoints (userAccounts/userOpenOrders/userBal… - #166

Open
ivanzyzy wants to merge 3 commits into
masterfrom
builder_query
Open

Document builder query endpoints (userAccounts/userOpenOrders/userBal…#166
ivanzyzy wants to merge 3 commits into
masterfrom
builder_query

Conversation

@ivanzyzy

@ivanzyzy ivanzyzy commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

…ances/userPositionRisk/userCommissionRates/userAllOrders) and all-asset-logo

Adds the builder-family GET endpoints from builder.txt that were missing from the futures v3 docs, and fixes the existing Get Builder Trades doc to match source (missing userAddresses param, 90-day not 30-day startTime window, errors[] field). userAddresses is capped at 50 per request.

ivanzyzy and others added 3 commits September 4, 2026 10:49
…ances/userPositionRisk/userCommissionRates/userAllOrders) and all-asset-logo

Adds the builder-family GET endpoints from builder.txt that were missing from the futures v3 docs, and fixes the existing Get Builder Trades doc to match source (missing userAddresses param, 90-day not 30-day startTime window, errors[] field). userAddresses is capped at 50 per request.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Enumerates the four concrete error messages (deposit required, privacy mode enabled, privacy check failed, not bound to builder) that can appear per-address in the errors[] array, confirmed against AccountService.getAccountIdsByAddresses/getFutureUidsByAddresses and a real response sample.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ition filter

Per PR #166 QA review: fee is negated relative to the DB (verified in cloud-future-campaign's UserTradeController) and not trailing-zero-trimmed like other decimal fields, so the doc's example and field description were wrong. Also documents that the batch userPositionRisk endpoint drops positionAmt=0 rows server-side (cloud-query-service DataRiskServiceImpl.getPositionRiskBatch), unlike the single-account positionRisk endpoint.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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