Class RiskEvent<T>.PnLUpdated
Unrealized P&L recalculated on a tick.
public sealed record RiskEvent<T>.PnLUpdated : RiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RiskEvent<T>>, IEquatable<RiskEvent<T>.PnLUpdated>
- Inheritance
-
RiskEvent<T>RiskEvent<T>.PnLUpdated
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>IEquatable<RiskEvent<T>>
- Inherited Members
Constructors
PnLUpdated(DecimalAmount, T)
Unrealized P&L recalculated on a tick.
public PnLUpdated(DecimalAmount UnrealizedPnL, T RecalculatedAt)
Parameters
UnrealizedPnLDecimalAmountNew unrealized P&L value.
RecalculatedAtTTime of recalculation.
Properties
RecalculatedAt
Time of recalculation.
public T RecalculatedAt { get; init; }
Property Value
- T
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
UnrealizedPnL
New unrealized P&L value.
public DecimalAmount UnrealizedPnL { get; init; }