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

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

  1. Real-time PnL attribution for executed trades
  2. Copy detection alerts - is someone front-running your signals?
  3. Wallet ratings for any address (smart money scoring)
  4. Performance benchmarking vs tracked wallets
  5. Tax-ready export for end users

What POSITx Needs from SYNDEx

  1. Trade receipts (signature + wallet + timestamp) - read-only
  2. Webhook notifications when trades execute
  3. 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)

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?

Integration Model Options

Option A: Push Model

Option B: Pull Model

Option C: Hybrid (Recommended)

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:

  1. Justin sets up POSITx repo access
  2. Schedule 30-min call to align on spec
  3. Start AWS deployment in parallel
  4. Working integration in 6-8 weeks
Full documentation: See syndex-integration-brief.md and alex-checklist.md for complete details.