Class RichRiskEvent<T>.DrawdownWithMetadata
Drawdown with peak/trough/recovery timestamps.
public sealed record RichRiskEvent<T>.DrawdownWithMetadata : RichRiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichRiskEvent<T>>, IEquatable<RichRiskEvent<T>.DrawdownWithMetadata>
- Inheritance
-
RichRiskEvent<T>.DrawdownWithMetadata
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>
- Inherited Members
Constructors
DrawdownWithMetadata(DrawdownUpdated, T?)
Construct a DrawdownWithMetadata.
public DrawdownWithMetadata(RiskEvent<T>.DrawdownUpdated evt, T? recoveryTime)
Parameters
evtRiskEvent<T>.DrawdownUpdatedrecoveryTimeT?
Properties
Event
The underlying drawdown update event.
public RiskEvent<T>.DrawdownUpdated Event { get; }
Property Value
RecoveryTime
Time the drawdown recovered to zero (null if still in drawdown).
public T? RecoveryTime { get; }
Property Value
- T?
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T