Virtufin
An open, event-driven platform for algorithmic trading.
Virtufin is a polyglot stack for building, deploying, and operating real-time trading systems. It pairs a high-performance gRPC API gateway with pluggable worker engines and a Dapr-backed messaging fabric, all governed by an open specification.
API Gateway · WebSocketManager · WorkManager
What you get
| Capability | Where |
|---|---|
| Single gRPC entry point with dynamic service discovery | API Gateway |
| WebSocket proxy for upstream exchange / data feeds | WebSocketManager |
| Worker orchestration with in-process .NET / Python / native engines | WorkManager |
| Formal spec, design docs, audit log | OpenSpec |
| Reference workers (Binance, FX, etc.) | virtufin-workers |
Why Virtufin
Most trading stacks are an ad-hoc pile of vendor services glued together by a single team's bespoke code. The contract lives in a Postman collection and a Slack thread. Adding a new exchange, a new strategy language, or a new transport is a six-month project.
Virtufin flips the script: the contract is a published specification, and every piece of the stack is replaceable. Want to swap the API gateway? Talk gRPC to the backends directly. Want to drop in a Rust worker? Load a shared library. Want to backtest against last month's tape? Replay the same event stream with a different time clock.
A 90-second tour
- Read What is Virtufin for the motivation and the principles.
- Skim Concepts for the vocabulary — gRPC, Dapr, CloudEvents, lanes, scenarios.
- Look at Architecture for the system diagram.
- Pick your entry point in Components and follow the link to the sub-site.
- Land on Get Started for the bootstrap path.