I have an algorithm where I am running a trade bar consolidator for two separate stocks, QQQ and SPY. When I run a back test I get a 15 minute bar RSI value that is correct. However, when I run the algorithm live the RSI value is not correct and is substantially off from the back test and from actual data from other sources. The backtest matches nearly perfect to the other sources. If I back test over the same day and compared it to my live algorithm it is not the same.
I can’t really figure out how this is possible. The only thing I can consider is that maybe I was pulling the data from interactive brokers instead of quantconnect on my live algorithm and that’s causing the discrepancy in outcome? Tomorrow I will run the algorithm live with quantconnect data and see it that’s the issue.
Has anyone else ran into this type of problem?
David Eldringhoff
We can remove this if you guys want. I think the issue was the feed for data was interactive brokers. When I switched the live algo data to quantconnect the values are correct and match both reality and backtesting data.
Thanks
David Eldringhoff
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!