btreport icon indicating copy to clipboard operation
btreport copied to clipboard

Extension for creating Performance Reports with Backtrader

Objective

Create a 1 page PDF Performance report for any backtest.

Installation (local)

$ git clone https://github.com/Oxylo/btreport.git
$ cd btreport
$ pip install -r requirements.txt

Example

$ python example.py outputdir/for/report

like so:

$ python example.py /home/user/Desktop

Windows users

The program has been deveveped and tested on Linux. Windows users may face some problems installing the weasyprint library, for instructions see: http://weasyprint.readthedocs.io/en/latest/install.html#windows

Output

PDF Performance Report is written to given outputdir:

Alt text