public class InstrMetric
extends java.lang.Object
Constructor and Description |
---|
InstrMetric(ForwardRates fwdMetric,
ProductDailyPnL pnlMetric)
InstrMetric constructor
|
Modifier and Type | Method and Description |
---|---|
ForwardRates |
fwdMetric()
Retrieve the Forward Metric
|
ProductDailyPnL |
pnlMetric()
Retrieve the PnL Metric
|
double[] |
toArray()
Reduce the PnL/forward metrics to an array
|
java.lang.String |
toString() |
public InstrMetric(ForwardRates fwdMetric, ProductDailyPnL pnlMetric) throws java.lang.Exception
fwdMetric
- The Forward Rates MetricpnlMetric
- The Daily Carry/Roll PnL Metricjava.lang.Exception
- Thrown if the Inputs are Invalidpublic ForwardRates fwdMetric()
public ProductDailyPnL pnlMetric()
public double[] toArray()
public java.lang.String toString()
toString
in class java.lang.Object