Getting Started with TraderX
TraderX has multiple generated codebases representing different learning states, from a simple pre-container baseline to a more feature-rich platform with pricing, order management, and platform tooling.
Where To Find The Code
- Search generated branches directly: code/generated-state-* branches
- See full state mapping and links: State Docs
- See the progression and visual graph: Learning Paths
- For private overlay customization: Customizing TraderX
- Canonical overlay starter template:
examples/custom-overlay-template/
If you want to run demos quickly, use the generated state branches listed below.
Generated Codebase States
- code/generated-state-001-baseline-uncontainerized-parity
- code/generated-state-002-edge-proxy-uncontainerized
- code/generated-state-003-agentic-harness-foundation
- code/generated-state-004-containerized-compose-runtime
- code/generated-state-005-postgres-database-replacement
- code/generated-state-006-messaging-nats-replacement
- code/generated-state-007-observability-lgtm-compose
- code/generated-state-008-pricing-awareness-market-data
- code/generated-state-009-order-management-matcher
- code/generated-state-010-kubernetes-runtime
- code/generated-state-011-tilt-kubernetes-dev-loop
- code/generated-state-012-platform-convergence-c3
- code/generated-state-013-radius-kubernetes-platform
- code/generated-state-014-fdc3-intent-interoperability
The YU states are this fork's own line and their generated branches live HERE, not upstream; the
links above point at finos/traderX because those states are upstream's. Same branch naming,
different repository, and conflating the two sends a reader to a 404 on someone else's project.
- code/generated-state-YU01-lmax-sequencer
- code/generated-state-YU02-lmax-kubernetes
- code/generated-state-YU03-in-memory-risk-gateway
- code/generated-state-YU04-durable-control-feeds
- code/generated-state-YU05-post-trade-compliance
- code/generated-state-YU06-eod-price-production
- code/generated-state-YU07-historical-tick-store
- code/generated-state-YU08-execution-algo-engine
- code/generated-state-YU09-ops-hardening
- code/generated-state-YU10-fix-ingress
- code/generated-state-YU11-aeron-replication
- code/generated-state-YU12-aeron-cluster
- code/generated-state-YU13-limit-order-book
- code/generated-state-YU14-listed-equity-options
- code/generated-state-YU15-eod-risk-extract
- code/generated-state-YU16-cdm-instruments
- code/generated-state-YU17-otc-rates
Why This Works
These codebases are generated from specifications using GitHub Spec Kit.
Specs, templates, and generation logic are the maintained source of truth; generated code branches are the runnable outputs.
Contribution Workflow
If you want to contribute new states:
- Clone the main TraderX repository on macOS or Linux.
- Use your preferred agentic coding assistant (for example Amp, Claude Code, or Codex).
- Choose the parent state from the Learning Paths.
- Define the new state in specs (requirements, plan, tasks, architecture, contracts, and generator changes).
- Implement and validate in the spec/source branch.
- Commit spec/docs/generator changes, then publish the generated state branch.
Example contribution themes:
- Service mesh adoption.
- Multi-temporal data support and related UI updates.
- Swapping messaging or database implementations.
Corporate Internal Extension Point
If your organization needs private runtime constraints, internal-only states, or private generated branches:
- Start with the canonical overlay starter under
examples/custom-overlay-template/. - Create a separate corporate overlay repository (do not fork TraderX for corporate-only deltas).
- Add TraderX as a pinned submodule dependency.
- Tailor the included profile, transform, and internal-docs examples to your environment policy.
- Publish an internal docs portal that includes only your sanctioned internal learning graph branches.
Local EOD bundle state: YU18-risk-integration (parent YU17-otc-rates). Its configured generated branch is code/generated-state-YU18-risk-integration; this local implementation has not been published. Run its source quickstart under specs/YU18-risk-integration/quickstart.md.