get_price_history
Retrieve historical price data for a specified period or date range. Analyze OCHLCV samples, technical indicators, risk metrics, and quantitative insights for detailed market trends. Useful for short-term data checks or long-term financial analysis.
Instructions
Get historical price data digest for specified period. There're two kinds of response mode: 1. The period mode. It will generate a digest for LLM consumption. Usually get at least 3 months, 6 months or more. The response includes OCHLCV samples, Technical Indicators (by ta-lib) , Risk Metrics, and other quantitative analysis. 2. The start_date and end_date mode. Once the start_date (yyyy-mm-dd) and end_date (yyyy-mm-dd) are specified, it will generate a raw OCHLCV data in the slot. And no digest will be generated in this mode. Useful for checking the price history of a specific short date range.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_date | No | ||
period | No | 6mo | |
start_date | No | ||
ticker | Yes |