시장 지수 조회
get_market_indexRetrieve KOSPI/KOSDAQ comprehensive and sector indices. Use each row's code as a sector_code to fetch related sector prices or constituent stocks.
Instructions
코스피/코스닥 종합지수와 업종별 지수를 조회합니다 (키움 ka20003). 첫 행이 시장 종합지수, 이후는 업종 지수입니다. 각 행의 '코드'는 get_sector_price / get_sector_stocks의 sector_code로 사용할 수 있습니다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | 시장 구분 (기본값: kospi) |