Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] SDK - openbb.portfolio.distr_chart - Parameters in docstrings are not valid #3591

Closed
deeleeramone opened this issue Nov 26, 2022 · 0 comments · Fixed by #4519
Closed
Assignees
Labels
bug Fix bug help-wanted platform OpenBB Platform portfolio Portfolio menu

Comments

@deeleeramone
Copy link
Contributor

help(openbb.portfolio.distr_chart)

Help on Operation in module openbb_terminal.core.library.operation:

<openbb_terminal.core.library.operation.Operation object>
    Display daily 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
        Display raw data from cumulative return
    export : str
        Export certain type of data
    external_axes: plt.Axes
        Optional axes to display plot on
openbb.portfolio.distr_chart(P)

Screenshot 2022-11-25 at 7 19 34 PM

openbb.portfolio.distr_chart(portfolio_engine=P, interval = 90)
Error: display_distribution_returns() got an unexpected keyword argument 'interval'
@deeleeramone deeleeramone added portfolio Portfolio menu platform OpenBB Platform labels Nov 26, 2022
@colin99d colin99d self-assigned this Mar 17, 2023
@colin99d colin99d mentioned this issue Mar 17, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug help-wanted platform OpenBB Platform portfolio Portfolio menu
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants