You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Needing to go through the following steps to use the portfolio functionalities is confusing. It needs to follow the structure we have in place for the rest of the OpenBB SDK (e.g. use openbb.portfolio.load or openbb.portfolio.po.load)
fromopenbb_terminal.sdkimportPortfolio# Define your own orderbook location hereorderbook_path="/Users/jeroenbouma/OpenBBUserData/portfolio/holdings/Public_Equity_Orderbook.xlsx"# Load in the transactionstransactions=Portfolio.read_orderbook(orderbook_path)
P=Portfolio(transactions)
P.generate_portfolio_data()
# Load in the benchmark, by default this is the SPY ETFP.load_benchmark()
Needing to go through the following steps to use the portfolio functionalities is confusing. It needs to follow the structure we have in place for the rest of the OpenBB SDK (e.g. use
openbb.portfolio.load
oropenbb.portfolio.po.load
)Same applies to portfolio optimisation:
The text was updated successfully, but these errors were encountered: