Table of Contents

Class TradeEvent<T>.OrderCancelled

Namespace
Virtufin.Base.Events.Trade
Assembly
Virtufin.Base.dll

Cancel confirmed by exchange.

public sealed record TradeEvent<T>.OrderCancelled : TradeEvent<T>, ITradeEvent<RichTradeAction, T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<TradeEvent<T>>, IEquatable<TradeEvent<T>.OrderCancelled>
Inheritance
TradeEvent<T>.OrderCancelled
Implements
Inherited Members

Constructors

OrderCancelled(RichTradeAction, Guid, T, string?)

Construct an OrderCancelled event.

public OrderCancelled(RichTradeAction action, Guid orderId, T cancelledAt, string? reason)

Parameters

action RichTradeAction
orderId Guid
cancelledAt T
reason string

Properties

Action

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

public override RichTradeAction Action { get; }

Property Value

RichTradeAction

CancelledAt

Time the cancel was confirmed.

public T CancelledAt { get; }

Property Value

T

OrderId

Id of the cancelled order.

public Guid OrderId { get; }

Property Value

Guid

Reason

Optional reason for the cancel.

public string? Reason { get; }

Property Value

string

Time

The time at which this event's fact occurred.

public override T Time { get; }

Property Value

T