Skip to content
Educational notebooks on quantitative finance, algorithmic trading, financial modelling and investment strategy
Jupyter Notebook
Branch: master
Clone or download
Latest commit 700ccca Sep 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
AssetAllocation.ipynb Add files via upload Sep 14, 2019
DecisionTreeRegressors.ipynb Add files via upload Sep 14, 2019
LICENSE Small update :) Apr 5, 2019
PairsTrading.ipynb Add files via upload Sep 14, 2019 Add files via upload Sep 14, 2019

The main objective of this repo is idea generation! Some of these 'strategies' might not be appropriate for consumption due to overfitting (it's meant to be educational)

Dependencies: Numpy; Pandas; Matplotlib and Requests (for fetching Yahoo Finance data)



ML Based Pairs Trading - A simple Machine Learning example, Decision Tree Regressors applied to the previous pair (also requires Scikit-Learn)


Long Only Pairs Trading - A simple pairs trading strategy focused on buying the loser! Signal is given by rolling correlation


Dynamic Asset Allocation & Diversification - Exploring geographical diversification and optimizing capital allocation (also requires Scipy)

Market data last updated at 13 September 2019

Who am I?

I'm Leonardo, a 23 year old currently enrolled in a Masters of Applied Econometrics and Forecasting, looking forward to share (some) of my insights on quantitative investment strategies

Feel free to email me if you have any doubt, suggestion or critique - contact at


This code has been released under the Apache 2.0 License

You can’t perform that action at this time.