A side is a plug-and-play component of a movement, which itself is a component of a transaction type.
A side determines which holding is impacted by all the transactions belonging to that transaction type, and which transaction attributes (built-in data fields, properties or calculated fields) are used to update the quantity and/or cost of the holding.
Note the following:
LUSID provides a set of built-in sides which you can use as-is or modify. Alternatively, you can create your own custom sides.
The same side can be used in movements belonging to multiple transaction types.
A side is domiciled in a scope and can only ultimately belong to transaction types domiciled in the same scope.
A side has a set of mandatory and optional data fields. See below for allowed and default values.
security
Mandatory. Identifies the underlying instrument, whether security or currency.
This field is a string that expects to resolve to an instrument or currency LUID. The default value is the unknown instrument: LUID_ZZZZZZZZ
Allowed values | Explanation | Example value |
|---|---|---|
| Returns the |
|
| Returns the |
|
| Returns the |
|
| Returns the |
|
A transaction property | Returns the value of a property (custom, system or derived) explicitly added to a transaction, for example The property must either use the built-in |
|
currency
Mandatory. Identifies the currency.
This field is a string that expects to resolve to either a currency LUID or an ISO 4217 currency code. The default value is the unknown currency: CCY_ZZZ
Allowed values | Explanation | Example value |
|---|---|---|
| Returns the |
|
| Returns the |
|
| Returns the |
|
A transaction property | Returns the value of a property (custom, system or derived) explicitly added to a transaction, for example The property must either use the built-in |
|
rate
Mandatory. Fixes the exchange rate between the currency and the portfolio's base currency, if different.
This field is a string that expects to resolve to a parsable numeric value. The default value is 0.
Allowed values | Explanation |
|---|---|
| Returns the |
| This is a calculated field representing the rate from the settlement currency to the portfolio currency. It is calculated as |
A transaction property | Returns the value of a property (custom, system or derived) explicitly added to a transaction, for example The property must either use the built-in |
A constant value | For example, |
units, amount
Mandatory. Determines the number of units and their value respectively. The allowed values for both fields are the same. More on calculated amounts.
These fields are strings that expect to resolve to parsable numeric values. The default value (if missing) is 0.
Allowed values | Explanation |
|---|---|
| Returns the |
| Returns the transaction amount before fees, a calculation by LUSID that cannot be set explicitly. See how this is calculated. |
| Returns the transaction amount after fees, a calculation by LUSID that cannot be set explicitly. See how this is calculated. |
| Returns the |
| Returns the |
| Returns |
| Returns the |
| Returns |
| Returns |
| Returns the |
A transaction property | Returns the value of a property (custom, system or derived) explicitly added to a transaction, for example The property must either use the built-in |
A constant value | For example, |
notionalAmount
Optional for Future and ContractForDifference instruments only. Determines the notional value. More information.
Typical behaviour is to configure this field to use Txn:NotionalAmount, which returns the value of the Transaction/default/NotionalAmount system property added to a transaction or calculated automatically. However, it can accept any of the other allowed values for the units and amount fields, above.
This field is a string that expects to resolve to a parsable numeric value. The default value (if missing) is 0.
currentFace
Optional for MBS instruments only (modelled as asset-backed ComplexBond). Determines the outstanding notional of a holding. More information.
This field is a string that expects to resolve to a parsable numeric value. The default value (if missing) is 0.
Allowed values | Explanation |
|---|---|
| Returns the |
| Returns the |
| Returns the |
A transaction property | Returns the value of a property (custom, system or derived) explicitly added to a transaction, for example The property must either use the built-in |
A constant value | A parsable numeric value, for example |