LUSID gives every instrument an asset class, such as Equities, Credit or InterestRates.
Because LUSID works out the asset class for you, you can group and filter holdings, choose market data suppliers and write compliance rules by asset class from day one, without first implementing your own classification.
How LUSID decides the asset class
For most instrument types, the asset class is fixed by the type. Every Bond is Credit, and every FxForward is FX. You cannot change it.
A few instrument types can represent more than one kind of asset, so LUSID takes the asset class from somewhere else:
From a field you set. A
Futurecontract can be on a bond, an interest rate, an equity index, a currency or a commodity, and LUSID cannot tell which from the contract alone. You state it in thecontractDetails.assetClassfield. ASimpleInstrumentworks the same way, through its requiredassetClassfield.From the underlying instrument. A
BondForward,BondOption,ToBeAnnouncedOptionorExchangeTradedOptiontakes the asset class of the instrument it is written on.
If LUSID cannot work out an asset class, it uses Unknown.
Note: If you want to classify instruments in your own way, for example to split
Creditinto government and corporate, add a custom property to your instruments, for exampleInstrument/MyScope/AssetClass. You cannot change the asset class LUSID assigns.
Asset classes by instrument type
Asset class | Instrument types |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instrument types whose asset class varies
Instrument type | Where the asset class comes from | If not set |
|---|---|---|
| The |
|
| The | Not applicable |
| The instrument in |
|
| The underlying bond: | |
| The underlying | |
| The instrument it resolves to. |
|
Where you can use the asset class
Instrument responses. Every instrument returned by the
GetInstrumentandListInstrumentsAPIs carries a read-onlyassetClassfield.Filtering instruments. You can filter on asset class when listing instruments, for example
AssetClass eq 'Equities'.Choosing market data. In a recipe, a market data rule's
dependencySourceFilter.assetClasslimits the rule to instruments of one asset class. See overriding market data rules for particular instruments.Valuation and derived properties. The
Instrument/AssetClassmetric returns the asset class in valuation reports and in derivation formulas.Compliance. Compliance rules can test the
Instrument/default/AssetClassfield.