Options not available everyday

This code is a simple strategy available for Options which buys the option with farthest expiration and sells it when the exchange closes. Here are my quesations:

1. I was expecting to have one trade for every single day but this is not the case. Does it mean that there is no Option contact available for Google somedays?

2. Howcome the ImpliedVolitility is always zero?

3. When I run this algorithm, it is super slow. Which piece make it that slow?

4. If I change the dates to start from April 1st and end the test on June 1st, there will be no trade at all. Again, does it mean there is no Option Contact available over this period of time?


implied volitility
Update Backtest

Hi Mohamed,

Options data are not updating to recent days. At this time it is up to 02/29/2018. Please pick a backtest period prior to that date. You could check all the data available with the data explorer
If you find the data issue and verify it via data explorer, you can submit the issue report on this page
To use greeks value and implied volatility, you need to add a warm-up period and the option pricing model for calculation, please see this example


Update Backtest


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.


This discussion is closed