mhallsmoore / qstrader

QuantStart.com - QSTrader backtesting simulation engine.
https://www.quantstart.com/qstrader/
MIT License
2.93k stars 855 forks source link

Update tearsheet.py #232

Closed frankier234 closed 7 months ago

frankier234 commented 7 years ago

Add save bool to start_trading function and include filename in call of plot_results such that png of tearsheet is saved.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 57.143% when pulling f5b88753fe906a4d778e2d40cd444f2028de3660 on frankier234:patch-1 into dfa66932a882f38c5d172ee3d5e28871806f3ad1 on mhallsmoore:master.

juliettejames commented 7 months ago

Thanks for getting in touch.

We have added this functionality to QSTrader 0.2.6.

An optional filename string can be passed to the plot_results method in the TearsheetStatistics class. If passed, the tearsheet output will be saved to the filename.