tushare_get_index_components
Fetch constituent stocks and their weights for a given index code through Tushare to analyze index composition and portfolio exposure.
Instructions
Get constituent stocks of an index (Tushare API: index_weight).
Args:
index_code: Index code (e.g., "000300.SH" for CSI 300)
Returns:
dict: List of constituent stocks with weight
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_code | No | 000300.SH |