-
Notifications
You must be signed in to change notification settings - Fork 100
Labels
backward-incompatibleLikely to be backward-incompatible; must be on Steering WG roadmap; 2 maintainers to approveLikely to be backward-incompatible; must be on Steering WG roadmap; 2 maintainers to approve
Milestone
Description
Background
When a new Asset type was created in v6 there were four types of assets created Cash, Commodity, DigitalAsset and Instrument. Cash, Commodity, DigitalAsset all have Asset base as an attribute where as Instrument has three attributes, ListedDerivative, Loan and Security. Each of these types also has the attribute InstrumentBase. Under InstrumentBase there is the attribute AssetBase and the attribute InstrumentType which again has the attribute ListedDerivative.
So the questions that arise are:
- What is the meaning of Instrument->ListedDerivative->InstrumentType->ListedDerivative?
- What is the difference between Instrument->ListedDerivative->InstrumentType->ListedDerivative and Instrument->Security->InstrumentType->ListedDerivative.
- Under ListedDerivative there are only three attributes deliveryTerm, optionType and strike. Thus implying LIstedDerivatives are either futures or simple options but missing many other parameters.
Proposal
As a starting point here are three proposals:
- AssetBase should be moved to the AssetType level instead of InstrumentBase.
- InstrumentTypes should be specific to the type of Instrument so that ListedDerivative, Loan and Security have mutually exclusive types to eliminate ambiguity at the of type of Instrument.
- Remove Listed from the name of ListedDerivative as it's possible to have Transferable derivatives that are not listed.
Compatibility
This would be a breaking change to v6 and thus would go into v7.
Metadata
Metadata
Assignees
Labels
backward-incompatibleLikely to be backward-incompatible; must be on Steering WG roadmap; 2 maintainers to approveLikely to be backward-incompatible; must be on Steering WG roadmap; 2 maintainers to approve
Type
Projects
Status
Approved
Status
Approved