get_fund_chart
Retrieve historical fund performance data to visualize NAV trends over customizable time periods from one week to five years.
Instructions
Get fund chart data with historical performance.
Returns time series data showing fund performance over the selected period. Perfect for visualizing fund NAV history and performance trends.
Args: ctx: MCP context for logging instrument_id: Avanza fund ID from search results time_period: Time period for chart data. Options: - "one_week": Past week - "one_month": Past month - "three_months": Past 3 months - "one_year": Past year - "three_years": Past 3 years (default) - "five_years": Past 5 years - "this_year": Year to date
Returns: Chart data with: - id: Fund identifier - name: Fund name - dataSerie: Array of data points with timestamp (x) and value (y) - fromDate: Start date of chart data - toDate: End date of chart data
Examples: Get 3-year performance chart: >>> get_fund_chart(instrument_id="41567", time_period="three_years")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instrument_id | Yes | ||
| time_period | No | three_years |