get_volatility_metrics
Get volatility metrics for a stock ticker over a specified time period. Use this data to assess market risk and price fluctuations.
Instructions
Retrieve volatility metrics for a given ticker and period.
Args: ticker (str): The symbol of the security. period (str, optional): Time period for metrics (e.g., '1y'). Defaults to '1y'.
Returns: VolatilityMetricsDict: Volatility metrics data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| period | No | 1y |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily_volatility | No | ||
| annualized_volatility | No | ||
| max_daily_gain_percent | No | ||
| max_daily_loss_percent | No | ||
| positive_days | No | ||
| negative_days | No | ||
| total_trading_days | No | ||
| positive_days_percentage | No |