← Open Source
boyboi86

AFML

All the answers for exercises from Advances in Financial Machine Learning by Dr Marco Lopez de Parodo.

TutorialsML/AI fundamentalsJupyter Notebook
Open on GitHub
Momentum
+1stars in 24 hours+0.1%
879
Stars
205
Forks
+3
This week
1
Contributors
Created 2020-05-28 · Updated 2026-10-16 · #6104 today
Top developers

boyboi86/AFML is ranked 6,104 with 879 stars.

Same-category comparison

boyboi86/AFML is ranked 6,104 among these 8 peers; 6551Team/claude-code-design-guide is ranked 6,100.

Same-category comparison
NameRankMetrics
luisguiserrano/manning6,065
Language:
Jupyter Notebook
Stars:
900
Forks:
379
Description:
Repository for the book Grokking Machine Learning, by Manning Editors.
vndee/local-talking-llm6,077
Language:
Python
Stars:
894
Forks:
193
Description:
A talking LLM that runs on your own computer without needing the internet.
Ryota-Kawamura/Mathematics-for-Machine-Learning-and-Data-Science-Specialization6,089
Language:
Jupyter Notebook
Stars:
887
Forks:
345
Description:
Master the Toolkit of AI and Machine Learning. Mathematics for Machine Learning and Data Science is a beginner-friendly Specialization where you’ll learn the fundamental mathematics toolkit of machine learning: calculus, linear algebra, statistics, and probability.
6551Team/claude-code-design-guide6,100
Language:
JavaScript
Stars:
880
Forks:
279
limouren2000/llms-dev-study6,108
Language:
Jupyter Notebook
Stars:
878
Forks:
72
dvgodoy/FineTuningLLMs6,115
Language:
Jupyter Notebook
Stars:
874
Forks:
120
Description:
Official repository of my book "A Hands-On Guide to Fine-Tuning LLMs with PyTorch and Hugging Face".
miguelgfierro/ai_projects6,121
Language:
Jupyter Notebook
Stars:
870
Forks:
196
Description:
AI projects.
optuna/optuna-examples6,127
Language:
Python
Stars:
865
Forks:
200
Description:
Examples for https://github.com/optuna/optuna.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJupyter Notebook
CategoryTutorials
SubcategoryML/AI fundamentals
KeywordsFinance
Stars879
Forks205
Contributors1
Created date2020-05-28
Updated date2026-10-16
Stars in 1 day1
Stars in 7 days3
Rank6,104
Previous rank12,854
Rank change6,750
7-day stars rank7,175
Previous 7-day stars rank8,481
7-day stars rank change1,306
Total stars rank12,324
Previous total stars rank12,311
Total stars rank change-13
CountrySingapore
README summary

Advances in Financial Machine Learning All the experimental answers for exercises from Advances in Financial Machine Learning by Dr Marcos López de Prado. This book (A collection of research papers) can teach you necessary quant skills, the exercises provided in the book is a great way to ensure you will have a solid understanding of implementating quantitative strategy. At the same time, you might want to know that this is one of the graduate textbooks used in Cornell University

for their Msc programe. This repo has been plublished quite a while ago, I am currently working in a Quant Fund focus on market neutral strategies. "Every successful investment strategy is always supported by an equally sound theory that is practical, you either prove with results or you prove the theory first. Either way one will always lead to another. " — "Project Cauldrons" The book itself teaches very rational methods to quantitative finance, most of the concepts (especially triple barriers

/ bet sizing) can be cross-reference to other strategies types (not just mean-reversion) such as volatilities, trends. If you decide to write the code from scratch (Highly recommend! ) and use my notebook answers as a reference, you will need the below: Python 3. 1 **Disclaimer** Apart from the above modules, all the codes ran in these notebook were written from scratch (Private Repository). **Note** If you are interested in quantitative research, but do not have high-frequency data. I

