Table of Contents

Class RichPositionEvent<T>.OpenedWithParty

Namespace
Virtufin.Base.Events.Position
Assembly
Virtufin.Base.dll

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
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

symbol Symbol
deltaQuantity DecimalAmount
fromParty Signatory?
toParty Signatory?
openedAt T

Properties

DeltaQuantity

The signed change in quantity (positive = increase, negative = decrease).

public override DecimalAmount DeltaQuantity { get; }

Property Value

DecimalAmount

FromParty

Optional initiating party.

public Signatory? FromParty { get; }

Property Value

Signatory?

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

Symbol

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; }

Property Value

Signatory?