Algorithmic Trading with the Disparity Index in Python