kis_get_domestic_stock_chart
Retrieve domestic stock OHLCV (open, high, low, close, volume) data for daily, weekly, monthly, or yearly periods within a specified date range. Returns recent data if dates are not specified.
Instructions
국내주식 일/주/월/년별 OHLCV 데이터를 날짜 범위로 조회합니다. 날짜 미지정 시 최근 데이터 반환.
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": {
"stock_code": "<stock_code>"
},
"name": "kis_get_domestic_stock_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | 'real' 또는 'demo' | real |
| market | No | 시장코드: J(KRX, 기본값), NX, UN | J |
| period | No | 기간구분: D(일봉), W(주봉), M(월봉), Y(년봉) | D |
| adjusted | No | 수정주가: '1'(반영, 기본값), '0'(미반영) | 1 |
| end_date | No | 종료일 YYYYMMDD (예: '20241231', 미입력 시 오늘) | |
| start_date | No | 시작일 YYYYMMDD (예: '20240101', 미입력 시 최초일) | |
| stock_code | Yes | 종목코드 6자리 (예: '005930') |