Kappa: stock screener

Kappa is a mobile app for building a stock portfolio based on a multi-factor model of fundamental indicators. With Kappa, investors can find undervalued stocks with the potential to outperform the market average.

Theory

Kappa is a strictly science-based tool. It doesn’t promise easy money on the stock market or sell get-rich-quick schemes.

The future is unpredictable, and so is the stock market. Most investors and traders who try to beat the market average end up underperforming it. Still, there are ways to outperform the market.

By “the market,” investors usually mean the S&P 500 index, and that is the benchmark they fail to beat. But what is it, really? Simply the 500 largest US companies that have been profitable for four quarters in a row, weighted by market capitalization. The list is reviewed once a year. So it turns out investors can’t beat the average growth of the largest companies bought blindly.

Kappa’s approach is to build your own index similar to the S&P 500, but instead of blindly including the largest companies, to filter out those that are clearly overvalued or unprofitable. Such an index should, a priori, outperform the market average.

That is exactly what Kappa does. The app scans the US market several times a minute and calculates 15 fundamental ratios for 6,000 companies.

The ratios are split into three groups that describe a company in terms of value, profitability and stability. For each of the three, the company gets a score from 1 to 10. The scores are then added up to produce the company’s investment rating.

According to 50 years of US stock market data, regularly buying companies rated Strong Buy can deliver an average annual return of up to 22%. That is Warren Buffett territory.

It sounds simple, but it isn’t. This is an average annual return over a long horizon. Every year, for at least 10 years, the investor has to buy 25 to 50 companies rated Strong Buy in equal proportions.

Psychologically, that is hard. Emotions get in the way: they urge you to make an exception for some company or to give up on the strategy as one that doesn’t work. The S&P 500 has no emotions. That is why it is so hard to beat.

Table design

Table design is one of the hardest areas of design. Tables almost always break the laws of perception and suffer from poor typography, wrong alignment and bad data formatting.

Kappa’s design is built around tables. Financial systems deal with large amounts of data that have to be read quickly and correctly. So it wasn’t enough to draw nice-looking tables for Kappa: the task was to create a whole table language on which the design of the entire app would be based.

Kappa’s table design is based on the monospaced version of San Francisco. Tables contain mostly numbers, and numbers need to be compared, which means their digits must line up. That requires a monospaced font, in which every character has the same width.

Most fonts have tabular figures of equal width, but that stops working as soon as the designer uses abbreviations:

Kappa focuses on the US market, and its users are finance professionals and investors. So it uses the US number format: a period separates the decimal part, and commas separate thousands.

In the future, Kappa will support the European format, where a comma separates the decimal part and spaces separate thousands. This format has a drawback: the spaces between digit groups blend with the gaps between columns.

To avoid this, use a thin space, which is narrower in a well-made monospaced font.

Column headers, on the other hand, should use a proportional font. This makes columns narrower without hurting readability.

The hardest part of a table is alignment. Practically every designer gets it wrong.

The usual approach is to right-align the numbers together with the column headers. It is easier for developers but completely wrong from a design standpoint. Tables aligned this way (that is, almost every table in the world) look ragged and messy. The data jumps around and is incredibly hard to read.

Column headers should never be right-aligned! Instead, set the column width by its longest number and left-align the header.

This is quite tricky for developers to implement, but it greatly improves readability. The table gets twice as good if you break the divider line into a separate segment for each column. Then the eye picks up column boundaries instantly.

Another harmful practice is moving the unit of measurement into the column header to avoid repeating it on every row. The effect is the exact opposite: the data becomes nearly impossible to read!

Dollars, percentages and meters turn into anonymous numbers. Headers get wider while the data gets narrower, and the table becomes full of holes. Never do this. And this is an example where all the values in a column share the same unit. What if one stock is priced in dollars, another in euros and a third in yuan?

Finally, for data such as price, it is useful to show the change over a period. This works best as a second line in a smaller font. Long column headers can also wrap onto a second line to make the table even more compact.

Indicators

Kappa rates companies by 15 fundamental ratios, split into three equal groups: valuation, profitability and financial stability.

How does Kappa rate a company? Take the popular price-to-earnings ratio, P/E, and calculate it for all 6,000 companies Kappa covers. That gives 6,000 values. Sort them in ascending order and split them into 10 equal parts. Each part is called a decile.

Statistically, companies with the lowest P/E are the best buys. The higher the P/E, the more likely the company is overvalued. According to the data, the best companies are in deciles 1–3. With an average market return of 11.2%, stocks in the first decile return 16.3% on average, the second 15.4% and the third 13.8%.

Complex statistics condensed into a simple indicator.

The color shows how good the value is. Green means that, by this ratio, the company can outperform the market. Yellow means the company will most likely deliver an average market return. Red means it is likely to underperform.

The indicator is divided into ten segments. The decile the company falls into is shown in a more saturated color, and the exact value is marked with a tick on the scale.

Besides these simple indicators, a company’s stability is assessed on two composite scales: the Altman Z-score and the Piotroski F-score.

The Altman scale estimates the probability of bankruptcy. A score is calculated from the company’s financial statements. Below 1.8, the company is in distress. Above 3, it is considered stable. Values between 1.8 and 3 are the “gray zone”: no obvious signs of bankruptcy, but the company’s condition leaves much to be desired.

The Piotroski scale assesses a company’s financial strength. Based on its financial statements, the company gets a score from 0 to 9, plotted on a red-to-green gradient scale. The higher the score, the more stable the business.

Application

Kappa calculates all 15 ratios for 6,000 US companies in real time and presents the results as simple indicators and scales.

The company page features rich, carefully designed financial infographics and clearly answers the investor’s question: is this company worth investing in?

The indicators are combined into three groups, and each group gets its own indicator built the same way. Then the three groups are split into deciles once more. This produces the company’s final rating, from Strong Avoid to Strong Buy.

All results are brought together in a huge table of figures and indicators designed according to every rule of table design.

In the mobile app, the table scrolls both vertically and horizontally, with column and row headers pinned in place.

The most complex table is on the What to Buy screen. It lists all companies in descending order of investment appeal. They can be filtered by index membership (such as the S&P 500 or Russell 2000), sector, market cap and stock exchange.

The table on the home screen shows only the key indicators of the companies in the portfolio, along with returns for the period.

Kappa is a new product. The strategy behind it is used by large investors, but this is the first time such a complex strategy has been packaged into a simple app that even a beginner can understand.

To explain the strategy, Kappa includes a detailed help section. It covers how to buy stocks properly, how to rebalance a portfolio, and why the strategy can beat the market.

Kappa also has contextual tooltips: every ratio on the company page comes with an explanation of how it is calculated.

Dark theme

Kappa supports a dark theme that turns on automatically if it is enabled in the system settings. Indicators, counters, tables and scales look sharp and professional on a black background. Using Kappa is an aesthetic pleasure.