Namespace Virtufin.Core.Events.Trade
Interfaces
- ITradeAction
Marker for any action that flows through the trading loop. A trade action is the strategy's intent: buy, sell, cancel, transfer between parties, or express interest in a CLOB before commitment. Implementations form a sealed ADT (
TradeAction) and an enriched variant (RichTradeAction).
- ITradeEvent<A, T>
Trade event parameterised by the action type that produced it. Used by
IExecutor<S, A, E>with the constraintE : ITradeEvent<A>to enforce that an executor producing events forAcan only emit events in theTradeEvent<A>hierarchy.