Open MichaelQuaMan opened 2 years ago
Issue qs.report.html() function signature doesn't support file as an argument.
qs.report.html()
file
Call results in:
"TypeError: html() got an unexpected keyword argument 'file'". The correct argument is `output`.
Support
qs.report.html() signature:
def html(returns, benchmark=None, rf=0., grayscale=False, title='Strategy Tearsheet', output=None, compounded=True, periods_per_year=252, download_filename='quantstats-tearsheet.html', figfmt='svg', template_path=None, match_dates=False):
and
Argument output usage:
output
with open(output, 'w', encoding='utf-8') as f: f.write(tpl)
Issue
qs.report.html()
function signature doesn't supportfile
as an argument.Call results in:
Support
qs.report.html()
signature:and
Argument
output
usage: