Calculation
Lookback window
When calculating an index, we calculate it for a lookback window specified by the user. We currently allow a user to specify a lookback window of 1 day, 7 days, 30 days, 90 days or 365 days from the current time period.
Filter use
Themelia allows a user to select their preferred combination of filters and these will be applied at the inception of the index, as well as any rebalancing periods.
There are four different functions for filters:
Include
All constituents in the index must include the selected filter
Exclude
All constituents in the index must not include the selected filter
Min
All constituents in the index must be greater than or equal to the value specified for the filter
Max
All constituents in the index must be less than or equal to the value specified for the filter
Rebalancing
Themelia offers 4 rebalancing options for indexes; Never, Quarterly, Monthly, Weekly,
Never
No rebalancing occurs
Quarterly
Rebalancing occurs at 00:00:00 UTC on the first day of the new quarter.
Q1: January 1 – March 31
Q2: April 1 – June 3
Q3: July 1 – September 30
Q4: October 1 – December 31
Monthly
Rebalancing occurs at 00:00:00 UTC on the first day of the new month
Weekly
Rebalancing occurs at 00:00:00 UTC on the first day of the new week. Weeks start on a Monday.
Index Type
Themelia indexes are either Market Capitalisation Weighted or Equal Weighted, depending on the preference specified by the user.
Market Capitalisation Weighted Index calculation
Themelia's Market Capitalisation Weighted Indexes allocate weights based on the relative market capitalisation of each constituent in the index at inception and at any rebalancing time periods.
To calculate a Market Capitalisation Weighted Index, we are first required to determine the constituents at the earliest time period within the lookback window by applying the filters specified by the user.
Where:
By building our index based on the summation of the individual market capitalisations of the constituents in the index, we are effectively weighting the index by the relative size of the market capitalisation for each constituent. This happens naturally when we incept the index at the earliest time period, but for subsequent time periods, we will need to eliminate any changes to the Market Capitalisation of the index which do not arise from changes in the prices of the constituents in the index i.e. they have arisen from changes in circulating supply. This ensures that any changes in the index value over time only reflect changes in the prices of constituents.
To handle this requirement, at each time period we need to capture the change in the Market Capitalisation due to the change in circulating supply of any constituents:
being added to the index
being removed from the index
Where:
This incepts the index at the earliest time period within the lookback window.
For subsequent periods, we need a broader calculation for Delta which captures changes in Market Capitalisation resulting from:
tokens being added to circulating supply for a constituent
tokens being removed from circulating supply for a constituent
So we expand our calculation for Delta to:
Where:
We can then calculate the Index Value for the current period:
After iterating through this process for all time periods required, we make this series available for display in our charts for the front end user.
Equal Weighted Indexes
Themelia's Equal Weighted Indexes allocate weights equally to each constituent included within the index.
To calculate an Equal Weighted Index, we are first required to determine the constituents by applying the filters specified by the user for the earliest time period within the lookback window.
This incepts the index at the earliest time period within the lookback window.
For each subsequent period, the Constituent Value is adjusted based on the price change between the previous time period and the current time period.
We can then calculate the Index Value by:
If the current time period is also a rebalancing time period, the index undergoes an additional rebalancing process. The filters specified by the user are applied again to determine the new set of constituents.
Following this, the number of constituents, 𝑁, is counted.
The Constituent Value is then reset to ensure each constituent has an equal weight in the index:
After iterating through this process for all time periods required, we make this series available for display in our charts for the front end user.
Last updated