Historical prices (daily/weekly/monthly)
price_historyRetrieve historical OHLC, price changes, volume, value, frequency, and foreign buy/sell data for a stock symbol by day, week, or month, with date ranges defaulting to the past year.
Instructions
OHLC, change, volume, value, frequency and foreign buy/sell per day (or week/month) for one symbol. Dates default to the last year.
volume is lots; values IDR. Page through with page.
Returns (Stockbit's data field): data{result[{date, open, high, low, close, average, change, change_percentage, value (IDR), volume (LOTS), frequency, foreign_buy, foreign_sell, net_foreign (IDR)}], paginate{next_page}} newest first.
Endpoint: GET exodus /company-price-feed/historical/summary/{symbol}.
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": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Follow paginate.next_page until it equals current page. Default 1. | |
| limit | No | 12 in compact widget. Default 50. | |
| period | No | period Default "HS_PERIOD_DAILY". | |
| symbol | Yes | symbol | |
| end_date | No | Last date, YYYY-MM-DD. Default today. | |
| start_date | No | First date, YYYY-MM-DD. Default one year ago. |