From 4548abb45ef4300fcbb16e8cae0db674644ba303 Mon Sep 17 00:00:00 2001 From: Colin Delahunty <72827203+colin99d@users.noreply.github.com> Date: Fri, 17 Mar 2023 17:11:58 -0400 Subject: [PATCH] Hotfix/3591 (#4519) * Step one: error handle Option class * Step one: error handle Option class * Handle unfindable --- openbb_terminal/portfolio/portfolio_view.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openbb_terminal/portfolio/portfolio_view.py b/openbb_terminal/portfolio/portfolio_view.py index 67ce2c4fdd9..4dae976c2cb 100644 --- a/openbb_terminal/portfolio/portfolio_view.py +++ b/openbb_terminal/portfolio/portfolio_view.py @@ -753,17 +753,17 @@ def display_distribution_returns( Parameters ---------- - portfolio_returns : pd.Series - Returns of the portfolio - benchmark_returns : pd.Series - Returns of the benchmark - interval : str - interval to compare cumulative returns and benchmark - raw : False + portfolio_engine : PortfolioEngine + The engine for the portfolio + window: str + The window + raw : bool Display raw data from cumulative return export : str Export certain type of data - external_axes : bool, optional + sheet_name: Optional[str] + The name for the sheet + external_axes : bool Whether to return the figure object or not, by default False """