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. Allowed values are as follows:
Allowed values | Explanation | Example value | Default value (if missing) |
|---|---|---|---|
| Returns the |
| The unknown instrument, |
| Returns the |
| |
| Returns the |
| |
| Returns the |
| |
A transaction property | Returns the value of a property (custom, system or derived) added to a transaction using its 3-stage key, for example The property must either use the built-in |
|
currency
Mandatory. Identifies the currency.
Allowed values | Explanation | Example value | Default value (if missing) |
|---|---|---|---|
| Returns the |
| The unknown currency, |
| Returns the |
| |
| Returns the |
| |
A transaction property | Returns the value of a property (custom, system or derived) added to a transaction using its 3-stage key, 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.
Allowed values | Explanation | Example value | Default value (if missing) |
|---|---|---|---|
| Returns the value of 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) added to a transaction using its 3-stage key, 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.
Allowed values | Explanation | Example value | Default value (if missing) |
|---|---|---|---|
| Returns the |
|
|
| Returns the | ||
| This is a calculated field representing the total value (after fees) of a transaction in the trade currency:
Note the calculated value has the same sign as the | ||
| This is the same as | ||
| Returns the value of the | ||
| This is a calculated field representing the gross amount (before fees) of a transaction in the trade currency. The value of the | ||
| Returns the value of the | ||
| This is a calculated field representing total consideration minus bond interest, where the latter is the value of the | ||
| This is a calculated field representing bond interest converted to the portfolio's base currency, where the former is the value of the | ||
| Returns the | ||
A transaction property | Returns the value of a property (custom, system or derived) added to a transaction using its 3-stage key, for example The property must either use the built-in | ||
A constant value | For example, |
notionalAmount
Optional. Determines the notional value. Future and ContractForDifference instruments only.
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. However, it can accept any of the other allowed values for the units and amount fields, above. The default value is 0.
currentFace
Optional. Determines the outstanding notional of a holding. MBS only (modelled as asset-backed ComplexBond instrument).
Allowed values | Explanation | Example value | Default value (if missing) |
|---|---|---|---|
| Returns the |
|
|
| Returns the | ||
| Returns the | ||
A transaction property | Returns the value of a property (custom, system or derived) added to a transaction using its 3-stage key, for example The property must either use the built-in | ||
A constant value | A parsable numeric value, for example |