How rezafaghani/vantrel works
Vantrel is an early-stage market-data platform; the implemented product slice is a local synthetic-market pipeline, a Series Catalog API, and the MRX raw-archive library and CLI. In the local workflow, a user runs a batch through the pipeline, which generates records, captures raw bytes, parses and validates canonical events, and publishes supported observations to QuestDB for dashboard queries. The catalog is a separate API-backed domain. This map reflects the sampled implementation; README capabilities such as trading, surveillance, AI/ML, and Kafka/Flink are platform direction, not implemented services in the shown tree.
Main entry points: ingestion/ingestion.go Ingestion runtime · main.go Pipeline dashboard · catalog.go Catalog core · marketstore/ingestion.go Observation publisher
Components 17
Market pipeline
- Pipeline dashboard
services/local-pipeline/main.go - Batch orchestrator
services/local-pipeline/main.go - Synthetic source
libs/go/synthetic/source.go - Ingestion runtime
libs/go/ingestion/ingestion.go - Event validation
libs/go/validation/validation.go - Observation publisher
libs/go/marketstore/ingestion.go - Market store
libs/go/marketstore/marketstore.go
Series catalog
- Catalog API
services/catalog-api/api.go - Catalog core
libs/go/catalog/catalog.go - Memory catalog store
libs/go/catalog/memory_store.go - Synthetic catalog setup
libs/go/synthetic/catalog.go
Raw archive
- Raw capture sink
libs/go/rawarchive/sink.go - MRX archive format
libs/go/mrx/mrx.go - MRX CLI
libs/go/mrx/cmd/mrx/main.go
Market contracts
- Canonical market contracts
contracts/proto/vantrel/market/v1/market.proto
Other components
- User
- QuestDB
Connections 15
- User → Pipeline dashboard: runs batch
services/local-pipeline/main.go - Pipeline dashboard → Batch orchestrator: invokes run
services/local-pipeline/main.go - Pipeline dashboard → QuestDB: queries and writes
services/local-pipeline/main.go - Batch orchestrator → Synthetic source: uses source
services/local-pipeline/main.go - Batch orchestrator → Ingestion runtime: runs ingestion
services/local-pipeline/main.go - Ingestion runtime → Raw capture sink: captures records
libs/go/ingestion/ingestion.go - Raw capture sink → MRX archive format: writes frames
libs/go/rawarchive/sink.go - Ingestion runtime → Event validation: validates events
libs/go/ingestion/ingestion.go - Ingestion runtime → Observation publisher: publishes events
libs/go/ingestion/ingestion.go - Observation publisher → Market store: writes observations
libs/go/marketstore/ingestion.go - Market store → QuestDB: stores observations
- User → MRX CLI: inspects archives
libs/go/mrx/cmd/mrx/main.go - Catalog API → Catalog core: calls catalog store
services/catalog-api/api.go - Synthetic catalog setup → Catalog core: registers series
libs/go/synthetic/catalog.go - Memory catalog store → Catalog core: implements store
libs/go/catalog/memory_store.go