It\'s from the book Learn Algorithmic Trading- Sebastien Donadio and Sourav Ghosh
src full code >> https://github.com/PacktPublishing/Learn-Algorithmic