In my backtests, my algo updates charts and indicators every 30 minutes as programmed in my code with a 30 minute consolidator.
Strangely, in paper trading the indicators and charts update every ten minutes, which looks to be part of lean functionality, https://www.quantconnect.com/docs/v2/writing-algorithms/live-trading/charting-and-logging
My code works like the following:
In my OnData method, I test to see whether my consolidator was recently updated (within the last minute), if it is, I then update my indicators and update the charts. I have a method called plot_indicators() which updates the charts and is called within the OnData() method if the consolidator was recently updated.
I'd like to override this Live Trading behavior and ensure that my strategy indicators update at the frequency that they update in backtests as an attempt to reconcile the strategy. Any help on this is appreciated.
Daniel Oliver
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!