Virtufin Strategies
Deployable strategy workers for the WorkManager, built on the
IDecide coalgebra (Virtufin.Core 0.4.0+). The bridge and reusable
pieces live in the
strategy devkit
(Virtufin.Strategy.DevKit NuGet packages), consumed here via package
references — never project references.
flowchart LR
MKT[("Market stream")]
PORT[("Portfolio state")]
BRIDGE["StrategyWorkerBase<br/>(from the devkit)"]
DEC["IDecide<S, M, P, A>"]
EXE["IExecutor"]
MKT --> BRIDGE
PORT --> BRIDGE
BRIDGE --> DEC
DEC -->|"TradeAction[]"| EXE
Workers
| Worker | Language | Engine (MIME) | Strategy |
|---|---|---|---|
| MovingAverage | C# | application/x-dotnet-dll |
N-day SMA crossover |
| MovingAveragePython | Python | text/x-python |
Same strategy, Python engine |
Where to start
- Overview — the strategy model in one page.
- Getting Started — run the examples.
- Strategy Author Guide — how the devkit
turns an
IDecideinto a worker, and how to deploy one here. - Python Strategies — the Python twin.
The bridge internals, CloudEvent mappers, portfolio fold, and indicators are documented in the strategy devkit docs.