Skip to content

Commit 5767462

Browse files
pcaspersjenkins
authored andcommitted
QPR-12014 update config of example 15 (but no product specific config yet)
1 parent 3471082 commit 5767462

10 files changed

Lines changed: 1624 additions & 592 deletions

File tree

Examples/Example_15/ExpectedOutput/flows.csv

Lines changed: 115 additions & 115 deletions
Large diffs are not rendered by default.

Examples/Example_15/ExpectedOutput/npv.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#TradeId,TradeType,Maturity,MaturityTime,NPV,NpvCurrency,NPV(Base),BaseCurrency,Notional,NotionalCurrency,Notional(Base),NettingSet,CounterParty
2-
BERMUDAN_SWAPTION,Swaption,2038-10-01,22.652317,-3140651.967156,EUR,-3140651.967156,EUR,10000000.00,EUR,10000000.00,CPTY_A,CPTY_A
2+
BERMUDAN_SWAPTION,Swaption,2038-10-01,22.652317,-3115851.065563,EUR,-3115851.065563,EUR,10000000.00,EUR,10000000.00,CPTY_A,CPTY_A
33
BOND,Bond,2021-02-03,4.994783,12902649.282760,EUR,12902649.282760,EUR,10000000.00,EUR,10000000.00,CPTY_A,CPTY_A
44
Bond_Floating,Bond,2021-02-03,4.994783,10765048.489931,EUR,10765048.489931,EUR,10000000.00,EUR,10000000.00,,CPTY_C
55
CAP_EUR,CapFloor,2026-02-09,10.011221,-6881.951398,EUR,-6881.951398,EUR,1000000.00,EUR,1000000.00,CPTY_A,CPTY_A
66
CAP_USD,CapFloor,2026-02-09,10.011221,-14245.033135,USD,-12580.206366,EUR,1000000.00,USD,883129.32,CPTY_A,CPTY_A
77
CC_SWAP_EUR_USD,Swap,2026-02-05,10.000262,-23643219.533172,USD,-20880020.288282,EUR,100000000.00,USD,88312931.57,CPTY_A,CPTY_A
8-
CC_SWAP_EUR_USD_RESET,Swap,2026-02-05,10.000262,-22174553.893030,USD,-19582998.606448,EUR,100000000.00,USD,88312931.57,CPTY_A,CPTY_A
8+
CC_SWAP_EUR_USD_RESET,Swap,2026-02-05,10.000262,-22174553.893030,USD,-19582998.606449,EUR,100000000.00,USD,88312931.57,CPTY_A,CPTY_A
99
CDS,CreditDefaultSwap,2026-03-20,10.118070,805.422071,USD,711.291842,EUR,10000000.00,USD,8831293.16,CPTY_B,CPTY_B
1010
CPI_Swap,Swap,2021-07-19,5.449577,829612.548929,GBP,1021768.347989,EUR,10000000.00,GBP,12316211.34,CPTY_A,CPTY_A
1111
EQ_CALL_LUFT,EquityOption,2018-03-01,2.066015,1872.588407,EUR,1872.588407,EUR,9486.00,EUR,9486.00,CPTY_A,CPTY_A

Examples/Example_15/ExpectedOutput/scenario.csv

Lines changed: 382 additions & 382 deletions
Large diffs are not rendered by default.

Examples/Example_15/ExpectedOutput/sensitivity.csv

Lines changed: 78 additions & 78 deletions
Large diffs are not rendered by default.

Examples/Example_15/ExpectedOutput/stresstest.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#TradeId,ScenarioLabel,Base NPV,Scenario NPV,Sensitivity
2-
BERMUDAN_SWAPTION,parallel_rates,-3125432.29,-2074397.25,1051035.04
3-
BERMUDAN_SWAPTION,twist,-3125432.29,-3196530.22,-71097.93
2+
BERMUDAN_SWAPTION,parallel_rates,-3100941.24,-2043549.12,1057392.12
3+
BERMUDAN_SWAPTION,twist,-3100941.24,-3165028.92,-64087.68
44
BOND,parallel_rates,12902111.76,12614454.85,-287656.90
55
BOND,twist,12902111.76,12801562.04,-100549.71
66
Bond_Floating,parallel_rates,10765631.07,10511973.88,-253657.19

