Search and rank funds
fp_search_fundsSearch Iranian mutual funds and ETFs by name, type, or manager, then rank them by return or size to find funds matching your criteria.
Instructions
Search Iranian mutual funds and ETFs by name, type or manager, and rank them by return or size.
Use for "best fixed income funds this year", "biggest gold funds", "funds managed by X". Each row has reg_no and group_id: pass them to fp_fund, fp_history or fp_compare. Returns are percent; size is billion Toman.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return. | |
| query | No | Part of the fund name, ticker or manager, Persian (e.g. 'کیان', 'طلا', 'آگاه'). | |
| manager | No | Part of the fund manager's name, e.g. 'آگاه'. | |
| sort_by | No | Ranking column; returns are percent over that period. | annual |
| ascending | No | True lists the lowest first. | |
| fund_type | No | Type id or name: 4 fixed income (درآمد ثابت), 5 gold/commodity, 6 equity (سهام), 7 mixed (مختلط), 21 sector, 22 leveraged, 23 index, 25 pension... English words work too: fixed_income, gold, equity, mixed. fp_fund_types lists all. | |
| min_age_years | No | Only funds older than this; use it so 'annual' returns are not from a young fund. | |
| exchange_traded | No | True: only funds traded on the exchange like shares (ETFs, with a ticker). False: only funds you buy and redeem at NAV. Omit for both. | |
| min_size_bn_toman | No | Only funds at least this big, in billion Toman. | |
| include_market_makers | No | Also list market-maker funds (type 11, over 1000 series, rarely wanted). |