feat(sig-6603): add sort_direction, advanced filters, and address-summary#403
Open
marius-reed wants to merge 1 commit intomainfrom
Open
feat(sig-6603): add sort_direction, advanced filters, and address-summary#403marius-reed wants to merge 1 commit intomainfrom
marius-reed wants to merge 1 commit intomainfrom
Conversation
…mary - Add sort_direction param to all 8 sortable PM endpoints - Add advanced screener filters: tags, liquidity, volume, neg_risk, open_interest, end_date, price range (market-screener + event-screener) - Add new address-summary subcommand for wallet-level PnL summary - Update schema.json with new options and subcommand Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Adds v2 API params to the CLI for prediction market endpoints (SIG-6603).
Changes
All 8 sortable PM endpoints — new
--sort-directionoption (asc/desc, defaultdesc):ohlcv,top-holders,trades-by-market,trades-by-address,market-screener,event-screener,pnl-by-market,pnl-by-addressMarket screener + event screener — advanced filters:
--tags(comma-separated, e.g.--tags Crypto,Bitcoin)--min-liquidity/--max-liquidity--max-unique-traders-24h--min-volume-24hr--neg-risk(true/false)--min-open-interest/--max-open-interest--end-date-before/--end-date-after(ISO 8601)--min-price/--max-price(market screener only)New subcommand —
address-summary:```bash
nansen research pm address-summary --address 0x94f1...
```
Returns wallet-level PnL summary: realized/unrealized PnL, win rate, wallet age, P2P stats.
Depends on
Linear: SIG-6603
Test plan
🤖 Generated with Claude Code