Interface ITradeEvent<A, T>
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
AThe trade action type this event is parameterised by.
TThe 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