Algorithmic Trading Using Logistic Regression

In order to implement an algorithmic trading strategy though, you have to first narrow down a list of stocks that you want to analyze. This walk-through provides an automated process (using python and logistic regression) for determining the best stocks to algo-trade.

I will dive deeper into the logic and code below, but here is a high-level overview of the process:

  1. Import the historical data of every stock using yahoo finance.
  2. Pull in over 32 technical indicators for each stock using the technical analysis library.
  3. Perform a logistic regression on each stock using 5, 30, and 60 day observation time periods.
  4. Interpret the results.

Articles You Might Like

Share This Article

Related Posts