7.0.0-dev.58
Observable - Addition of price sub types
Background
The PriceSchedule offers a priceType which can be used to specify what type of price this is e.g. InterestRate, AssetPrice. In certain scenarios more granularity is required.
For example, when defining a price as an "InterestRate" on a securities lending trade, we need to be able to further identify if this is a lending fee or a rebate rate.
What is being released?
The key changes are:
- A new
PriceSubTypeEnumhas been created that holds the same options asCashPriceTypeEnumbut with the addition of the "Rebate" option. - A new optional attribute
priceSubTypeof typePriceSubTypeEnumhas been added toPriceSchedule - The
PriceSchedule -> cashPriceattribute has been removed as it is not required in the context of aPriceSchedule. - The
premiumTypeattribute, previously undercashPrice -> premiumExpression, has been added directly underPriceSchedule. - The functions that create new
Priceitems have been updated to removecashPriceand includepriceSubType - The functions updated were:
- Create_StockSplit
- Create_OnDemandRateChangePriceChangeInstruction
- Create_RepricePrimitiveInstruction
- Create_AdjustmentPrimitiveInstruction
- ResolveEquityInitialPrice
- The Ingest functions have been updated to reflect the changes too.
Note that the existing CashPrice and CashPriceTypeEnum are still used by transfers. They will remain in the model for now and their usage will be reviewed further in #4195
Extensive analysis and review was performed in order to define these changes. For full details please refer to the Issue #3871
Review Directions
Changes can be reviewed in PR: #4218