Skip to content

Commit

Permalink
Features:
Browse files Browse the repository at this point in the history
	- Entity Default Window Re-work #1 (7, 8)
	- Entity Default Window Re-work #2 (9, 10)
	- Bank Counter Party Default Window (11)
	- Collateral Group Specification - Constructor Enhancement (12, 13)


Bug Fixes/Clean-up:

	- Counter Party Group Specification #1 (1, 2)
	- Counter Party Group Specification #2 (3, 4)
	- Counter Party Group Specification #3 (5, 6)
	- Eliminate Entity Default Window #1 (14, 15)
	- Eliminate Entity Default Window #2 (16, 17)


Samples:

	- XVA Digest Default Window (18)
	- XVA Entity Default Window (19)
	- Burgard 2013 Default Window (20, 21, 22)
	- XVA Basel Default Window #1 (23, 24)
	- XVA Basel Default Window #2 (25, 26)
	- XVA Basel Default Window #3 (27, 28, 29)
  • Loading branch information
lakshmiDRIP committed Feb 25, 2018
1 parent d8e9cd0 commit 45e02a2
Show file tree
Hide file tree
Showing 65 changed files with 70 additions and 483 deletions.
26 changes: 26 additions & 0 deletions ReleaseNotes/03_06_2018.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Features:

- Entity Default Window Re-work #1 (7, 8)
- Entity Default Window Re-work #2 (9, 10)
- Bank Counter Party Default Window (11)
- Collateral Group Specification - Constructor Enhancement (12, 13)


Bug Fixes/Clean-up:

- Counter Party Group Specification #1 (1, 2)
- Counter Party Group Specification #2 (3, 4)
- Counter Party Group Specification #3 (5, 6)
- Eliminate Entity Default Window #1 (14, 15)
- Eliminate Entity Default Window #2 (16, 17)


Samples:

- XVA Digest Default Window (18)
- XVA Entity Default Window (19)
- Burgard 2013 Default Window (20, 21, 22)
- XVA Basel Default Window #1 (23, 24)
- XVA Basel Default Window #2 (25, 26)
- XVA Basel Default Window #3 (27, 28, 29)
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -293,7 +291,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -307,7 +304,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -293,7 +291,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -307,7 +304,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -293,7 +291,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -307,7 +304,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -293,7 +291,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -307,7 +304,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -292,7 +290,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -306,7 +303,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator hae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator hae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

CloseOutGeneral cog = new CloseOutBilateral (
dblBankSeniorRecoveryRate,
dblCounterPartyRecoveryRate
Expand Down Expand Up @@ -292,7 +290,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -306,7 +303,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

JulianDate dtSpot = DateUtil.Today();

double dblTimeWidth = dblTime / iNumStep;
Expand Down Expand Up @@ -584,7 +582,6 @@ private static final ExposureAdjustmentAggregator[] Mix (
if (0 != j) {
CollateralAmountEstimator cae1 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand All @@ -598,7 +595,6 @@ private static final ExposureAdjustmentAggregator[] Mix (

CollateralAmountEstimator cae2 = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ public static final void main (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

double[][] aadblSwapPortfolioValueRealization = SwapPortfolioValueRealization (
new DiffusionEvolver (
DiffusionEvaluatorLinear.Standard (
Expand Down Expand Up @@ -273,7 +271,6 @@ public static final void main (
if (0 != j) {
CollateralAmountEstimator hae = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ public static final void main (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

double dblTimeWidth = dblTime / iNumStep;
JulianDate[] adtVertex = new JulianDate[iNumStep + 1];
double[][] aadblPortfolioValue = new double[iNumPath][iNumStep + 1];
Expand Down Expand Up @@ -490,7 +488,6 @@ public static final void main (
if (0 != j) {
CollateralAmountEstimator cae = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ public static final void main (
dblBankThreshold
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

DiffusionEvolver dePortfolio = new DiffusionEvolver (
DiffusionEvaluatorLinear.Standard (
dblPortfolioDrift,
Expand Down Expand Up @@ -174,7 +172,6 @@ public static final void main (

CollateralAmountEstimator hae = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ public static final void main (
0.
);

CounterPartyGroupSpecification cpgs = CounterPartyGroupSpecification.Standard ("CPGROUP");

double[][] aadblSwapPortfolioValueRealization = SwapPortfolioValueRealization (
new DiffusionEvolver (
DiffusionEvaluatorLinear.Standard (
Expand Down Expand Up @@ -271,7 +269,6 @@ public static final void main (
if (0 != j) {
CollateralAmountEstimator hae = new CollateralAmountEstimator (
cgs,
cpgs,
new BrokenDateInterpolatorLinearT (
dtStart.julian(),
dtEnd.julian(),
Expand Down
Loading

0 comments on commit 45e02a2

Please sign in to comment.