Examples/Example_15/ExpectedOutput/var.csv

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#Portfolio,RiskClass,RiskType,Quantile_0.010000,Quantile_0.050000,Quantile_0.950000,Quantile_0.990000
2-
(all),(all),(all),-51288984.245165,-36325951.993862,35903557.993863,50866590.245165
3-
PF1,(all),(all),-50726701.680738,-35873450.367032,35826125.367033,50679376.680738
4-
PF2,(all),(all),-6556365.963796,-4690642.412803,4315573.412803,6181296.963796
5-
(all),(all),DeltaGamma,-51283793.157401,-36320855.846305,35908195.846305,50871133.157401
6-
PF1,(all),DeltaGamma,-50726701.680738,-35873450.367032,35826125.367033,50679376.680738
7-
PF2,(all),DeltaGamma,-6548899.269859,-4683937.288745,4318602.288745,6183564.269859
2+
(all),(all),(all),-51287863.246212,-36325159.387042,35902765.387042,50865469.246212
3+
PF1,(all),(all),-50726701.680738,-35873450.367032,35826125.367032,50679376.680738
4+
PF2,(all),(all),-6556376.537509,-4690649.888990,4315580.888990,6181307.537509
5+
(all),(all),DeltaGamma,-51282672.151335,-36320063.234456,35907403.234456,50870012.151335
6+
PF1,(all),DeltaGamma,-50726701.680738,-35873450.367032,35826125.367032,50679376.680738
7+
PF2,(all),DeltaGamma,-6548909.847891,-4683944.767985,4318609.767985,6183574.847891
88
(all),(all),Vega,-186821.023493,-133518.324441,123784.324441,177087.023493
99
PF2,(all),Vega,-186821.023493,-133518.324441,123784.324441,177087.023493
1010
(all),InterestRate,(all),-37044510.252175,-26255557.703812,25824845.703812,36613798.252175
1111
PF1,InterestRate,(all),-36286970.228997,-25662864.686621,25621789.686621,36245895.228997
12-
PF2,InterestRate,(all),-6554936.762631,-4691765.708860,4302128.708861,6165299.762631
12+
PF2,InterestRate,(all),-6554936.762631,-4691765.708860,4302128.708860,6165299.762631
1313
(all),InterestRate,DeltaGamma,-37039004.674983,-26250169.181150,25829669.181150,36618504.674983
1414
PF1,InterestRate,DeltaGamma,-36286970.228997,-25662864.686621,25621789.686621,36245895.228997
1515
PF2,InterestRate,DeltaGamma,-6547516.546540,-4685023.433061,4305598.433061,6168091.546540
@@ -31,11 +31,11 @@ PF1,Equity,DeltaGamma,-324115.056396,-229166.854769,229166.854769,324115.056396
3131
PF2,Equity,DeltaGamma,-324019.443256,-229073.471869,229249.471869,324195.443256
3232
(all),Equity,Vega,-689.090258,-486.638148,490.638148,693.090258
3333
PF2,Equity,Vega,-689.090258,-486.638148,490.638148,693.090258
34-
(all),FX,(all),-35377760.129718,-25011880.196187,25026268.196187,35392148.129718
34+
(all),FX,(all),-35376141.960970,-25010736.063463,25025124.063463,35390529.960970
3535
PF1,FX,(all),-35425700.127330,-25047883.817749,25047883.817749,35425700.127330
36-
PF2,FX,(all),-69381.369396,-46948.923048,61336.923048,83769.369396
37-
(all),FX,DeltaGamma,-35377945.204099,-25012080.481969,25025994.481969,35391859.204099
36+
PF2,FX,(all),-70255.801245,-47567.193606,61955.193606,84643.801245
37+
(all),FX,DeltaGamma,-35376327.032976,-25010936.347566,25024850.347566,35390241.032976
3838
PF1,FX,DeltaGamma,-35425700.127330,-25047883.817749,25047883.817749,35425700.127330
39-
PF2,FX,DeltaGamma,-39829.948999,-26123.900547,40037.900547,53743.948999
39+
PF2,FX,DeltaGamma,-41247.803822,-27126.400504,41040.400504,55161.803822
4040
(all),FX,Vega,-60382.869692,-42624.522782,43098.522782,60856.869692
4141
PF2,FX,Vega,-60382.869692,-42624.522782,43098.522782,60856.869692

Examples/Example_15/Input/ore.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Parameter name="curveConfigFile">../../Input/curveconfig.xml</Parameter>
1313
<Parameter name="conventionsFile">../../Input/conventions.xml</Parameter>
1414
<Parameter name="marketConfigFile">../../Input/todaysmarket.xml</Parameter>
15-
<Parameter name="pricingEnginesFile">../../Input/pricingengine.xml</Parameter>
15+
<Parameter name="pricingEnginesFile">pricingengine.xml</Parameter>
1616
<Parameter name="portfolioFile">portfolio.xml</Parameter>
1717
<Parameter name="observationModel">None</Parameter>
1818
</Setup>

Examples/Example_15/Input/ore_var.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Parameter name="curveConfigFile">../../Input/curveconfig.xml</Parameter>
1313
<Parameter name="conventionsFile">../../Input/conventions.xml</Parameter>
1414
<Parameter name="marketConfigFile">../../Input/todaysmarket.xml</Parameter>
15-
<Parameter name="pricingEnginesFile">../../Input/pricingengine.xml</Parameter>
15+
<Parameter name="pricingEnginesFile">Input/pricingengine.xml</Parameter>
1616
<Parameter name="portfolioFile">portfolio.xml</Parameter>
1717
<Parameter name="observationModel">None</Parameter>
1818
</Setup>

0 commit comments

Comments
 (0)