First of all thanks to QuantConnet team for their support in the migration process, that helps a lot in making the step quicker and easier.
I was wondering if there is a way to easily replicate Quantopians's Q500US and Q1500US universes:
Q500US/Q1500US
A universe containing approximately 500/1500 US equities each day whose constituents are chosen by selecting the top 500/1500 "tradeable" stocks by 200-day average dollar volume, capped at 30% of equities allocated to any single sector.
Especially useful would also be default_us_equity_universe_mask
default_us_equity_universe_mask A function returning the default filter used to eliminate undesirable equities from a security universes:
- The stock must be the primary share class for its company.
- The company issuing the stock must have a minimum market capitalization of 'minimum_market_cap', defaulting to 500 Million.
- The stock must not be a depository receipt.
- The stock must not be traded over the counter (OTC).
- The stock must not be for a limited partnership.
- The stock must have a known previous-day close price.
- The stock must have had nonzero volume on the previous trading day.
Luca-s
Any hint? I need a workaround for this as the algorithms I currently run live (on Quantopian) use these features and I am trying to reimplement them here.
Quant Trader
Hi Luca,
Did you succeed?
J.
Luca-s
Unfortunately no
Garyha
Anything addressing any of 1 through 7 would be a useful step.
Jared Broad
We made these recently as a temporary work around; and are looking at ways to formally support pre-made stock indexes.
QC500 C# --
QC500 Python --
For now you can copy those universe selection pieces to achieve a similar (not identical) universe.
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.
Karthick aravindan
Hi
There is any build-in filters like QTradableStocksUS() and ConstituentsQC500GeneratorAlgorithm does not mention about OTC and primary share. I am a newbie to it
Michael Manus
do you mean morning star ?
Karthick aravindan
Michael Manus
yaa I mean that.
Thanks
Luca-s
Thank you Jared, this is very useful!
Luca-s
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!