created code snippets for you to generate some synthetic HFT data to get you started. Generate synthetic high frequency data Update 2024: This is my personal repo that has been private for a long while, feel free to fork or use it for research BUT! DO NOT commercialize/ monetise it, please credit the original author (Basically it's me) even if there has been improvment, revision or amendments. and it won't suddenly become "paid-for" ~~after abusing all the good work

of github community. ~~ library link Also this repo will not be updated given my work is not related to techniques & methods used in the books. Please help improve the code to the latest version, if possible. "Kindness begets Kindness, it's the only way human hope stays alive" **Note** Please take note that, most of the codes were written from scratch while the remaining codes were from references provided by dr Marco. Hence the codes that were used to produce the

answers are considered proprietary property. The idea of maintaining an open-source quant library is too daunting for me (Especially when everything was done from scratch independently) ~~however there are code snippets and explainations provided to assist individuals who are interested in learning Financial ML. ~~ Latest update in 2024: I release my private repo see the above library link, since I'm not even using it for my work, must as well open to public for the better good. **Note** ~~Strongly

encourage every potential quants to "star" this repository instead of "forking" them, since I might include updates and/or other

Frequently asked questions

How many stars and forks are recorded?

boyboi86/AFML has 879 stars and 205 forks.

What is the repository rank?

boyboi86/AFML is ranked 6,104.

What language and category are recorded?

boyboi86/AFML has 879 stars, uses Jupyter Notebook and belongs to Tutorials.

Which repository is closest in rank?

boyboi86/AFML is compared with 6551Team/claude-code-design-guide, ranked 6,100 with 880 stars.

README

Advances in Financial Machine Learning

All the experimental answers for exercises from Advances in Financial Machine Learning by Dr Marcos López de Prado.

This book (A collection of research papers) can teach you necessary quant skills, the exercises provided in the book is a great way to ensure you will have a solid understanding of implementating quantitative strategy. From "A" to "Z".

At the same time, you might want to know that this is one of the graduate textbooks used in Cornell University for their Msc programe. This repo has been plublished quite a while ago, I am currently working in a Quant Fund focus on market neutral strategies.

"Every successful investment strategy is always supported by an equally sound theory that is practical, you either prove with results or you prove the theory first.

Either way one will always lead to another."

— "Project Cauldrons"

The book itself teaches very rational methods to quantitative finance, most of the concepts (especially triple barriers/ bet sizing) can be cross-reference to other strategies types (not just mean-reversion) such as volatilities, trends.

If you decide to write the code from scratch (Highly recommend!) and use my notebook answers as a reference, you will need the below:

  • Python 3.7.4
  • numpy 1.17.3
  • scipy 1.3.1
  • numba 0.49.1
  • pandas 1.0.3
  • matplotlib 3.1.1
  • sklearn 0.23.1
  • statsmodels 0.10.1

Disclaimer

Apart from the above modules, all the codes ran in these notebook were written from scratch (Private Repository).

Note

If you are interested in quantitative research, but do not have high-frequency data. I created code snippets for you to generate some synthetic HFT data to get you started.

Generate synthetic high frequency data

Update 2024: This is my personal repo that has been private for a long while, feel free to fork or use it for research BUT!! DO NOT commercialize/ monetise it, please credit the original author (Basically it's me) even if there has been improvment, revision or amendments. This repo is and will always be free.. and it won't suddenly become "paid-for" after abusing all the good work of github community.

library link

Also this repo will not be updated given my work is not related to techniques & methods used in the books. Please help improve the code to the latest version, if possible.

"Kindness begets Kindness, it's the only way human hope stays alive"

Note

Please take note that, most of the codes were written from scratch while the remaining codes were from references provided by dr Marco.

Hence the codes that were used to produce the answers are considered proprietary property.

The idea of maintaining an open-source quant library is too daunting for me (Especially when everything was done from scratch independently) however there are code snippets and explainations provided to assist individuals who are interested in learning Financial ML.

Latest update in 2024: I release my private repo see the above library link, since I'm not even using it for my work, must as well open to public for the better good.

Note

Strongly encourage every potential quants to "star" this repository instead of "forking" them, since I might include updates and/or other algorithm implementations. This research repository will always be open-source and FOC (Free-of-charge).

At the end of the day, my answers is only reference. Most of the heavy lifting must still be done by interested individuals.

In between, I wll drop technical advices so that it will be easy to implement in later versions of Python and the related modules.

My answer or/ and explanantion might not be perfect. So let me know if you think there are better ways to improve them.

Note

Most of the Python codes in the textbook were written 6 years ago (Python 2.7), which might not work in 2020. Therefore, it is required for individuals to understand Python and the research process/ intentions as well as the Mathematical concepts to produce the algorithm.

Advice/ Encouragement

Don't give up. Good things will happen eventually.

May not be as good as expected but it would still be somewhere close.

Integrity & consistence is the key to success.

Nearby in the ranking
Similar items