I see examples of Dynamic security selection for stocks written in python, is there an example of Universe Selection for Options in python that allows you to trade Options for more than one underlying security at a time?
QUANTCONNECT COMMUNITY
I see examples of Dynamic security selection for stocks written in python, is there an example of Universe Selection for Options in python that allows you to trade Options for more than one underlying security at a time?
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.
Joseph Cheung
I'd like to see examples of this as well.
Emilio Freire
me too
Jared Broad
Options are a massive massive dataset. It's on the order of 100x the equity size; so backtesting a universe can be very very slow.
It is possible with LEAN today. Though I'd recommend adding the specific option contract you're backtesting vs doing a filtered universe. Once you've selected your assets (raw mode data) then you can AddOptionContract() with the specific option you're seeking.
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.
Stephan Vanwoezik
I posted a template for options universeÂ
https://www.quantconnect.com/forum/discussion/6774/an-example-of-trading-options-using-adduniverse/p1Â
Alexandre Catarino
Thank you for the contribution Stephan Vanwoezik!
Hugh Donnelly
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!