compare_etf
Compare ETF price returns across multiple funds for any period. Set custom dates or use a months lookback to analyze relative performance.
Instructions
Compare price returns of specific ETFs over one shared period.
Args: codes: 6-digit short codes to compare. months: Lookback when start_date is omitted. start_date: YYYYMMDD override for the period start. end_date: YYYYMMDD override for the period end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | ||
| months | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||