Creating an Algorithmic Trading Strategy Using Python and Logistic Regression