Custom Index (2024)

Table of Contents
Overview Video

Author: Darren Hawkins, MSTA Last updated: May 12, 2020 12:00

Overview

An easy way to create a custom index of a basket of stocks, or portfolio, is to simply add them together in what is called a price-weighted index. This generally gives a good indication of how those stocks behaved as a whole, but a key issue is that the stocks in the group with the biggest price have the most impact on the overall index value and those with a small price value are under-represented, regardless of the overall market capitalization of the company.

Most indexes, such as the S&P/ASX 200 ($XJO) in Australia and the S&P500 Index in the US ($SPX) are market capitalization weighted, meaning the biggest companies by value have the biggest impact of the index. One important exception is the Dow Jones Industrial Index ($DJI) which is price-weighted, meaning that those companies with a higher share price have a biggest impact on the index, regardless of the size of the company. Take Boeing ($BA) and Pfizer ($PFE) as examples. Boeing is currently $340 a share with a market cap of $200 billion, whereas Pfizer is only $37 a share but has a higher market cap (around $220 billion), but a 1% change in Boeing’s share price will have 9 times the impact (340/37) on the overall index value than a 1% change in Pfizer even though Pfizer is a bigger company by market cap than Boeing.

To create a simple price-weighted index in Optuma is easy. Let’s take the FANG stocks – or actually the FAANG stocks – the 5 large tech stocks in the US: Facebook, Apple, Amazon, Netflix and Google. In Optuma click on Data > Custom Codes and create a new ticker code of your choice, and in the window add the symbols together in a formula. In this example I created a new symbol FAANGPW, and the name FAANG Price Weighted using the following formula:

Custom Index (1)

Once completed, click Open Code to view the chart, and it will display a chart beginning in 2012 (the earliest date when all five companies were trading following Facebook’s IPO). The current value of the five companies added together is $3,213.63, as seen in the watchlist and chart below, with a gain of $101 on the day.

So far so good, but if we take a look at the individual prices of these five stocks then you will see that Amazon is $1,518, and Apple has the smallest at $164. But look at today’s net changes: Facebook rose 9% (or $14.47 in dollar terms) whereas Amazon gained almost $58 per share, but that was less than half of the percentage gain (3.96%) of Facebook. This means that over half the day’s $101 gain in the composite price-weighted FAANGPW index was due to Amazon, even though it makes up only 25% of our custom index by market cap! Another thing to note is the daily percentage change, which was 3.61% in the watchlist, but only 3.26% on a price-weighted basis.

Custom Index (2)

So whilst price-weighted is ok, I was asked by a client if there’s a more accurate way to calculate the performance of a custom basket of stocks. Ideally we would take the market caps for each stock for each day and calculate a market cap weighted index, but that would be too complex. I thought maybe I could use our Market Breadth module to calculate the daily average percentage changes and create a cumulative total, or maybe create a more complex formula in the Custom Code builder, but success was limited and I couldn’t get my head around the maths. The closest I got was a formula that would plot percentage changes on an arithmetic price scale, which led to issues calculating price moves and performance statistics.

Then I had an idea. Whilst studying for the Chartered Market Technician’s exams I learned about geometric averages. Without going too much in to the maths (not my strong point, so feel free to Google!), to calculate a geometric average you multiply the components together (rather than add them) and then raise to the power of 1/n. So in our FAANG example, we multiply the symbols together for each day and raise to the power of 0.2 (or 1/5) and cumulate the total for each day.

Fortunately, our Custom Code builder makes this very easy, as the formulas can include any mathematical function, including POWER(). So here’s the new FAANG Geometric Index formula (symbol FAANGGEO):

POWER(FB:US * AAPL:US * AMZN:US * NFLX:US * GOOGL:US, POWER=0.20)

Custom Index (3)

Perhaps the first thing you’ll notice is the value of this geometric index, which is nowhere near the $3,213 of the price-weighted chart, but that isn’t the important number. It more the daily changes and shape of the line that is more important, as that give us much better representation of the performance of the underlying stocks bundled together. Usually the average of the Change % column matches the 1 Period Rate of Change value, but today was very close: 3.57% for the chart vs 3.61% for the watchlist (maybe because of the large move in Facebook), but it’s when you look back over longer periods of time that the difference between price-weighted and our new geometric index becomes clear.

As per the watchlist and charts below, year-to-date the Price Weighted index has gained 16.41% vs 15.03% for the more accurate geometric calculation, with the gap widening to 43.54% and 40.95% over the last 12 months.

Custom Index (4)

So if you’re interested in creating your own custom index – particularly if the price of the companies vary widely – take a look at the geometric average calculation using the POWER() function, remembering to adjust it to reflect the number of components it contains, eg 0.25 for 4, 0.125 for 8, 0.1 for 10, etc.

UPDATE

Clients with the Custom Breadth module are able to use it to create an equal-weighted index instead of creating a Custom Code formula. See the 3 min video below:

Video

Custom Index (2024)
Top Articles
FIRE VS LeanFIRE VS FatFIRE
Financial statements interpretation
Get train & bus departures - Android
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
La connexion à Mon Compte
CKS is only available in the UK | NICE
Khatrimaza Movies
How Far Is Chattanooga From Here
Youtube Combe
Toonily The Carry
Housing Intranet Unt
A.e.a.o.n.m.s
Space Engineers Projector Orientation
Sitcoms Online Message Board
104 Presidential Ct Lafayette La 70503
Erin Kate Dolan Twitter
RBT Exam: What to Expect
Void Touched Curio
U/Apprenhensive_You8924
Nwi Arrests Lake County
VMware’s Partner Connect Program: an evolution of opportunities
Abby's Caribbean Cafe
St Clair County Mi Mugshots
kvoa.com | News 4 Tucson
Parkeren Emmen | Reserveren vanaf €9,25 per dag | Q-Park
City Of Durham Recycling Schedule
Marokko houdt honderden mensen tegen die illegaal grens met Spaanse stad Ceuta wilden oversteken
Narragansett Bay Cruising - A Complete Guide: Explore Newport, Providence & More
The Procurement Acronyms And Abbreviations That You Need To Know Short Forms Used In Procurement
Kaliii - Area Codes Lyrics
Stouffville Tribune (Stouffville, ON), March 27, 1947, p. 1
Kacey King Ranch
Datingscout Wantmatures
new haven free stuff - craigslist
Panchitos Harlingen Tx
Covalen hiring Ai Annotator - Dutch , Finnish, Japanese , Polish , Swedish in Dublin, County Dublin, Ireland | LinkedIn
The Complete Guide To The Infamous "imskirby Incident"
877-292-0545
A Comprehensive 360 Training Review (2021) — How Good Is It?
Scarlet Maiden F95Zone
Sdn Fertitta 2024
Charli D'amelio Bj
What Is The Optavia Diet—And How Does It Work?
Alba Baptista Bikini, Ethnicity, Marriage, Wedding, Father, Shower, Nazi
Craigslist Pet Phoenix
Motorcycles for Sale on Craigslist: The Ultimate Guide - First Republic Craigslist
SF bay area cars & trucks "chevrolet 50" - craigslist
Strawberry Lake Nd Cabins For Sale
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Ippa 番号
How to Find Mugshots: 11 Steps (with Pictures) - wikiHow
Dr Seuss Star Bellied Sneetches Pdf
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5869

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.