Class RiskEvent<T>.DrawdownUpdated
Peak-to-trough drawdown recalculated.
public sealed record RiskEvent<T>.DrawdownUpdated : RiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RiskEvent<T>>, IEquatable<RiskEvent<T>.DrawdownUpdated>
- Inheritance
-
RiskEvent<T>RiskEvent<T>.DrawdownUpdated
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>IEquatable<RiskEvent<T>>
- Inherited Members
Constructors
DrawdownUpdated(DecimalAmount, T, T)
Peak-to-trough drawdown recalculated.
public DrawdownUpdated(DecimalAmount Drawdown, T PeakTime, T TroughTime)
Parameters
DrawdownDecimalAmountCurrent drawdown value.
PeakTimeTTime the peak was reached.
TroughTimeTTime the trough was reached.
Properties
Drawdown
Current drawdown value.
public DecimalAmount Drawdown { get; init; }
Property Value
PeakTime
Time the peak was reached.
public T PeakTime { get; init; }
Property Value
- T
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
Remarks
The more recent of the two timestamps — when this reading became true.
TroughTime
Time the trough was reached.
public T TroughTime { get; init; }
Property Value
- T