Class RichPositionEvent<T>.UpdatedAttributed
Position updated with attribution.
public sealed record RichPositionEvent<T>.UpdatedAttributed : RichPositionEvent<T>, IPositionEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichPositionEvent<T>>, IEquatable<RichPositionEvent<T>.UpdatedAttributed>
- Inheritance
-
RichPositionEvent<T>.UpdatedAttributed
- Implements
-
IEvent<T>IEquatable<IEvent<T>>
- Inherited Members
Constructors
UpdatedAttributed(Symbol, DecimalAmount, Guid?, Guid?, T)
Construct an UpdatedAttributed.
public UpdatedAttributed(Symbol symbol, DecimalAmount deltaQuantity, Guid? strategyId, Guid? fillId, T updatedAt)
Parameters
symbolSymboldeltaQuantityDecimalAmountstrategyIdGuid?fillIdGuid?updatedAtT
Properties
DeltaQuantity
The signed change in quantity (positive = increase, negative = decrease).
public override DecimalAmount DeltaQuantity { get; }
Property Value
FillId
Optional originating fill id.
public Guid? FillId { get; }
Property Value
- Guid?
StrategyId
Strategy that produced the change.
public Guid? StrategyId { get; }
Property Value
- Guid?
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
UpdatedAt
Time of the update.
public T UpdatedAt { get; }
Property Value
- T