My live algo trades futures M-F but for some reason I'm not getting any logs at all today as if no data is getting fed into OnData but the futures market is open. Any thoughts?
Happy 4th by the way!
QUANTCONNECT COMMUNITY
My live algo trades futures M-F but for some reason I'm not getting any logs at all today as if no data is getting fed into OnData but the futures market is open. Any thoughts?
Happy 4th by the way!
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.
Mia Alissi
It's important to add logging statements to your live algorithms to understand its behavior and keep records to compare against backtest results. If you don't add logging statements to a live algorithm and the algorithm doesn't trade as you expect, it's difficult to evaluate the underlying problem.
Here is an example of how to add logging statements to your algorithm:
This will only log when your algorithm is live. Remember, if you run algorithms on QuantConnect, you must stay within the log quota.
If you're still not seeing any logs, it's possible that your algorithm isn't receiving any data. Make sure that your data subscriptions are set up correctly. If you're using consolidators, ensure that they're properly configured and added to your data subscriptions.
If you're still having issues, please share more details or the relevant parts of your code. It's hard to diagnose the problem without more information.
Happy 4th of July!
Sources:
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.
David E
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!