There was a split (?) between 08/08/2008 and 09/08/2008. The data presents the 10x overnight price jump and next day.
Don't have an account? Join QuantConnect Today
QuantConnect Community Discussions
QUANTCONNECT COMMUNITY
LEAN is the open-source algorithmic trading engine powering QuantConnect. Founded in 2012 LEAN has been built by a global community of 180+ engineers and powers more than 300+ hedge funds today.
Join QuantConnect's Discord server for real-time support, where a vibrant community of traders and developers awaits to help you with any of your QuantConnect needs.
The Open-Quant League is a quarterly competition between universities and investment clubs for the best-performing strategy. The previous quarter's code is open-sourced, and competitors must adapt to survive.
VXX data error due to split between 08/08/2008 and 09/08/2008 causing 10x overnight price jump.
Continue ReadingRefer to our Research Guidelines for high quality research posts.
Create an account on QuantConnect for the latest community delivered to your inbox.
Sign Up Today
|
|
|||||||
|
|
||||||||
|
Data for VXX adjusted for splits contains an error
Arkady M | May 2017
There was a split (?) between 08/08/2008 and 09/08/2008. The data presents the 10x overnight price jump and next day.
QuantConnectâ„¢ 2025. All Rights Reserved
Arkady M
Under some circumstances this error can cause a "margin call" which impacts the test results.
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.
Arkady M
I disabled the margic calls model. Now I am getting "AlgorithmManager.Run(): Portfolio value is less than or equal to zero"
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.
Alexandre Catarino
The available VXX data starts on Jan 30th 2009, so it is odd that you are observing a price jump in 2008.
Running a buy and hold algorithm starting on Jan 30th 2009 and plotting VXX price, we cannot see a described price jump.
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.
Arkady M
Probably there is a bug in the algo, but I do not see it immediately.
In my log I see the following
2016-08-01 15:00:00 NET=699596.7601680000000000 positionShares=-4260 price=39.92 amount=-122 2016-08-05 15:00:00 NET=704466.0001680000000000 positionShares=-4382 price=38.04 amount=-248 2016-08-08 15:00:00 NET=713898.6801680000000000 positionShares=-4630 price=37.42 amount=-140 2016-08-09 15:00:00 NET=304597.8701680000000000 positionShares=-1912 price=37.05 amount=-144
NET is Portfolio.Cash. Pay attention to the significant drop 2016-08-09Thanks youThe 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.
Arkady M
It looks like a margin call and forced cover of the short position. Size of the position went from -4630 shares to -1912 overnight. Is it a bad print or bad handing of the reverse split?
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.
Arkady M
I did not keep the test which demonstrated the "price jump" and will try to reproduce this problem tomorrow.
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.
Alexandre Catarino
Arkady M, we could reproduce the issue and will be working on a fix.
I will keep you updated.
Meanwhile, if you wish, you can subscribe to minute data and use consolidators to create hourly bars.
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.
Arkady M
Alexandre,
I appreciate your prompt response.
I have a workaround in place - you probably have seen it in the code. I blacklist some dates. I do not trade VXX normally. I just had one idea and wanted to check it quickly and get a sense of the historical volatility. I used this opportunity to try QuantConnect and discovered a very good product.
One unrelated question . Right now I have to wait for the backtest results for long time. Especially in the east coast night hours. If I subscribe $20/month plan can I expect reduction in the waiting time ?
Thank you, Arkady.
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.
Alexandre Catarino
Normally, there is no waiting time for backtests. While you were trying to run some them, QuantConnect Backtesting Server were experiencing a higher than normal load. You can check out the system status here.
Therefore you don't need to subcribe for that reason. However, if you want to support QuantConnect and get extra features, please do subcribe!
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!