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.
What you get
| Capability | Where |
|---|---|
| Single gRPC entry point with dynamic service discovery | API Gateway |
| Upstream exchange / data feed connections, one WebSocketFeed worker per connection | WebSocketFeed |
| Worker orchestration: .NET, C# source, Python and native engines, hosted by the WorkManager Runtime | WorkManager |
| Formal spec, design docs, audit log | OpenSpec |
Sample workers (HttpGet, Hello, GetTime) and the WebSocketFeed |
general-workers |
| Market-data, indicator, strategy and execution workers | Ecosystem |
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 a native worker? Build a shared library against the C ABI. Want to paper-trade a strategy? Run it in a scenario whose portfolio and strategy legs are hypothetical worlds.
A 90-second tour
- Read What is Virtufin for the motivation and the principles.
- Skim Concepts for the vocabulary — gRPC, Dapr, CloudEvents, worlds, 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, then Operations to run it locally or on Kubernetes.