주식 차트 조회 (일/주/월/년/분/틱봉)
get_stock_chartFetch candlestick chart data for a stock code, supporting day, week, month, year, minute, and tick periods. Adjust count, minute scope, or tick scope to control chart detail.
Instructions
종목의 캔들 차트 데이터를 조회합니다 (키움 ka10079~ka10083/ka10094, 수정주가 반영). period: day(일봉, 기본)/week(주봉)/month(월봉)/year(년봉)/minute(분봉)/tick(틱봉). 분봉은 minute_scope로 분 단위를, 틱봉은 tick_scope로 캔들당 틱 수를 지정합니다. 종목코드를 모르면 search_stock으로 먼저 찾으세요.
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": "get_stock_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 캔들 개수 (기본값 30, 최대 200) | |
| period | No | 봉 주기 (기본값: day) | |
| stock_code | Yes | 6자리 종목코드 (예: 005930) | |
| tick_scope | No | period=tick일 때 캔들당 틱 수 (기본값: 30) | |
| minute_scope | No | period=minute일 때 분 단위 (기본값: 5) |