Portfolio ToolKit #4527
Replies: 1 comment
-
Hello @mandar-gite! If you use the SDK you can load the portfolio with the following code: from openbb_terminal.sdk import openbb
import pandas as pd
P = openbb.portfolio.load(
transactions_file_path = '/Users/path_to/OpenBBUserData/portfolio/holdings/holdings_example.xlsx',
benchmark_symbol = 'VTI',
full_shares = False,
risk_free_rate = 3.0
) You can also create a new one by your own. Here's some info about the requirements from the official documentation page: https://docs.openbb.co/terminal/guides/intros/portfolio#how-to-use
Here's the guide to using the portfolio menu for the terminal referenced above: https://docs.openbb.co/terminal/guides/intros/portfolio; and here's the SDK portfolio menu introduction: https://docs.openbb.co/sdk/guides/intros/portfolio Feel free to ask if you want a more detailed explanation, clarifications or just have other questions. |
Beta Was this translation helpful? Give feedback.
-
What is the template in which the portfolio accepts the data?
Beta Was this translation helpful? Give feedback.
All reactions