quantstats icon indicating copy to clipboard operation
quantstats copied to clipboard

Add parameters table to HTML report for better backtesting parameter tracking

Open none2003 opened this issue 4 months ago • 1 comments

Hello @ranaroussi,

During my routine backtesting tasks, I noticed that it can sometimes be challenging to keep track of which report corresponds to specific parameters, especially when dealing with numerous variables. Inspired by the quantstats derivative project, quantstats_lumi, I took the initiative to enhance the qs.reports.html method by adding a "parameters" argument. This new feature accepts a dictionary and displays it in a table format within the HTML report, conveniently placed right after the "Worst 10 Drawdowns" section. I believe this addition could be valuable to others facing similar difficulties.

I have submitted a pull request for this enhancement. At your convenience, I would greatly appreciate it if you could review it, and if it meets your expectations, kindly consider merging it. Thank you very much for your time and consideration!

none2003 avatar Sep 06 '25 03:09 none2003

I'll be updating my quantstats next weekend and can work this in.

datatalking avatar Nov 06 '25 00:11 datatalking