Code snippets and some question solutions from Advances in Financial Machine Learning by Marcos López de Prado ISBN: 1119482089