This all ass backwards. The first consideration should be a functioning society for everyone. It all boils down to a "we or me" perspective. We have way to much "me" in place.
I tried for over a year. Pairs were selected with correlation and co-integration and back tested. Have to watch for any upcoming earnings or other factors behind stock to avoid surprises which interrupt correlation. Stop tolerance had to be wide. I lost money and moved on to other methods...