SYNDEx Integration
POSITx + SYNDEx Post-Trade Analytics Integration
Status: Technical Overview + Integration Roadmap Ready
Executive Summary
POSITx (Books + Scorecard) provides post-trade analytics capabilities that complement SYNDEx's execution engine. This integration enables real-time PnL attribution, copy detection, wallet intelligence, and tax reporting for SYNDEx users.
Key Points
- Parser is LIVE against Helius (Solana mainnet) - not mocked
- 96.3% venue identification accuracy across 4,468 real transactions
- FIFO/HIFO cost basis engine - tested with 28 tests, 5,361 assertions
- Full OpenAPI spec available at
/api/v1/openapi.json - Webhook infrastructure ready for bi-directional events
What is LIVE vs MOCKED?
| Component | Status | Details |
|---|---|---|
| Transaction Parser | LIVE | Helius API (Solana mainnet) |
| Token Pricing | LIVE | Jupiter + Birdeye APIs with fallback |
| Cost Basis Engine | LIVE | FIFO/HIFO/Specific-ID - fully tested |
| Database | LIVE | PostgreSQL via Docker (prod: Neon) |
| Wallet Intelligence | LIVE | Labels, relationships, decay tracking |
| Demo Mode | MOCKED | Only for unauthenticated users |
| Base Parser | READY | Infrastructure complete, needs RPC key |
| Hyperliquid Parser | READY | Infrastructure complete, uses public API |
Integration Architecture
┌─────────────────────────────────────────────────────────────┐
│ SYNDEx │
│ (Execution Engine - Independent) │
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Order Entry │ │ Execution │ │ Receipts │ │
│ └─────────────┘ └─────────────┘ └──────┬──────┘ │
└────────────────────────────────────────────┼────────────────┘
│
▼
┌──────────────────────────────┐
│ Trade Receipt Webhook │
│ POST /api/syndex/receipt │
│ { │
│ signature: "...", │
│ wallet: "...", │
│ chain: "solana", │
│ timestamp: "..." │
│ } │
└──────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ POSITx │
│ (Post-Trade Analytics Layer) │
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Parser │→→│ Cost Basis │→→│ PnL │ │
│ │ (real-time) │ │ Engine │ │ Attribution │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Scorecard │ │ Tax Reports │ │ Webhooks │ │
│ │ Ratings │ │ Form 8949 │ │ (events) │ │
│ └─────────────┘ └─────────────┘ └──────┬──────┘ │
└────────────────────────────────────────────┼────────────────┘
│
▼
┌──────────────────────────────┐
│ Webhook to SYNDEx │
│ • wallet.rating.updated │
│ • alert.copy_detected │
│ • wallet.decay_state.changed│
└──────────────────────────────┘
What SYNDEx Gets
- Real-time PnL attribution for executed trades
- Copy detection alerts - is someone front-running your signals?
- Wallet ratings for any address (smart money scoring)
- Performance benchmarking vs tracked wallets
- Tax-ready export for end users
What POSITx Needs from SYNDEx
- Trade receipts (signature + wallet + timestamp) - read-only
- Webhook notifications when trades execute
- Historical trade data for backfill (optional)
Implementation Timeline
Week 1 (Jun 5-12)
Phase 1: Access & Validation
NDA signed, repo access granted, Alex validates parser accuracy
Week 2 (Jun 12-19)
Phase 2: Functional Spec
Define trade receipt format, webhook events, integration spec document
Week 3-4 (Jun 19 - Jul 3)
Phase 3: AWS Deployment
Deploy POSITx API to AWS App Runner, PostgreSQL to Neon, CI/CD setup
Week 5-6 (Jul 3-17)
Phase 4: Integration Build
Build webhook receivers, trade processing, end-to-end testing
Week 7 (Jul 17-24)
Phase 5: Production
Production API keys, monitoring, documentation, go-live
Checklist for Alex
Immediate Actions (This Week)
-
Sign NDAJustin will send today
-
Provide GitHub usernameFor POSITx repo access (read-only)
-
Grant Justin SYNDEx read-only accessTo understand your data model
-
Review integration briefThis document
-
Test the parser
HELIUS_API_KEY="key" pnpm --filter cli test-wallet <your_wallet>
Information Needed from Alex
| Item | Priority | Notes |
|---|---|---|
| GitHub username | High | For repo access |
| SYNDEx read-only access | High | To understand your data model |
| Trade receipt format | High | What fields per trade? |
| Webhook capability | Medium | Can you send webhooks? |
| API spec/Swagger | Medium | If available |
| Volume estimates | Medium | For capacity planning |
| Integration model preference | Medium | Push vs Pull vs Hybrid |
Trade Receipt Questions
What fields does SYNDEx have per trade?
- Transaction signature?
- Wallet address?
- Token in/out amounts?
- Execution price?
- Timestamp?
- Venue/DEX used?
Integration Model Options
Option A: Push Model
- SYNDEx sends trade receipts to POSITx via webhook
- POSITx processes and sends back analytics via webhook
Option B: Pull Model
- POSITx polls SYNDEx API for new trades
- SYNDEx calls POSITx API for ratings/analytics
Option C: Hybrid (Recommended)
- Webhooks for real-time events
- API calls for on-demand data
API Endpoints Available
GET /api/v1/wallets/{address}/rating - Wallet score, decay state, labels
GET /api/v1/wallets/leaderboard - Top wallets by score
GET /api/v1/wallets/search - Search by address prefix
GET /api/v1/cohorts - Cohort retention metrics
GET /api/v1/cohorts/{month} - Cohort detail + decay curve
POST /api/v1/webhooks - Subscribe to events
GET /api/v1/webhooks - List subscriptions
DEL /api/v1/webhooks/{id} - Unsubscribe
POST /api/v1/export/url - Generate signed export URLs
Webhook Events
| Event | Description |
|---|---|
wallet.rating.updated |
Score recalculated |
wallet.decay_state.changed |
sharp → fading → dead |
cohort.snapshot.created |
New cohort data available |
alert.wallet.flagged |
New wallet flagged as smart money |
alert.copy_detected |
Copy trading pattern detected |
Next Steps
Once Alex provides the checklist items:
- Justin sets up POSITx repo access
- Schedule 30-min call to align on spec
- Start AWS deployment in parallel
- Working integration in 6-8 weeks
Full documentation: See syndex-integration-brief.md and alex-checklist.md for complete details.