투자자별 매매동향 조회
get_investor_trendRetrieve individual, foreign, and institutional net buying trends for a stock over a period and by recent trading days. Specify dates and unit to analyze cumulative flows and daily details.
Instructions
종목의 개인/외국인/기관 순매수 동향을 조회합니다 (키움 ka10059+ka10061). 기간 합계와 최근 거래일별 내역을 함께 보여줍니다. unit: amount(금액, 백만원, 기본)/quantity(수량, 주). 같은 일자에 종가·거래량·프로그램·신용비율까지 한 행으로 묶어 보려면 get_daily_trading(view=flow), 기관·외국인이 담은 추정평균단가는 get_institution_trend, 주체를 정해 종목을 찾을 때는 get_net_buy_rank를 쓰세요. 종목코드를 모르면 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_investor_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | 단위 (기본값: amount=백만원) | |
| to_date | No | 합계 기간 종료일 (기본값: 오늘) | |
| from_date | No | 합계 기간 시작일 (기본값: 30일 전) | |
| stock_code | Yes | 6자리 종목코드 (예: 005930) |