Learn the statistical technique of Cointegration and build your own crypto backtester to create and test a quantitative trading strategy.

This tutorial is in 2 parts — (you can run the backtester as a separate standalone module) :

  1. Learn the Statistical technique of Cointegration.

Just want the code? click here.

What are we building


October is historically the most volatile month for stocks, but is this a persistent signal or just noise in the data?

Ave Monthly Vol Ranking

Stocks, Significance Testing & p-Hacking.

Over the past 32 years, October has been the most volatile month on average for the S&P500 and December the least, in this article we will use simulation to assess the statistical significance of this observation and to what extent this observation could occur by chance. All code included!

This post is now live on DataCamp — click here!

Our goal:

  • Demonstrate how to use Pandas to analyze Time Series

Our data:

We will be using Daily…


So you’ve completed Andrew Ng’s Deep Learning course on Coursera,

You know that ForwardProp looks like this:

Patrick David

Machine Learning , Deep Learning, AI, Python, Quant Trading -ML Researcher - follow for walkthroughs, tutorials, proofs, research etc. Also on twitter @pdquant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store