get_candles
Retrieve OHLCV candle data for Korean and US stocks, including 1-minute and daily bars, with newest-first results and pagination using the previous response's nextBefore value.
Instructions
종목의 캔들(OHLCV)을 최신순으로 조회한다 (분봉·일봉, 최대 200개).
과거로 넘기려면 응답의 nextBefore 를 before 에 넣는다. 1분봉은 국내 2022-11-23, 미국 2021-12-01 이전 데이터가 없다.
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>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 봉 개수 (최대 200) | |
| before | No | 이 시각(ISO 8601, 포함) 이전 봉만 조회. 다음 페이지는 이전 응답의 nextBefore 값을 넣는다 | |
| symbol | Yes | 종목 심볼. 국내는 6자리 종목코드(예: 005930), 미국은 티커(예: AAPL) | |
| adjusted | No | 수정주가 적용 여부 | |
| interval | No | 봉 단위: 1m 분봉, 1d 일봉 | 1d |