From 8014d1471920f124ed9502d67cedc64af8f2fc9d Mon Sep 17 00:00:00 2001 From: Petr Doubek Date: Tue, 5 Dec 2023 13:55:08 +0100 Subject: [PATCH] crossmargining example --- .../estimator_crossmargining_etd_otc.json | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 examples/json/estimator_crossmargining_etd_otc.json diff --git a/examples/json/estimator_crossmargining_etd_otc.json b/examples/json/estimator_crossmargining_etd_otc.json new file mode 100644 index 0000000..88c9822 --- /dev/null +++ b/examples/json/estimator_crossmargining_etd_otc.json @@ -0,0 +1,22 @@ +{ + "is_cross_margined": true, + "portfolio_components": [ + { + "type": "otc_csv", + "otc_csv": { + "csv" : "internalTradeID,tradeType,currency,payEffectiveDate,rcvEffectiveDate,terminationDate,legType,legSpread,legIndex,interestFixedAmount,notional,paymentPeriod,periodStartVNS,compounding,compoundingIndexPeriod,stub,firstRate,firstInterpolationTenor,secondInterpolationTenor,dayCountMethod,businessDayConvention,paymentCalendar,adjustment,rollMethod,legType,legSpread,legIndex,interestFixedAmount,notional,paymentPeriod,periodStartVNS,compounding,compoundingIndexPeriod,stub,firstRate,firstInterpolationTenor,secondInterpolationTenor,dayCountMethod,businessDayConvention,paymentCalendar,adjustment,rollMethod\n1,IRS,EUR,20/12/2018,20/12/2018,20/08/2039,fixedLeg,,,,10000000,,,,,,,,,ACT/360,MODFOLLOWING,EUTA,ADJUSTED,Standard,floatingLeg,2.9,,,10000000,,,,,,,,,ACT/360,MODFOLLOWING,EUTA,ADJUSTED,Standard" + } + }, + { + "type": "etd_portfolio", + "etd_portfolio": [ + { + "line_no": 1, + "product_id": "FEU3", + "contract_date": 20290917, + "net_ls_balance": 500 + } + ] + } + ] +} \ No newline at end of file