Hello, I am working on recreating information in the backtest page because currently we are only able to get the report locally, not the other info in the backtest page ( https://github.com/QuantConnect/lean-cli/issues/215 ).
I was able to create a Quanconnect.Chart object fine via the parsing the backtest json. However when I do qb.AddChart(drawdownChart) , nothing is displayed. qb.Plot seems to require a value, which I don't need because i already added the series from the json. How can I display the chart in the research environment?
I am aware we can use charting librarys as seen here: https://www.quantconnect.com/docs/v2/research-environment/charting?ref=v1
But i figure there is probably a way to easily the display the Quantconnect.Chart object ( https://www.quantconnect.com/docs/v2/writing-algorithms/charting ).
Nico Xenox
Hey No Name,
you can access the drawdown chart the following way:
Hope it helps ;)
Non Compete
Thank you Nico! I was thinking there would be a QuantBook function like chart.show() , but using plotly works as well.
Non Compete
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!