Namespace Virtufin.Core.Events
Namespaces
Classes
- CloudEvent
Minimal CloudEvents v1.0 representation. Used as the wire format for Dapr pub/sub topics. Conforms to
https://github.com/cloudevents/spec/blob/v1.0.2/spec.md.
- TimestampedSample<TTime, TValue>
A single observation at a point in time, generic over both the time axis and the value type. This is the sample shape
IIndicatorimplementations consume — kept inVirtufin.Core.Eventsrather thanVirtufin.Core.Behaviourbecause it's a general timestamped-event shape, not indicator-specific.
Structs
- Symbol
Identifier for a tradeable instrument on a venue. Implements IAssetIdentifier so any existing Virtufin.Base.AssetIdentifier (currency, stock, etc.) can also be used as a trade symbol.
Interfaces
- IEventEnvelope
The transport envelope carried alongside every event. Combines the routing context (ScenarioId, Lane triplet), the clock interpretation (ClockType, EventTime), audit/processing metadata (WallTime, CorrelationId, RunId), and a human-readable ScenarioName.
- IEvent<T>
Marker for any value that participates in the Virtufin event flow. Events are immutable facts; they are appended to logs, transported on Dapr topics, and folded into state by algebræ. Implementations should be records so they have value equality.
Enums
- Lane
Market component lane.