How do I override exposure calculations in the Rebalance dashboard?

Prev Next

In the Rebalance dashboard, you have the option to configure how LUSID calculates exposure for your instruments.

To do this, you must set an exposure override; LUSID then:

  • Uses the address key you specify - instead of Valuation/InstrumentExposureInReportCcy - to provide a unit exposure value for each instrument.

  • Calculates holding exposure using the instrument exposure (including the effect of proposed and open orders); LUSID then uses the holding exposure value to calculate the weights shown in the dashboard.

  • Continues to calculate the cash offset for an order using Valuation/InstrumentPV. Overriding exposure does not override instrument PV, so cash offsets the Rebalance dashboard generates for exposure-overridden instruments will not necessarily offset the orders exactly.

You can hover over the Exposure column name to see how LUSID is currently calculating the value:

Important

Overriding exposure using the following steps is a powerful domain-wide configuration. Verify that the change will not unintentionally impact other processes.

Step 1: Create a DerivedValuation property

Follow these steps to create an address key in the DerivedValuation scope that defines how LUSID should calculate exposure.

The formula should return the exposure for a unit of the instrument in the instrument’s domestic currency, including:

  • Contract size

  • Other relevant factors

Note

You must specify a formula that works for all instrument types, for example by using an if statement to determine the value based on the instrument type.

For example, you could specify the formula if(AddressKeys[Instrument/InstrumentType] in 'FxForward') then 0 else AddressKeys[Valuation/InstrumentExposure] to set the value of FX forwards to 0.

Step 2: Supply your property in the Configuration Store

  1. Navigate to System Settings > Configuration Store and select the Shared Keys tab.

  2. Click Edit on the configuration set with scope system and code LUSID-Rebalance.

  3. Set the UnitExposureAddressKeyOverride value to your derived valuation property and click Save.

Note

You can remove the override at any time by setting the UnitExposureAddressKeyOverride value to -.