compare_assets
Line up 2 to 10 assets over one date range to see total and annualized return, volatility, and maximum drawdown for each, plus rankings in a chosen currency.
Instructions
Put 2 to 10 assets side by side over one common date window: total and annualized return, volatility and maximum drawdown for each. Use it to compare assets or an asset against an index. Returns are nominal, each in its own currency; assets priced in different currencies (a share in TRY, gold in USD) are also measured in one currency and ranked in it. Ratios are fractions (0.12 means 12%).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional ISO end date; defaults to today. | |
| start | No | Optional ISO start date, e.g. '2023-01-01'. | |
| period | No | Lookback ending at `end`. Ignored when `start` is given. | 1y |
| symbols | Yes | 2 to 10 symbols from search_assets. | |
| currency | No | Currency to compare in when the assets are priced in different currencies, e.g. 'USD'. Default: TRY when one of them is priced in TRY, else the first asset's currency. |