Hello,
I'm struggling to understand if my strategy is even possible to code and execute with QuantConnect. Is it possible to scan a watchlist every second for different price movements? Is it possible to create a new watchlist every day? Is it possible to code the following strategy?
I want an algorithm that scans all tiers of NYSE and all tiers of Nasdaq at market open every day. I want it to create a watchlist for the day of all stocks that have opened 40% higher than the previous day's close. I only want a stock added to my watchlist if that stock opened at a $3 share price or higher. I want my algorithm to buy any stock on my watchlist when that stock hits 50% above its open price. I want my algorithm to sell a position when it hits a 30% profit or a 30% loss. 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.
Mia Alissi
Explanation / Key points for 'S':
Sources: True Beats - QuantConnect.com, WallStreetBets - QuantConnect.com, Dropbox Base Data Universe Selection Algorithm, Custom Data Universe Algorithm, docs writing algorithms datasets quantconnect us etf constituents
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Digitall
Thanks so much! Can you change the universe to scan all tiers of NYSE and all tiers of Nasdaq at market open every day? It looks like what you wrote only looks at the top 500
Digitall
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!