Skip to content

7.0.0-dev.95

Latest

Choose a tag to compare

@regnosys-ops regnosys-ops released this 27 Feb 16:51
· 5 commits to master since this release
98873d8

Asset Model - Aligning AssetType with Asset and Security

Background

There is inconsistency in how asset type, instrument, and security types are modelled. This release seeks to restructure the types and enums so they are harmonised.

What is being released?

  • Renaming InstrumentTypeEnum to SecurityTypeEnum
  • Adding SecurityTypeEnum as an attribute under Security and removing it from InstrumentBase
  • Removing ListedDerivative and LetterOfCredit from SecurityTypeEnum and adding them to AssetTypeEnum
  • Adding Loan to AssetTypeEnum to further align it with the asset and instrument model
  • Adding AssetTypeEnum to AssetBase
  • Adding conditions on each of the types to enforce the correct asset type selection

Review Directions

Changes can be reviewed in PR: #4434