Hi, Is there a way to download partial live log?
I saw an earlier post a few years ago saying that it can only be done if I run lean locally. Can this be done via the web console or is there any sample code which I can use to download partial log. thks!
Louis Szeto
Hi Pranava
Please follow the docs for lean logs --live on displaying the most recent live logs.
Best
Louis
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.
Pranava
Hi Louis,
When I run lean logs --project <ProjectName>, it shows no backtest log file exists.
When I run lean logs --live --project <ProjectName>, it shows no live log file exists.
I have both backtest and live logs for the project running in QC cloud. Did I do something wrongly?
I can't find the option to download partial logs for a certain date period also. Reason I like to do this is because the live log is quite huge and I do not want to download so much data.
Louis Szeto
Hi Pranava
The lean logs command is only intended to use with local backtest and live deployment. In QC cloud, you may just download the logs in the log tab of live deployment's result.
Best
Louis
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.
Pranava
Hi Louis,
Hope there will be a plan to allow for download of partial logs based on datetime range. That will be really helpful!
Best regards
Louis Szeto
Hi Pranava
It is doable via the API, although a bit more complex. Check out how to log into the API, and how to read live logs. It offers options to filter logs within a time range.
Best
Louis
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.
Pranava
Hi Louis Szeto,
I faced some issue with calling the live portfolio using API. posted it in another thread cos thought its more of API call issue.
Can help take a look? Thanks!
Pranava
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!