Categories: Visualizations

Visualising securities correlation

Reading Time: 3 mins

If you were wondering how the securities in the world move against each other, the picture below is the answer.

securities-correlationsecurities-correlation

This picture shows the correlation various currencies, indices and commodity prices by linking together three powerful types of visualisations.

securities-correlation-examplesecurities-correlation-example

The first is a coloured correlation matrix. In this picture, we have three securities: the British Pound (GBP), Gold Price (XAU) and the Dow Jones Index (^DJI). The price of GBP and Gold tend to move slightly together, and have a correlation of 0.36 (36%). So the cell that’s between GBP and XAU is marked with 36. Similarly, the cell that’s between XAU and ^DJI has a –64 because Gold and the Dow Jones index are slightly negatively correlated.

The colour coding is based on the correlation. Red is -1, Green is +1 and Yellow is 0.

securities-correlation-scatterplotsecurities-correlation-scatterplotThe second is a scatterplot matrix. The cells that mirror the correlations have a series of dots. Each dot represents the price on a particular day.

For example, compare Gold and the Dow Jones. It isn’t a straight-forward negative correlation. In fact, it almost looks like there were two periods: one in which gold was high when the Dow Jones was low, and vice versa. But within those periods, there appears to have been a mild positive correlation.

securities-correlation-clustersecurities-correlation-cluster

The third is the hierarchical cluster. The securities is grouped into similar ones based on their correlation. For example, GBP and Silver (XAG) and reasonably close to each other, and form one group. This group is most closely related to the Euro (EUR), and the three of them are closest to the Australian Dollar.

Arranging the securities by the hierarchy makes it easy to spot groups of securities that tend to move together.

For example, in the original visualisation, there appear to be a set of logical blocks

At the centre, four securities – the Pakistani Rupee (PKR), the Sensex (^BSES), the FTSE (^FTSE) and the S&P (^GSPC) – tend to move together, with each other; but move in the opposite direction to the next group of securities – the Singapore Dollar (SGD), the Japanese Yen (JPY), Gold (XAU), the Swiss Franc (CHF) and the Chinese Yuan (CNY).

Similarly, the Swedish Krona, Canadian Dollar, Indian Rupee, Hong Kong Dollar and Mexican Peso form yet another group that moves together, but in the opposite direction from the strong Asian currencies in the block above.


We at Gramener have named this visualisation a clusterplot. It’s a powerful technique when applied to time series of multiple (typically 5 – 50) variables.

Here are some cases you might consider using them:

  • Group your products based on consumer behaviour. Which products tend to sell together? Which ones cannibalise the sale of the other? Is there a way of rationalising the product base to reduce complexity – without losing customers?
  • Group retailers based on sales. Which retailers tend to cannibalise the sales across each other? Which ones complement each other? Where would you need to rationalise to avoid duplication or overlap?
  • Analyse process quality drivers. For example, if temperature, pressure and salinity affect your product quality, what impact will increasing one parameter have on the other?
Gramener - A Straive Company

Gramener – A Straive company is a design-led data science firm. We build custom Data & Al solutions that help solve complex business problems with actionable insights and compelling data stories.

Leave a Comment
Share
Published by
Gramener - A Straive Company
Tags: Finance

Recent Posts

Top 5 Benefits of Visual Inspection Systems You Must not Ignore

Are you struggling with lengthy and labour-intensive processes of manual inspection at your manufacturing? You… Read More

3 weeks ago

AI for Inventory Optimization – Maximizing Efficiency and Minimizing Costs

Managing smarter inventory is always challenging: too much stock consumes money, while too little results… Read More

1 month ago

How Does Computer Vision Help With Managing Perishable Goods?

The global food industry faces significant losses daily due to the spoilage of perishable goods.… Read More

2 months ago

Enhancing Warehouse Accuracy with Computer Vision

In today’s fast-paced world of e-commerce and supply chain logistics, warehouses are more than just… Read More

2 months ago

How AI is Redefining Quality Control and Supercharging OEE Optimization?

What does it mean to redefine the future of manufacturing with AI? At the heart… Read More

3 months ago

How is AI Transforming Cold Chain Logistics in Healthcare?

In 2022, Americans spent USD 4.5 trillion on healthcare or USD 13,493 per person, a… Read More

3 months ago