Table of Contents

Interface ITradeEvent<A, T>

Namespace
Virtufin.Core.Events.Trade
Assembly
Virtufin.Core.dll

Trade event parameterised by the action type that produced it. Used by IExecutor<S, A, E> with the constraint E : ITradeEvent<A> to enforce that an executor producing events for A can only emit events in the TradeEvent<A> hierarchy.

public interface ITradeEvent<out A, T> : IEvent<T>, IEquatable<IEvent<T>> where A : ITradeAction where T : IComparable<T>

Type Parameters

A

The trade action type this event is parameterised by.

T

The event's own time type.

Inherited Members

Properties

Action

The action that produced this event (carried for correlation and audit).

A Action { get; }

Property Value

A