LEAN is the open source
algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a
global community of 80+ engineers and powers more than a dozen hedge funds today.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
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?
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.
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.
Jing Wu
242.2k
,
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 https://www.quantconnect.com/data/tree If you find the data issue and verify it via data explorer, you can submit the issue report on this page https://www.quantconnect.com/data/issues/open 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 https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/BasicTemplateOptionsHistoryAlgorithm.py
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.
Loading...
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!