get_close_history
Daily close-price history for a stock, ETF, or crypto pair over a selected range. Summary stats by default (start, end, high close, low close, percent change). Optionally returns the most recent N daily closes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Time range. Defaults to 1Y. | |
| ticker | Yes | Ticker (e.g. AAPL, SPY) or crypto pair (e.g. BTC-USD, ETH-USD). | |
| interval | No | Sampling interval for the returned closes (last close of each week/month). Defaults to daily. Combine with range='ALL' and include_recent=60 for up to 5 years of monthly closes. | |
| asset_type | No | Asset type. Defaults to 'stock'. Use 'crypto' for pairs like BTC-USD. | |
| include_recent | No | Optional: also return the most recent N closes at the chosen interval (max 60). |