get_options_by_moneyness
Retrieve options filtered by moneyness for any stock ticker and expiration date. Customize the moneyness range to focus on in-the-money or out-of-the-money contracts.
Instructions
Retrieve options filtered by moneyness for a given ticker and expiration date.
Args: ticker (str): The symbol of the security. expiration_date (str | None, optional): The expiration date as a string. If None, uses the nearest expiration. moneyness_range (float, optional): The moneyness range for filtering. Defaults to 0.1.
Returns: dict: Options data filtered by moneyness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| expiration_date | No | ||
| moneyness_range | No |