Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into ebataller_Portfol…
Browse files Browse the repository at this point in the history
…ioRebalancing-CDM_merge
  • Loading branch information
davidalk committed Nov 20, 2023
2 parents 77dbc52 + 135dc09 commit 109ec53
Show file tree
Hide file tree
Showing 29 changed files with 6,058 additions and 22 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@

<repoServerHost>oss.sonatype.org</repoServerHost>

<rosetta.bundle.version>9.0.0</rosetta.bundle.version>
<rosetta.bundle.version>9.1.0</rosetta.bundle.version>
<rosetta.code-gen.version>${rosetta.bundle.version}</rosetta.code-gen.version>
<rosetta.dsl.version>9.0.0</rosetta.dsl.version>
<rosetta.dsl.version>9.0.3</rosetta.dsl.version>

<xtext.version>2.27.0</xtext.version>
<opengamma.strata.version>1.7.0</opengamma.strata.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,45 @@
"markDownFile": "cdm-sample-files/functions/repo-and-bond/shaping.md",
"executableFunctionClass": "cdm.event.common.functions.Create_BusinessEvent",
"nativeFunction": true
},
{
"group": "repo-and-bond",
"name": "Partial Delivery",
"description": "Partial Delivery",
"inputFile": "cdm-sample-files/functions/repo-and-bond/partial-delivery-input.json",
"expectedOutputFile": "cdm-sample-files/functions/repo-and-bond/partial-delivery-output.json",
"markDownFile": "cdm-sample-files/functions/repo-and-bond/partial-delivery.md",
"executableFunctionClass": "cdm.event.common.functions.Create_BusinessEvent",
"nativeFunction": true
},
{
"group": "repo-and-bond",
"name": "Reprice",
"description": "Reprice",
"inputFile": "cdm-sample-files/functions/repo-and-bond/repo-reprice-input.json",
"expectedOutputFile": "cdm-sample-files/functions/repo-and-bond/repo-reprice-output.json",
"markDownFile": "cdm-sample-files/functions/repo-and-bond/repo-reprice.md",
"executableFunctionClass": "cdm.event.common.functions.Create_BusinessEvent",
"nativeFunction": true
},
{
"group": "repo-and-bond",
"name": "Adjustment",
"description": "Adjustment",
"inputFile": "cdm-sample-files/functions/repo-and-bond/repo-adjustment-input.json",
"expectedOutputFile": "cdm-sample-files/functions/repo-and-bond/repo-adjustment-output.json",
"markDownFile": "cdm-sample-files/functions/repo-and-bond/repo-adjustment.md",
"executableFunctionClass": "cdm.event.common.functions.Create_BusinessEvent",
"nativeFunction": true
},
{
"group": "repo-and-bond",
"name": "Substitution",
"description": "Substitution",
"inputFile": "cdm-sample-files/functions/repo-and-bond/repo-substitution-input.json",
"expectedOutputFile": "cdm-sample-files/functions/repo-and-bond/repo-substitution-output.json",
"markDownFile": "cdm-sample-files/functions/repo-and-bond/repo-substitution.md",
"executableFunctionClass": "cdm.event.common.functions.Create_BusinessEvent",
"nativeFunction": true
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
[
{
"meta": {
"globalKey": "b0764d1a"
},
"price": [
{
"meta": {},
"value": {
"unit": {
"currency": {
"value": "GBP"
}
},
"value": 0.004,
"perUnitOf": {
"currency": {
"value": "GBP"
}
},
"priceType": "INTEREST_RATE"
}
}
],
"quantity": [
{
"meta": {},
"value": {
"unit": {
"currency": {
"value": "GBP"
}
},
"value": 7480687.5
}
}
]
},
{
"meta": {
"globalKey": "f6e7e886"
},
"observable": {
"meta": {
"globalKey": "1ad6d034"
},
"productIdentifier": [
{
"value": {
"identifier": {
"value": "GB00B24FF097"
},
"meta": {
"globalKey": "1ad6d034"
},
"source": "ISIN"
}
}
]
},
"price": [
{
"value": {
"unit": {
"currency": {
"value": "GBP"
}
},
"value": 1.0075,
"perUnitOf": {
"currency": {
"value": "GBP"
}
},
"priceType": "ASSET_PRICE",
"priceExpression": "PERCENTAGE_OF_NOTIONAL"
}
}
],
"quantity": [
{
"value": {
"unit": {
"currency": {
"value": "GBP"
}
},
"value": 7500000
}
}
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"adjustableDate": {
"unadjustedDate": "2021-03-22"
},
"meta": {
"externalKey": "RepurchaseDate"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"instruction":[{"primitiveInstruction":{"split":{"breakdown":[{"quantityChange":{"change":[{"price":[{"value":{"value":0.004,"unit":{"currency":{"value":"GBP"}},"perUnitOf":{"currency":{"value":"GBP"}},"priceType":"InterestRate"}}],"quantity":[{"value":{"value":7480687.5,"unit":{"currency":{"value":"GBP"}}}}],"meta":{"globalKey":"4aa57f6d"}},{"price":[{"value":{"value":1.0075,"unit":{"currency":{"value":"GBP"}},"perUnitOf":{"currency":{"value":"GBP"}},"priceType":"AssetPrice","priceExpression":"PercentageOfNotional"}}],"quantity":[{"value":{"value":7500000,"unit":{"currency":{"value":"GBP"}}}}],"observable":{"productIdentifier":[{"value":{"identifier":{"value":"GB00B24FF097"},"source":"ISIN","meta":{"globalKey":"1ad6d034"}}}],"meta":{"globalKey":"1ad6d034"}},"meta":{"globalKey":"769fa9"}}],"direction":"Replace"}}]}},"before":{"value":{"trade":{"tradeIdentifier":[{"issuer":{"value":"KTKLLEILLLLLLLLLLLLL"},"assignedIdentifier":[{"identifier":{"value":"KTKLLEILLLLLLLLLLLLL-FISG1G1LENDFP0028303002","meta":{"scheme":"UnqTradIdr"}}}],"meta":{"globalKey":"32cd87f2"}}],"tradeDate":{"value":"2021-03-18","meta":{"globalKey":"3f28d2"}},"tradableProduct":{"product":{"contractualProduct":{"productTaxonomy":[{"source":"CFI","value":{"name":{"value":"LRSTXD"}}}],"economicTerms":{"effectiveDate":{"adjustableDate":{"unadjustedDate":"2021-03-19","meta":{"globalKey":"3f28d3"}},"meta":{"globalKey":"3f28d3","externalKey":"PurchaseDate"}},"terminationDate":{"adjustableDate":{"unadjustedDate":"2021-03-22","meta":{"globalKey":"3f28d6"}},"meta":{"globalKey":"3f28d6","externalKey":"RepurchaseDate"}},"payout":{"interestRatePayout":[{"payerReceiver":{"payer":"Party1","receiver":"Party2"},"priceQuantity":{"quantitySchedule":{"address":{"scope":"DOCUMENT","value":"quantity-1"}},"meta":{"globalKey":"0"}},"principalPayment":{"initialPayment":true,"finalPayment":true,"intermediatePayment":false,"meta":{"globalKey":"12a6f5"}},"rateSpecification":{"fixedRate":{"rateSchedule":{"price":{"address":{"scope":"DOCUMENT","value":"price-1"}}},"meta":{"globalKey":"0"}}},"dayCountFraction":{"value":"ACT/360"},"meta":{"globalKey":"69ca64cc"}}],"meta":{"globalKey":"69ca64cc"}},"collateral":{"collateralPortfolio":[{"value":{"collateralPosition":[{"product":{"contractualProduct":{"economicTerms":{"payout":{"assetPayout":[{"payerReceiver":{"payer":"Party1","receiver":"Party2"},"priceQuantity":{"quantitySchedule":{"address":{"scope":"DOCUMENT","value":"quantity-2"}},"meta":{"globalKey":"0"}},"principalPayment":{"initialPayment":true,"finalPayment":true,"intermediatePayment":false,"meta":{"globalKey":"12a6f5"}},"assetLeg":[{"settlementDate":{"relativeDate":{"periodMultiplier":0,"period":"D","meta":{"globalKey":"71834796"},"businessDayConvention":"NotApplicable","dateRelativeTo":{"globalReference":"3f28d3","externalReference":"PurchaseDate"}},"meta":{"globalKey":"71834796"}},"deliveryMethod":"DeliveryVersusPayment"},{"settlementDate":{"relativeDate":{"periodMultiplier":0,"period":"D","meta":{"globalKey":"da741949"},"businessDayConvention":"NotApplicable","dateRelativeTo":{"globalReference":"3f28d6","externalReference":"RepurchaseDate"}},"meta":{"globalKey":"da741949"}},"deliveryMethod":"DeliveryVersusPayment"}],"securityInformation":{"security":{"productIdentifier":[{"value":{"identifier":{"value":"GB00B24FF097"},"source":"ISIN","meta":{"globalKey":"1ad6d034"}}}],"securityType":"Debt"},"meta":{"globalKey":"40232adf"}},"durationType":{"durationType":"Term"},"meta":{"globalKey":"12a4a1fe"}}],"meta":{"globalKey":"12a4a1fe"}}},"meta":{"globalKey":"12a4a1fe"}},"meta":{"globalKey":"12a4a1fe"}}}],"meta":{"globalKey":"12a4a1fe"}}}],"collateralProvisions":{"collateralType":"Cash","eligibleCollateral":[{"treatment":{"valuationTreatment":{"marginPercentage":0.99}}}]},"meta":{"globalKey":"ff69d2cf"}}},"meta":{"globalKey":"d4f3b9f9"}},"meta":{"globalKey":"d4f3b9f9"}},"tradeLot":[{"priceQuantity":[{"price":[{"value":{"value":0.004,"unit":{"currency":{"value":"GBP"}},"perUnitOf":{"currency":{"value":"GBP"}},"priceType":"InterestRate"},"meta":{"location":[{"scope":"DOCUMENT","value":"price-1"}]}}],"quantity":[{"value":{"value":9974250,"unit":{"currency":{"value":"GBP"}}},"meta":{"location":[{"scope":"DOCUMENT","value":"quantity-1"}]}}],"meta":{"globalKey":"ae7919fa"}},{"price":[{"value":{"value":1.0075,"unit":{"currency":{"value":"GBP"}},"perUnitOf":{"currency":{"value":"GBP"}},"priceType":"AssetPrice","priceExpression":"PercentageOfNotional"},"meta":{"location":[{"scope":"DOCUMENT","value":"price-2"}]}}],"quantity":[{"value":{"value":10000000,"unit":{"currency":{"value":"GBP"}}},"meta":{"location":[{"scope":"DOCUMENT","value":"quantity-2"}]}}],"observable":{"productIdentifier":[{"value":{"identifier":{"value":"GB00B24FF097"},"source":"ISIN","meta":{"globalKey":"1ad6d034"}}}],"meta":{"globalKey":"1ad6d034"}},"meta":{"globalKey":"a8870d90"}}]}],"counterparty":[{"role":"Party1","partyReference":{"value":{"name":{"value":"GlobalBankInc"},"meta":{"globalKey":"296093b7","externalKey":"GlobalBank"}}}},{"role":"Party2","partyReference":{"value":{"name":{"value":"UKBankplc"},"meta":{"globalKey":"1ef4886d","externalKey":"UkBank"}}}}]},"party":[{"name":{"value":"GlobalBankInc"},"meta":{"globalKey":"296093b7","externalKey":"GlobalBank"}},{"name":{"value":"UKBankplc"},"meta":{"globalKey":"1ef4886d","externalKey":"UkBank"}}],"partyRole":[{"partyReference":{"globalReference":"296093b7","externalReference":"GlobalBank"},"role":"Seller"},{"partyReference":{"globalReference":"1ef4886d","externalReference":"UkBank"},"role":"Buyer"}],"meta":{"globalKey":"1f8ec799"}},"state":{"positionState":"Formed"},"meta":{"globalKey":"f2ee31bc"}}}}],"intent":null,"eventDate":"2021-03-22","effectiveDate":"2021-03-22"}
Loading

0 comments on commit 109ec53

Please sign in to comment.