Class RiskEvent<T>.MarginWarned
Margin ratio approaching threshold.
public sealed record RiskEvent<T>.MarginWarned : RiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RiskEvent<T>>, IEquatable<RiskEvent<T>.MarginWarned>
- Inheritance
-
RiskEvent<T>RiskEvent<T>.MarginWarned
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>IEquatable<RiskEvent<T>>
- Inherited Members
Constructors
MarginWarned(DecimalAmount, DecimalAmount, T)
Margin ratio approaching threshold.
public MarginWarned(DecimalAmount MarginRatio, DecimalAmount WarningThreshold, T WarnedAt)
Parameters
MarginRatioDecimalAmountCurrent margin ratio.
WarningThresholdDecimalAmountWarning threshold.
WarnedAtTTime of warning.
Properties
MarginRatio
Current margin ratio.
public DecimalAmount MarginRatio { get; init; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
WarnedAt
Time of warning.
public T WarnedAt { get; init; }
Property Value
- T
WarningThreshold
Warning threshold.
public DecimalAmount WarningThreshold { get; init; }