Back

Github Repo with Python code to parse Overview JSON Export

In case anyone is interested, I created a simple Python script to parse the JSON file you can export from QC for the backtests. You can check it out and reuse here:

https://github.com/aarongilman/qc_json_parser

 It is not as robust as the LEAN Report Creator in R, but I found it convenient for trade analysis. I have the script create a single Excel workbook with different sheets corresponding to the different levels of the JSON output from QC. Feel free to use it if you find it helpful. I am self-taught with coding so I am sure it is riddled with inefficiencies but it works well for my purposes.

 

Thanks,

Aaron

Update Backtest








Update Backtest





0

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.


Loading...

This discussion is closed