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
Sorry seems like a simple question; but when you plot a stock using the QC terminal are you plotting the close or the open or the mid or what..?
I am manually calculating the close each period for other purposes, so would have expected the line of my manually calculated close to be the same as the stock plot but they are different.
Even for GOOGL they are slightly different. Can someone please explain?
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.
Jack Simonson
,
Hi Hugo,
The stockplot plots the Close price at the relevant frequency. However, it plots the most recent available TradeBar and so it is delayed by one period relative to the plot that you're creating. The issue with GOOG specifically is that GOOGL isn't available to be plotted in stockplot and so it is GOOG that is being plotted. You can see an example of this one-day lag in the backtest I've attached below, and there is more information about this in this forum post.
0
Hugo Lu
219
,
OK great - thanks a lot that helps. So just to clarify: why isnt GOOGL available to be plotted and GOOG is a stock that is something other than Google - correct..? (Well, alphabet but you know what I mean)
Thanks!
0
Jack Simonson
,
GOOG and GOOGL swapped ticker names a while ago and there was a shuffle with how Google/Alphabet trade. Since GOOG was the original ticker listed, we use that one for Google/Alphabet historical plot.
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!