Hi,
I am new to QuantConnect. And we are checking out how it works.
We found CustomDataBitcoinAlgorithm.py close to what our requirement is. The Backtest run is successful and self.Debug logs are printed successfully.
But when running in LiveMode we don't see any prints. No changes to existing code is made.
https://raw.githubusercontent.com/QuantConnect/Lean/master/Algorithm.Python/CustomDataBitcoinAlgorithm.py
Not sure what we are missing here. Tried reading many threads here but none helped.
PS: Would be awesome if we could simply using print() in Classes to debug the logic.
Derek Melchin
Hi Parth,
We will look into why this is not working. But if the goal is to trade crypto, I recommend using our built-in crypto data. Consider reviewing our documentation on crypto data and utilizing the BasicTemplateCryptoAlgorithm as an example.
In regards to debugging, check out our Logging and Debugging documentation.
Best,
Derek Melchin
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.
Parth Kulkarni
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!