시장 지수 조회
get_market_indexRetrieve KOSPI/KOSDAQ composite and sector indices. Returns sector codes you can use to query sector prices or stocks.
Instructions
코스피/코스닥 종합지수와 업종별 지수를 조회합니다 (키움 ka20003). 첫 행이 시장 종합지수, 이후는 업종 지수입니다. 각 행의 '코드'는 get_sector_price / get_sector_stocks의 sector_code로 사용할 수 있습니다.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | 시장 구분 (기본값: kospi) |