Class RichRiskEvent<T>.PnLAttributed
P&L attributed to a specific scenario run.
public sealed record RichRiskEvent<T>.PnLAttributed : RichRiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichRiskEvent<T>>, IEquatable<RichRiskEvent<T>.PnLAttributed>
- Inheritance
-
RichRiskEvent<T>.PnLAttributed
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>
- Inherited Members
Constructors
PnLAttributed(RiskEvent<T>, string, Guid)
Construct a PnLAttributed.
public PnLAttributed(RiskEvent<T> evt, string scenarioName, Guid runId)
Parameters
Properties
Event
The underlying P&L update or realisation event.
public RiskEvent<T> Event { get; }
Property Value
- RiskEvent<T>
RunId
Run id for the attribution.
public Guid RunId { get; }
Property Value
ScenarioName
Scenario name for the attribution.
public string ScenarioName { get; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T