获取自选基金
get_watchlist_fundsRetrieve fund lists from a watchlist group, returning fund codes, names, and target allocations. Pass a user ID to view another user's watchlist.
Instructions
获取某个自选基金分组下的基金列表,返回基金代码、名称、目标仓位。支持查看他人自选基金(传入 user_id)。建议先用 get_watchlists / get_user_watchlists 获取基金分组 pid。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | 基金分组ID。默认 -110=全部基金。常用:-17=基金、-16=私募、-160=公募。可从 get_watchlists / get_user_watchlists 获取 | |
| user_id | No | 可选,指定查看哪个用户的自选基金(用户ID,纯数字)。不传则查看自己的 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| funds | Yes |