Skip to content

docs: rewrite the Traders API page with a live wallet and verified PnL queries - #342

Merged
buddies2705 merged 2 commits into
mainfrom
content/venue-traders-api
Sep 8, 2026
Merged

docs: rewrite the Traders API page with a live wallet and verified PnL queries#342
buddies2705 merged 2 commits into
mainfrom
content/venue-traders-api

Conversation

@buddies2705

Copy link
Copy Markdown
Contributor

Rewrites the Traders API page around a wallet that trades today: every stream and query returns rows, the whale-of-a-wallet example uses a wallet that moves six figures daily, and the PnL, one-sided-flow and fee rankings are kept with tighter fields.

What changed

  • Dead trader GWcAopUZKokUUQAMDrNzd1YVHLJqbzJomu2pzNqLe9U3 replaced by a live wallet across all sections
  • Token, DEX, pair and pool examples replaced by live ones (LEVERCAT, Raydium CPMM, WSOL/USDC)
  • Whale-of-a-wallet shown as a query that returns rows, with the stream form explained
  • Queries trimmed to the fields the section needs; sidebar_label, FAQ, related links anchor kept

Verification

  • Every query and subscription on the page was executed with a live token: 9/9 queries returned rows; 8/8 subscriptions delivered messages within the timeout.

Fact checklist

  • Trading cube keeps about a month of trades
  • Side filters in aggregates take the strings "Buy" and "Sell"
  • PnL uses calculate(expression: "$Amount_Sold - $Amount_Bought")
  • selectWhere on an aggregate keeps rows where the count is zero

IDE saved queries linked from this page are updated by IDE_QUERY_UPDATES_2026-09-venue.sql (repo root, git-excluded), to be run on the primary database.

Part of the crawled-not-indexed cleanup (P2 block): venue pages are rewritten around live examples so every query and stream on them returns data, and the three EVM screener pages are split so they stop being treated as copies of one another.

🤖 Generated with Claude Code

Gaurav Agarwal and others added 2 commits September 8, 2026 09:38
…L queries

Rewrites the Traders API page around a wallet that trades today: every stream and query returns rows, the whale-of-a-wallet example uses a wallet that moves six figures daily, and the PnL, one-sided-flow and fee rankings are kept with tighter fields.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@buddies2705
buddies2705 merged commit a49f11f into main Sep 8, 2026
1 check passed
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