Machine Learning for ESG Stock Trading: PCA and Clustering

Hugh Donnelly
Analytics Vidhya
Published in
16 min readJun 30, 2021

--

Introduction

In developing a Pairs Trading strategy, finding valid, eligible pairs that exhibit unconditional mean-reverting behavior is of critical importance. We walk through an example implementation of finding eligible pairs and then perform a backtest on a selected pair. We show how popular algorithms from Machine Learning can help us navigate a very high-dimensional search space to find tradable pairs.

Jupyter Notebooks are available on Google Colab and Github.

--

--

Hugh Donnelly
Analytics Vidhya

Hugh founded AlphaWave Data in 2020 and is responsible for risk, attribution, portfolio construction, and investment solutions.