Hello,

Is it possible to code the following strategy? 

I want an algorithm that creates a watchlist every morning with the top 20 gappers.  Those 20 gappers are the stocks that have the highest percentage gap between their lower closing price yesterday and their higher closing price today.

After the watchlist is created, I want my algorithm to scan that watchlist every second until market close.  I want the algorithm to buy any stock on my watchlist when that stock hits 30% above its open price.  I want my algorithm to sell a position when it hits a 35% profit or a 35% loss.  As soon as my algorithm sells a stock, I want that stock taken off the watchlist so that the algorithm does not trade that stock again during that day.  If any positions are still open a few seconds before market close, I want them all closed.  I want the watchlist cleared after market close. 

Thanks!