get_candles
Retrieve stock candle chart data for KRX and US markets with pagination using the 'before' parameter. Specify symbol, interval (1m or 1d), count, and adjust option.
Instructions
종목 캔들 차트 조회. before로 페이지네이션 (응답의 nextBefore 사용).
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": {
"symbol": "<symbol>",
"interval": "<interval>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 조회 봉 수 (최대 200, 기본 100) | |
| before | No | 페이지네이션 상한 (ISO 8601, inclusive) | |
| symbol | Yes | 종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL) | |
| adjusted | No | 수정주가 적용 여부 (기본 true) | |
| interval | Yes | 봉 단위: 1m(분봉) | 1d(일봉) |