Commit 0d6e3d01 authored by Vijayesh Chandel's avatar Vijayesh Chandel

syncing with workspace from studio [potentially affected 10 entities]

parent 1dd1c0bb
{
"classifierPath" : "meta::pure::metamodel::diagram::Diagram",
"content" : {
"_type" : "diagram",
"classViews" : [ {
"class" : "cdm::model::OptionExercise",
"id" : "96398215-4496-44ca-a9bb-0b562757eb9d",
"position" : {
"x" : 385.00000381469727,
"y" : 287.93408203125
},
"rectangle" : {
"height" : 100,
"width" : 252.35888671875
}
}, {
"class" : "cdm::model::OptionStrike",
"id" : "41f5e0b0-8097-4f7c-bf66-e00a045d0c01",
"position" : {
"x" : 365.00000381469727,
"y" : 433.9132080078125
},
"rectangle" : {
"height" : 142,
"width" : 294.076171875
}
}, {
"class" : "cdm::model::OptionFeature",
"id" : "9b2148a6-04b9-4483-879f-5e3ee52b338b",
"position" : {
"x" : -131.99999618530273,
"y" : 437.93060302734375
},
"rectangle" : {
"height" : 128,
"width" : 287.34619140625
}
}, {
"class" : "cdm::model::FxRateObservable",
"id" : "9dc174be-17ef-4793-9a7d-4932e6a66de2",
"position" : {
"x" : 138.00000381469727,
"y" : 829.15283203125
},
"rectangle" : {
"height" : 86,
"width" : 293.2275390625
}
}, {
"class" : "cdm::model::AveragingObservation",
"id" : "13aba6d8-1f13-4a34-93ab-02d37bc8b22b",
"position" : {
"x" : 123.00000381469727,
"y" : 663.888916015625
},
"rectangle" : {
"height" : 100,
"width" : 320.89404296875
}
} ],
"generalizationViews" : [ {
"line" : {
"points" : [ {
"x" : 284.61377334594727,
"y" : 872.15283203125
}, {
"x" : 283.44702529907227,
"y" : 713.888916015625
} ]
},
"sourceView" : "9dc174be-17ef-4793-9a7d-4932e6a66de2",
"targetView" : "13aba6d8-1f13-4a34-93ab-02d37bc8b22b"
} ],
"name" : "AveragingModelDiagram",
"package" : "cdm",
"propertyViews" : [ {
"line" : {
"points" : [ {
"x" : 511.17944717407227,
"y" : 337.93408203125
}, {
"x" : 512.0380897521973,
"y" : 504.9132080078125
} ]
},
"property" : {
"class" : "cdm::model::OptionExercise",
"property" : "strike"
},
"sourceView" : "96398215-4496-44ca-a9bb-0b562757eb9d",
"targetView" : "41f5e0b0-8097-4f7c-bf66-e00a045d0c01"
}, {
"line" : {
"points" : [ {
"x" : 478,
"y" : 489
}, {
"x" : 477,
"y" : 711
}, {
"x" : 283.44702529907227,
"y" : 713.888916015625
} ]
},
"property" : {
"class" : "cdm::model::OptionStrike",
"property" : "averagingStrikeFeature"
},
"sourceView" : "41f5e0b0-8097-4f7c-bf66-e00a045d0c01",
"targetView" : "13aba6d8-1f13-4a34-93ab-02d37bc8b22b"
}, {
"line" : {
"points" : [ {
"x" : 68,
"y" : 486
}, {
"x" : 68,
"y" : 712
}, {
"x" : 283.44702529907227,
"y" : 713.888916015625
} ]
},
"property" : {
"class" : "cdm::model::OptionFeature",
"property" : "averagingRateFeature"
},
"sourceView" : "9b2148a6-04b9-4483-879f-5e3ee52b338b",
"targetView" : "13aba6d8-1f13-4a34-93ab-02d37bc8b22b"
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::text::Text",
"content" : {
"_type" : "text",
"content" : "OptionStrike - the definition of Price property is credit specific.\r\nAverageRateFeature - naming of property\r\n\r\nPlaceholder - function to evaluate weights for parametric dates required in ObservationDates class. ISDA to review CDM feasibility for such functions.\r\nPlaceholder - for refactoring FxRateObservable in future. Provisions within FxDisruption FpML class (within FxSingleLeg) to be reviewed so to design a harmonized FxRateObservable that can be re-used.",
"name" : "AveragingModelNotes",
"package" : "cdm",
"type" : "plainText"
}
}
\ No newline at end of file
......@@ -853,7 +853,7 @@
},
"property" : {
"class" : "cdm::model::OptionFeature",
"property" : "asian"
"property" : "averagingRateFeature"
},
"sourceView" : "a4a5b184-f139-4d56-b5c2-fee798bbffd7",
"targetView" : "7643c9ec-eb7a-4a56-bafe-f50d2f8469a9"
......
{
"classifierPath" : "meta::pure::metamodel::type::Enumeration",
"content" : {
"_type" : "Enumeration",
"name" : "AveragingCalculationMethodEnum",
"package" : "cdm::model",
"values" : [ {
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The sum of observations divided by the count of observations."
} ],
"value" : "Arithmetic"
}, {
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The nth root of the product of n observations."
} ],
"value" : "Geometric"
}, {
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The reciprocal of the arithemetic mean of the reciprocals of the observations."
} ],
"value" : "Harmonic"
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::type::Class",
"content" : {
"_type" : "class",
"name" : "AveragingObservation",
"package" : "cdm::model",
"properties" : [ {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "calculationMethod",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The enumeration values to specify the type of averaging calculation."
} ],
"type" : "cdm::model::AveragingCalculationMethodEnum"
}, {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "precision",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies the rounding precision in terms of a number of decimal places."
} ],
"type" : "cdm::model::Rounding"
}, {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "observationTime",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies the time at which a market observation will take place."
} ],
"type" : "cdm::model::BusinessCenterTime"
}, {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "observationDates",
"type" : "cdm::model::ObservationDates"
} ],
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "A class defining parameters associated with averaged properties."
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::type::Class",
"content" : {
"_type" : "class",
"name" : "FxRateObservable",
"package" : "cdm::model",
"properties" : [ {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "quotedCurrencyPair",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "A class that describes the composition of a rate that has been quoted or is to be quoted."
} ],
"type" : "cdm::model::QuotedCurrencyPair"
}, {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "primaryFxSpotRateSource",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The primary source for where the rate observation will occur."
} ],
"type" : "cdm::model::InformationSource"
}, {
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "secondaryFxSpotRateSource",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "An alternative, or secondary, source for where the rate observation will occur."
} ],
"type" : "cdm::model::InformationSource"
} ],
"superTypes" : [ "cdm::model::AveragingObservation" ],
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "A class defining FX specific parameters when observing market rates."
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::type::Class",
"content" : {
"_type" : "class",
"constraints" : [ {
"functionDefinition" : {
"_type" : "lambda",
"body" : [ {
"_type" : "boolean",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ true ]
} ],
"parameters" : [ ]
},
"name" : "[Placeholder for function to evaluate weights for parametric dates]"
} ],
"name" : "ObservationDates",
"package" : "cdm::model",
"properties" : [ {
"multiplicity" : {
"lowerBound" : 0
},
"name" : "observationSchedule",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies the non-parametric schedule of observations."
} ],
"type" : "cdm::model::ObservationSchedule"
}, {
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "parametricSchedule",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies the parametric schedule of observations."
} ],
"type" : "cdm::model::PeriodicDates"
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::type::Class",
"content" : {
"_type" : "class",
"constraints" : [ {
"functionDefinition" : {
"_type" : "lambda",
"body" : [ {
"_type" : "func",
"function" : "if",
"parameters" : [ {
"_type" : "func",
"function" : "isNotEmpty",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "this"
} ],
"property" : "observationNumber"
} ]
}, {
"_type" : "lambda",
"body" : [ {
"_type" : "func",
"function" : "greaterThanEqual",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "this"
} ],
"property" : "observationNumber"
}, {
"_type" : "integer",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ 0 ]
} ]
} ],
"parameters" : [ ]
}, {
"_type" : "lambda",
"body" : [ {
"_type" : "boolean",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ true ]
} ],
"parameters" : [ ]
} ]
} ],
"parameters" : [ ]
},
"name" : "WeightedAveragingObservation_observationNumber"
} ],
"name" : "ObservationSchedule",
"package" : "cdm::model",
"properties" : [ {
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "date",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies adjusted and/or unadjusted dates for each observation."
} ],
"type" : "cdm::model::AdjustableOrAdjustedDate"
}, {
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "weight",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Specifies the degree of importance of each observation."
} ],
"type" : "Float"
}, {
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "observationNumber",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Reference for an observation."
} ],
"type" : "Integer"
} ]
}
}
\ No newline at end of file
......@@ -37,15 +37,15 @@
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "asian",
"name" : "averagingRateFeature",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "An option where and average price is taken on valuation."
"value" : "An option where an average price is taken on valuation."
} ],
"type" : "cdm::model::Asian"
"type" : "cdm::model::AveragingObservation"
}, {
"multiplicity" : {
"lowerBound" : 0,
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment