Skip to content

Commit eff576d

Browse files
committed
Features:
- Collateral Group Variation Margin #1 (21, 22) - Collateral Group Variation Margin #2 (23, 24) - Collateral Group Variation Margin #3 (25, 26) - Collateral Group VM Posted #1 (27, 28) - Collateral Group VM Posted #2 (29, 30) Bug Fixes/Clean-up: - Stream Fix Float MPoR Packages (1, 2) - Collateral Group Anchor -> Vertex Date (31) - Albanese Andersen XVA Vertex Revamp (32) Samples: - OTC Receiver Classical+ Timeline #1 (3, 4) - OTC Receiver Classical+ Timeline #2 (5, 6) - OTC Receiver Classical- Timeline (7, 8) - OTC Receiver Aggressive Timeline (9, 10) - OTC Receiver Conservative Timeline (11, 12) - OTC Payer Classical+ Timeline (13, 14) - OTC Payer Classical- Timeline (15, 16) - OTC Payer Aggressive Timeline (17, 18) - OTC Payer Conservative Timeline (19, 20) - OTC Receiver Classical+ XVA #1 (33, 34) - OTC Receiver Classical+ XVA #2 (35, 36) - OTC Receiver Classical+ XVA #3 (37, 38) - OTC Receiver Classical+ XVA #4 (39, 40) - OTC Receiver Classical+ XVA #5 (41, 42) - OTC Receiver Classical+ XVA #6 (43, 44) - OTC Receiver Classical+ XVA #7 (45, 46) - OTC Receiver Classical+ XVA #8 (47, 48) - OTC Receiver Classical+ XVA #9 (49, 50) - OTC Receiver Classical+ XVA #10 (51, 52) - OTC Receiver Classical+ XVA #11 (53, 54) - OTC Receiver Classical+ XVA #12 (55, 56) - OTC Receiver Classical+ XVA #13 (57, 58) - OTC Receiver Classical+ XVA #14 (59, 60)
1 parent 2ce2d3a commit eff576d

File tree

44 files changed

+5583
-109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+5583
-109
lines changed

ReleaseNotes/05_10_2018.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
Features:
3+
4+
- Collateral Group Variation Margin #1 (21, 22)
5+
- Collateral Group Variation Margin #2 (23, 24)
6+
- Collateral Group Variation Margin #3 (25, 26)
7+
- Collateral Group VM Posted #1 (27, 28)
8+
- Collateral Group VM Posted #2 (29, 30)
9+
10+
11+
Bug Fixes/Clean-up:
12+
13+
- Stream Fix Float MPoR Packages (1, 2)
14+
- Collateral Group Anchor -> Vertex Date (31)
15+
- Albanese Andersen XVA Vertex Revamp (32)
16+
17+
18+
Samples:
19+
20+
- OTC Receiver Classical+ Timeline #1 (3, 4)
21+
- OTC Receiver Classical+ Timeline #2 (5, 6)
22+
- OTC Receiver Classical- Timeline (7, 8)
23+
- OTC Receiver Aggressive Timeline (9, 10)
24+
- OTC Receiver Conservative Timeline (11, 12)
25+
- OTC Payer Classical+ Timeline (13, 14)
26+
- OTC Payer Classical- Timeline (15, 16)
27+
- OTC Payer Aggressive Timeline (17, 18)
28+
- OTC Payer Conservative Timeline (19, 20)
29+
- OTC Receiver Classical+ XVA #1 (33, 34)
30+
- OTC Receiver Classical+ XVA #2 (35, 36)
31+
- OTC Receiver Classical+ XVA #3 (37, 38)
32+
- OTC Receiver Classical+ XVA #4 (39, 40)
33+
- OTC Receiver Classical+ XVA #5 (41, 42)
34+
- OTC Receiver Classical+ XVA #6 (43, 44)
35+
- OTC Receiver Classical+ XVA #7 (45, 46)
36+
- OTC Receiver Classical+ XVA #8 (47, 48)
37+
- OTC Receiver Classical+ XVA #9 (49, 50)
38+
- OTC Receiver Classical+ XVA #10 (51, 52)
39+
- OTC Receiver Classical+ XVA #11 (53, 54)
40+
- OTC Receiver Classical+ XVA #12 (55, 56)
41+
- OTC Receiver Classical+ XVA #13 (57, 58)
42+
- OTC Receiver Classical+ XVA #14 (59, 60)

src/main/java/org/drip/exposure/generator/FloatStreamMPoR.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,14 @@ public FloatStreamMPoR (
113113
continue;
114114
}
115115

116-
org.drip.analytics.cashflow.ComposableUnitFloatingPeriod composableUnitFloatingPeriod =
117-
(org.drip.analytics.cashflow.ComposableUnitFloatingPeriod) period.periods().get (0);
116+
/* org.drip.analytics.cashflow.ComposableUnitFloatingPeriod composableUnitFloatingPeriod =
117+
(org.drip.analytics.cashflow.ComposableUnitFloatingPeriod) period.periods().get (0); */
118118

119119
variationMarginEstimate += period.couponDCF() *
120120
period.notional (periodEndDate) *
121-
marketPath.marketVertex
122-
(composableUnitFloatingPeriod.referenceIndexPeriod().fixingDate()).positionManifestValue() *
121+
marketPath.marketVertex (period.startDate()).positionManifestValue() *
122+
/* marketPath.marketVertex
123+
(composableUnitFloatingPeriod.referenceIndexPeriod().fixingDate()).positionManifestValue() * */
123124
period.couponFactor (periodEndDate) *
124125
overnightReplicatorForward /
125126
marketPath.marketVertex (period.payDate()).overnightReplicator();
@@ -147,16 +148,17 @@ public FloatStreamMPoR (
147148
{
148149
int periodEndDate = period.endDate();
149150

150-
org.drip.analytics.cashflow.ComposableUnitFloatingPeriod composableUnitFloatingPeriod =
151-
(org.drip.analytics.cashflow.ComposableUnitFloatingPeriod) period.periods().get (0);
151+
/* org.drip.analytics.cashflow.ComposableUnitFloatingPeriod composableUnitFloatingPeriod =
152+
(org.drip.analytics.cashflow.ComposableUnitFloatingPeriod) period.periods().get (0); */
152153

153154
try
154155
{
155156
return org.drip.exposure.mpor.TradePayment.Standard (
156157
notional() * period.couponDCF() *
157158
period.notional (periodEndDate) *
158-
marketPath.marketVertex
159-
(composableUnitFloatingPeriod.referenceIndexPeriod().fixingDate()).positionManifestValue() *
159+
marketPath.marketVertex (period.startDate()).positionManifestValue() *
160+
/* marketPath.marketVertex
161+
(composableUnitFloatingPeriod.referenceIndexPeriod().fixingDate()).positionManifestValue() * */
160162
period.couponFactor (periodEndDate) *
161163
overnightReplicatorForward /
162164
marketPath.marketVertex (period.payDate()).overnightReplicator()

0 commit comments

Comments
 (0)