you can shift and add. pandas, numpy, ... are the libraries you want. A for loop is what you don't want
import numpy as np
a=[5,10,15,10,2,4]
np.array(a[:-1]) + np.array(a[1:])
these look good BA, CCL, XOM, VISA (maybe not now exactly)
add CME ICE AMZN GOOGL or any other utility that is a monopoly
and indexes XLE, XME, SPY, FXI, EWY
i'll do it for $1098 and have it done in a day :sneaky:. to the OP, search for screeners. Not sure if there is any software because this is trivial if you have the data