Table of Contents

Namespace Virtufin.Core.Events

Namespaces

Virtufin.Core.Events.Market
Virtufin.Core.Events.Position
Virtufin.Core.Events.Risk
Virtufin.Core.Events.Trade

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 IIndicator implementations consume — kept in Virtufin.Core.Events rather than Virtufin.Core.Behaviour because 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

ClockType

Clock interpretation for EventTime.

Lane

Market component lane.