Class RichPositionEvent<T>.OpenedWithParty
Position opened with from/to party info (e.g. transfer counterparty).
public sealed record RichPositionEvent<T>.OpenedWithParty : RichPositionEvent<T>, IPositionEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichPositionEvent<T>>, IEquatable<RichPositionEvent<T>.OpenedWithParty>
- Inheritance
-
RichPositionEvent<T>.OpenedWithParty
- Implements
-
IEvent<T>IEquatable<IEvent<T>>
- Inherited Members
Constructors
OpenedWithParty(Symbol, DecimalAmount, Signatory?, Signatory?, T)
Construct an OpenedWithParty.
public OpenedWithParty(Symbol symbol, DecimalAmount deltaQuantity, Signatory? fromParty, Signatory? toParty, T openedAt)
Parameters
symbolSymboldeltaQuantityDecimalAmountfromPartySignatory?toPartySignatory?openedAtT
Properties
DeltaQuantity
The signed change in quantity (positive = increase, negative = decrease).
public override DecimalAmount DeltaQuantity { get; }
Property Value
FromParty
Optional initiating party.
public Signatory? FromParty { get; }
Property Value
OpenedAt
Time the position was opened.
public T OpenedAt { get; }
Property Value
- T
Symbol
The instrument whose holding changed.
public override Symbol Symbol { get; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
ToParty
Optional counterparty.
public Signatory? ToParty { get; }