get_chart
Get historical candlestick (OHLCV) data for a stock code. Customize timeframe (day, week, month) and number of periods up to 500.
Instructions
캔들차트 OHLCV — 종목의 시계열 캔들 데이터(시가/고가/저가/종가/거래량, candlestick OHLCV). "삼성전자 일봉", "3개월 주봉", "월봉 데이터", "price history" 같은 질문에 사용. 시계열 진입점(US는 get_us_chart).
보조지표(이평선·RSI·MACD 등)는 사용자가 명시 요청할 때만 get_indicators로 숫자만 받아 요약.
Args: code: 종목코드 6자리 (예: "005930") timeframe: "day"(일봉), "week"(주봉), "month"(월봉) count: 가져올 봉 개수 (기본 120 ≈ 6개월, 최대 500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| timeframe | No | day | |
| count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |