okama.Portfolio.table

property Portfolio.table

Return table with security name, ticker, weight for assets in the portfolio.

Returns:
DataFrame

Security name - ticker - weight table.

Examples

>>> pf = ok.Portfolio(["MSFT.US", "AAPL.US"])
>>> pf.table
                asset name   ticker  weights
0  Microsoft Corporation  MSFT.US      0.5
1              Apple Inc  AAPL.US      0.5