I'm somewhat new to python and quantopian and I would like some help. Here is what I'm looking to do:
Create a list of 20 or so securities
for each security,
Buy when price > SMA period of 15 days
Sell when price < SMA period of 15 days
I know this is a basic strategy, but I would still like to explore it. Any help would be appreciated, Thank you very much.