Skip to content

Commit

Permalink
crossmargining example
Browse files Browse the repository at this point in the history
  • Loading branch information
doubpet committed Dec 5, 2023
1 parent d08773a commit 8014d14
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/json/estimator_crossmargining_etd_otc.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
]
}

0 comments on commit 8014d14

Please sign in to comment.