My Portfolio
get_portfolioReturn the user's whole portfolio (listed stocks plus cash, crypto, ETF and physical assets) valued at the latest prices, with return and asset allocation. Crypto and ETFs use live ccxt quotes, stocks the latest close in the database, cash and physical assets the registered amount. allocation is aggregated per currency; combined converts everything to KRW using the FRED DEXKOUS rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| notes | No | ||
| holdings | No | ||
| allocation | No | ||
| total_value | No |