Hello,

I'm wondering if it's possible to create a watchlist that changes every five minutes which will be scanned every second while the market is open?  Is it possible to code the following strategy?

I want an algorithm that scans all tiers of NYSE and all tiers of Nasdaq right after market open every day and then every five minutes until market close.  I want to make sure the algorithm includes NYSE, NYSE American Equities, NYSE Arca Equities, NYSE National, NYSE Texas, The NASDAQ Global Select Market, the NASDAQ Global Market, and the NASDAQ Capital Market, and all other tiers in its scans.

For the first scan about 5 seconds after market open, I want the algorithm to create a watchlist of the 10 stocks that have opened with the biggest gap above their previous day's close price.  I only want a stock added to my watchlist if that stock opened at a $0.25 share price or higher.  I only want a stock added to my watchlist if that stock has traded 1,000,000 shares during the premarket session that morning.  

Every five minutes after that first watchlist was put together, I want the algorithm to update the watchlist to include the 10 stocks that currently have the biggest gap above their previous day's close price.  Some stocks will be removed from the watchlist with each update and some stocks will be added tot he watchlist with each update that occurs every five minutes.  I only want a stock added to an updated watchlist if that stock is currently at a $0.25 share price or higher.  I only want a stock added to an updated watchlist if it has traded 1,000,000 shares since the market opened.

I want the debug/logs to show me all symbols that were on the watchlist for each date in the backtest.

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. 

For example, I want to make sure this algorithm would've bought SBET on 5/27 and that it would've bought KNW on 6/6.  Thanks!