Skip to content

Virtufin Indicator DevKit

Deploys any IIndicator<TSelf, TSample, TValue> (from Virtufin.Core/Virtufin.Base 0.6.0+) as a standalone WorkManager worker.

flowchart LR
    SRC(["market event\n(e.g. CandleClosed)"])
    BRIDGE["IndicatorWorkerBase&lt;TIndicator, TSample, TValue&gt;"]
    IND["IIndicator&lt;TSelf, TSample, TValue&gt;"]
    STATE[("State\nsc.&lt;scenarioId&gt;.indicator.&lt;name&gt;.&lt;symbol&gt;")]
    EVT(["sc.&lt;scenarioId&gt;.indicator.&lt;name&gt;.&lt;symbol&gt;.changed"])
    SRC --> BRIDGE
    BRIDGE --> IND
    IND -->|"new value"| BRIDGE
    BRIDGE --> STATE
    BRIDGE --> EVT

Package

Package What it provides
Virtufin.Indicator.DevKit IndicatorWorkerBase<TIndicator, TSample, TValue> (the bridge), ConfigResolution

Where to start

  • Overview — the two consumption modes (inline vs. worker-backed) and where this devkit fits.
  • Bridge — the CloudEvent bridge architecture: sample decode, per-symbol dispatch, State persistence, envelope construction.

Concrete deployable indicator workers (which indicator, which sample wire shape) are consumers of this package, the same way virtufin-execution-engines consumes virtufin-execution-devkit.