stock_history
Fetch historical open, high, low, close, and volume (OHLCV) data for Vietnamese stocks. Define symbol, date range, and interval to analyze past price movements.
Instructions
Get historical OHLCV price data for a Vietnamese 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": {
"symbol": "<symbol>"
},
"name": "stock_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date YYYY-MM-DD (default: today) | |
| start | No | Start date YYYY-MM-DD (default: 30 days ago) | |
| source | No | Data source - VCI or KBS (default: VCI) | VCI |
| symbol | Yes | Stock ticker symbol (e.g. VNM, FPT, ACB, VCB) | |
| interval | No | Time interval - 1m, 5m, 15m, 30m, 1H, 1D, 1W, 1M (default: 1D) | 1D |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |