A calculation is an optional component of a transaction type that triggers additional functionality for all transactions belonging to that type.
A calculation:
Must have a
type
that triggers a particular function.Can have a
side
to pass extra information to the function.Can have a
formula
that drives the function.
Note: The result of a calculation can be examined on an output transaction.
Calculation | Requires | Requires | Functionality and syntax example |
| Yes | No | Calculates a tax amount due. Note this is ignored for a particular transaction if no tax rule can be found to apply. More information.
|
| No | No | Looks up an exchange rate from the transaction to the portfolio currency for the transaction date in the LUSID Quote Store. Note this is ignored for a particular transaction if the
|
| No | No | Looks up an exchange rate from the transaction to the settlement currency for the transaction date in the LUSID Quote Store. Note this is ignored for a particular transaction if the
|
| No | No | Calculates gross consideration. Note this is ignored for a particular transaction if the
|
| No | No | Calculates notional amount for a future or CFD instrument. Note this is ignored for a particular transaction if the
|
| No | Yes | Calculates total consideration (gross consideration minus any fees) according to a formula. Note this is ignored for a particular transaction if the
|