Portfolio allocation
get_portfolio_allocationView how a Thndr portfolio is weighted by market value and grouped by asset class and sector for Egypt, US, UAE, or simulator markets.
Instructions
All markets: holdings weighted by market value and grouped by asset class and by sector ("Unclassified" or "Funds (no sector)" when Thndr gives none). Egypt (and the simulator, through Egypt's data): sectors from the market snapshot and buckets by index membership (EGX30, EGX70 EWI, Shariah…; they overlap and do not sum to 100%). US and UAE: sectors from instrument details (at most 30 holdings, heaviest first) and no index buckets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | Market: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading) | egypt |