Package org.drip.xva.proto
Class PositionGroupSpecification
java.lang.Object
org.drip.xva.proto.ObjectSpecification
org.drip.xva.proto.PositionGroupSpecification
public class PositionGroupSpecification extends ObjectSpecification
PositionGroupSpecification contains the Specification of a Named Position Group. The References
are:
- Burgard, C., and M. Kjaer (2014): PDE Representations of Derivatives with Bilateral Counter-party Risk and Funding Costs Journal of Credit Risk 7 (3) 1-19
- Burgard, C., and M. Kjaer (2014): In the Balance Risk 24 (11) 72-75
- Gregory, J. (2009): Being Two-faced over Counter-party Credit Risk Risk 20 (2) 86-90
- Li, B., and Y. Tang (2007): Quantitative Analysis, Derivatives Modeling, and Trading Strategies in the Presence of Counter-party Credit Risk for the Fixed Income Market World Scientific Publishing Singapore
- Piterbarg, V. (2010): Funding Beyond Discounting: Collateral Agreements and Derivatives Pricing Risk 21 (2) 97-102
- Module = Portfolio Core Module
- Library = XVA Analytics Library
- Project = Valuation Adjustments that account for Collateral, CC Credit/Debt and Funding Overhead
- Package = Collateral, Counter Party, Netting Groups
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description PositionGroupSpecification(java.lang.String id, java.lang.String name, int clientDefaultWindow, int dealerDefaultWindow, R1ToR1[] clientThresholdFunctionArray, R1ToR1 dealerThresholdFunction, double minimumTransferAmount, double independentAmount, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme)PositionGroupSpecification Constructor -
Method Summary
Modifier and Type Method Description intbrokenDateScheme()Retrieve the Broken Date Interpolation SchemeintclientDefaultWindow()Retrieve the Client Default WindowR1ToR1[]clientThresholdFunctionArray()Retrieve the Array of the Collateral Group Client Threshold R1 - R1 FunctionsintcloseOutScheme()Retrieve the Close Out SchemeintdealerDefaultWindow()Retrieve the Dealer Default WindowR1ToR1dealerThresholdFunction()Retrieve the Collateral Group Dealer Threshold R1 - R1 Functionstatic PositionGroupSpecificationFixedThreshold(java.lang.String name, double clientThreshold, double dealerThreshold, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme)Generate a Fixed-Threshold Instance of the Named Position GroupdoublehedgeError()Retrieve the Hedge ErrordoubleindependentAmount()Retrieve the Collateral Group Independent AmountbooleanisUncollateralized()Retrieve the Flag specifying whether the Collateral Group is UncollateralizeddoubleminimumTransferAmount()Retrieve the Collateral Group Minimum Transfer AmountintpositionReplicationScheme()Retrieve the Position Replication Schemestatic PositionGroupSpecificationZeroThreshold(java.lang.String name, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme)Generate a Zero-Threshold Instance of the Named Position GroupMethods inherited from class org.drip.xva.proto.ObjectSpecification
id, nameMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PositionGroupSpecification
public PositionGroupSpecification(java.lang.String id, java.lang.String name, int clientDefaultWindow, int dealerDefaultWindow, R1ToR1[] clientThresholdFunctionArray, R1ToR1 dealerThresholdFunction, double minimumTransferAmount, double independentAmount, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme) throws java.lang.ExceptionPositionGroupSpecification Constructor- Parameters:
id- The Exposure Roll Up Group IDname- The Exposure Roll Up Group NameclientDefaultWindow- The Client Default WindowdealerDefaultWindow- The Dealer Default WindowclientThresholdFunctionArray- The Array of Collateral Group Client Threshold R1 - R1 FunctionsdealerThresholdFunction- The Collateral Group Dealer Threshold R1 - R1 FunctionminimumTransferAmount- The Collateral Group Minimum Transfer AmountindependentAmount- The Collateral Group Independent AmountpositionReplicationScheme- Position Replication SchemebrokenDateScheme- Broken Date Interpolation SchemehedgeError- Hedge ErrorcloseOutScheme- Close Out Scheme- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
ZeroThreshold
public static final PositionGroupSpecification ZeroThreshold(java.lang.String name, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme)Generate a Zero-Threshold Instance of the Named Position Group- Parameters:
name- The Collateral Group NamepositionReplicationScheme- Position Replication SchemebrokenDateScheme- Broken Date Interpolation SchemehedgeError- Hedge ErrorcloseOutScheme- Close Out Scheme- Returns:
- The Zero-Threshold Instance of the Named Position Group
-
FixedThreshold
public static final PositionGroupSpecification FixedThreshold(java.lang.String name, double clientThreshold, double dealerThreshold, int positionReplicationScheme, int brokenDateScheme, double hedgeError, int closeOutScheme)Generate a Fixed-Threshold Instance of the Named Position Group- Parameters:
name- The Collateral Group NameclientThreshold- The Fixed Client ThresholddealerThreshold- The Fixed Dealer ThresholdpositionReplicationScheme- Position Replication SchemebrokenDateScheme- Broken Date Interpolation SchemehedgeError- Hedge ErrorcloseOutScheme- Close Out Scheme- Returns:
- The Fixed-Threshold Instance of the Named Position Group
-
clientDefaultWindow
public int clientDefaultWindow()Retrieve the Client Default Window- Returns:
- The Client Default Window
-
dealerDefaultWindow
public int dealerDefaultWindow()Retrieve the Dealer Default Window- Returns:
- The Dealer Default Window
-
clientThresholdFunctionArray
Retrieve the Array of the Collateral Group Client Threshold R1 - R1 Functions- Returns:
- The Array of the Collateral Group Client Threshold R1 - R1 Functions
-
dealerThresholdFunction
Retrieve the Collateral Group Dealer Threshold R1 - R1 Function- Returns:
- The Collateral Group Dealer Threshold R1 - R1 Function
-
minimumTransferAmount
public double minimumTransferAmount()Retrieve the Collateral Group Minimum Transfer Amount- Returns:
- The Collateral Group Minimum Transfer Amount
-
independentAmount
public double independentAmount()Retrieve the Collateral Group Independent Amount- Returns:
- The Collateral Group Independent Amount
-
positionReplicationScheme
public int positionReplicationScheme()Retrieve the Position Replication Scheme- Returns:
- The Position Replication Scheme
-
brokenDateScheme
public int brokenDateScheme()Retrieve the Broken Date Interpolation Scheme- Returns:
- The Broken Date Interpolation Scheme
-
hedgeError
public double hedgeError()Retrieve the Hedge Error- Returns:
- The Hedge Error
-
closeOutScheme
public int closeOutScheme()Retrieve the Close Out Scheme- Returns:
- The Close Out Scheme
-
isUncollateralized
public boolean isUncollateralized()Retrieve the Flag specifying whether the Collateral Group is Uncollateralized- Returns:
- TRUE - The Collateral Group is Uncollateralized
-