Price line chart
price_chartRetrieve a stock symbol's price line chart for timeframes from today to 5 years, including price points, percentage change, volume, and drawdown to analyze trend and performance.
Instructions
The price line of one symbol for a timeframe (today, 1w, 1m, 3m, ytd, 1y, 3y, 5y), as on the stock page.
Returns (Stockbit's data field): data{timeframe, xaxisopt 'intraday', chart_type PRICE_CHART_TYPE_LINE, allowed_chart_type[], interval_in_minutes, max_candles, previous, change, percentage, cagr, drawdown, line_weight, markingpoint, prices[{date (epoch ms string), formatted_date 'YYYY-MM-DD HH:mm:ss', xlabel, value, percentage, change, open, high, low, volume}], previous_timeframe_price{...}}.
Endpoint: GET exodus /charts/{symbol}/daily.
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_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | to | |
| from | No | Range variant (getEmitenDailyChartByRange). | |
| symbol | Yes | symbol | |
| interval | No | Range variant; only value seen. | |
| timeframe | No | Mutually exclusive with from/to/interval variant. Default "today". | |
| is_include_previous_historical | No | Sent for ytd/1w (and porto IHSG 5y). |