tushare_get_index_daily
Retrieve daily OHLCV K-line data for a stock market index over a specified date range using Tushare.
Instructions
Get index daily K-line data (Tushare API: index_daily).
Args:
index_code: Index code (e.g., "000300.SH" for CSI 300, "000001.SH" for Shanghai)
start_date: Start date in YYYYMMDD format
end_date: End date in YYYYMMDD format
Returns:
dict: Index OHLCV data
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"index_code": "<index_code>"
},
"name": "tushare_get_index_daily"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| index_code | Yes | ||
| start_date | No |