Hi All,
I have been getting this error for a while but I don't seem to find where the issue is coming from.
Looked into multiple discussion threads but I could not find a lead.
I am currently buying and selling securities using an SP500 universe using dropbox data. Any help would be really appreciated.
The security with symbol 'CVG RD6QFO3VZL2D' is marked as non-tradable.
The security with symbol 'GMCR R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'NYX TGSA236FGWO5' is marked as non-tradable.
The security with symbol 'APC R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'HSP SYCMR2MNWEHX' is marked as non-tradable.
The security with symbol 'AMCC R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'APCC R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'CELG R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'PSFT R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'ARG R735QTJ8XC9X' is marked as non-tradable.
The security with symbol 'SGP R735QTJ8XC9X' is marked as non-tradable.
Thanks,
Dario
Cole S
Instead of using dropbox look into the new ETFConstituentUniverse. I have been meaning to test it out, so I can't say how well it works, but I think you should be able to provide the ETF symbol and it will pull the constituents into a universe.
Cole S
Your error most likely has to do with data not being available for some of those symbols, using a built-in universe should avoid it.
Varad Kabade
Hi Dario,
The above error occurs when the algorithm is trying to place orders for a security that has been removed from the universe. To resolve this, please make sure you are iterating through securities currently subscribed to the universe, like using self.ActiveSecurities.
Best,
Varad Kabade
Dario Teodori
@cole I was trying to liquidate data that was not in my portfolio.
Gonna try the etf constituent filter.
Thanks for your answers guys! Appreciate the support.
Dario Teodori
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!