Skip to content

Commit

Permalink
Merge pull request #7 from kartiksubbarao/patch-1
Browse files Browse the repository at this point in the history
Update reports.py
  • Loading branch information
grzesir authored Feb 7, 2024
2 parents 0099f9b + e6f1b39 commit d4e8f6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quantstats_lumi/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def html(
)
tpl = tpl.replace("{{dd_info}}", dd_html_table)

active = kwargs.get("active_returns", "False")
active = kwargs.get("active_returns", False)
# plots
figfile = _utils._file_stream()
_plots.returns(
Expand Down Expand Up @@ -530,7 +530,7 @@ def full(
if benchmark is not None:
benchmark_title = kwargs.get("benchmark_title", "Benchmark")
strategy_title = kwargs.get("strategy_title", "Strategy")
active = kwargs.get("active_returns", "False")
active = kwargs.get("active_returns", False)

if (
isinstance(returns, _pd.DataFrame)
Expand Down Expand Up @@ -684,7 +684,7 @@ def basic(
if benchmark is not None:
benchmark_title = kwargs.get("benchmark_title", "Benchmark")
strategy_title = kwargs.get("strategy_title", "Strategy")
active = kwargs.get("active_returns", "False")
active = kwargs.get("active_returns", False)

if (
isinstance(returns, _pd.DataFrame)
Expand Down

0 comments on commit d4e8f6c

Please sign in to comment.