get_ohlc
Fetch historical OHLCV data for Vietnamese stocks in 1H, 4H, or 1D from VNDIRECT, with 4H auto-derived from 1H.
Instructions
Lấy dữ liệu nến (OHLCV) lịch sử của 1 mã cổ phiếu Việt Nam từ VNDIRECT, theo khung 1H, 4H hoặc 1D. Khung 4H được tự tổng hợp từ nến 1H vì VNDIRECT không có sẵn khung này.
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>",
"resolution": "<resolution>"
},
"name": "get_ohlc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Số nến muốn lấy, tối đa 500 | |
| symbol | Yes | Mã cổ phiếu, ví dụ HPG, VNM, FPT | |
| resolution | Yes | Khung thời gian nến |