get_historical_price_on_date
Retrieve a stock, ETF, or crypto historical price for a specific date (or nearest trading day) using its ticker and a YYYY-MM-DD date.
Instructions
Get historical price for a specific date.
Args: ticker: Stock ticker symbol date: Date in YYYY-MM-DD format (e.g., "2024-01-15")
Returns: Price on that date (or closest trading day)
Example: >>> await get_historical_price_on_date("AAPL", "2024-01-15")
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": {
"ticker": "<ticker>",
"date": "<date>"
},
"name": "get_historical_price_on_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |