diff --git a/openbb_terminal/portfolio/portfolio_controller.py b/openbb_terminal/portfolio/portfolio_controller.py index ff845f6dbd1..ef9ad671187 100644 --- a/openbb_terminal/portfolio/portfolio_controller.py +++ b/openbb_terminal/portfolio/portfolio_controller.py @@ -476,7 +476,9 @@ class PortfolioController(BaseController): "[red]Please first load transactions file using 'load'[/red]" ) else: - if self.portfolio.set_benchmark(ns_parser.benchmark, ns_parser.full_shares): + if self.portfolio.set_benchmark( + ns_parser.benchmark, ns_parser.full_shares + ): self.benchmark_name = statics.BENCHMARK_CHOICES.get( ns_parser.benchmark, ns_parser.benchmark )