get_candles
Retrieve historical OHLCV price data for stocks within specific time ranges to analyze market trends and inform investment decisions.
Instructions
Get OHLCV candles for a symbol within a unix timestamp range.
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>",
"interval": "<interval>",
"from": "<from>",
"to": "<to>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | One of 1,5,15,30,60,D,W,M | |
| from | Yes | Unix seconds start time. | |
| to | Yes | Unix seconds end time. | |
| limit | No |