# Option & Expiration Availability

## Option & Expiration Availability

If the option leg or expiration you choose isn't available based on your settings, you'll receive a 'Requested option not found' error or a 'No option expiration available' warning.

For example, if you choose an expiration date that is 'exactly 30 days,' but there are no option contracts available for the underlying security, you'll receive a warning.

<figure><img src="https://2799944806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYjluAVRcRcfh1YL43z%2Fuploads%2FohM1RFYVjojRlKlP0Vcp%2Fimage.png?alt=media&#x26;token=335a4efd-ddf3-4ad8-bc74-f4c8a5e4f3fc" alt=""><figcaption></figcaption></figure>

Similarly, when [opening positions](https://optionalpha.com/help/automated-trades), you can specify detailed instructions for each leg, but there may not always be an option contract that meets your criteria.

If you select a specific criteria, such as 'Long call leg is $5 above short call leg **exactly**,' and there's no option contract that fits that description, you'll receive an error.

<figure><img src="https://2799944806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYjluAVRcRcfh1YL43z%2Fuploads%2FcpTJQMX6nQnlsYAtuHEQ%2Fimage.png?alt=media&#x26;token=172079ed-d074-4fa8-bd52-1d766377be89" alt=""><figcaption></figcaption></figure>

To avoid these errors and warnings, you can use the ['Opportunity is available' decision recipe](https://optionalpha.com/help/evaluating-opportunity-availability) to check if the exact position is available. If it's not available, the automation will stop without alerting you. This can help you avoid multiple notifications. Once the position type becomes available, the automation will continue as usual. It's worth noting that more option contracts typically become available as expiration approaches and demand for options increases.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.optionalpha.com/technical-documentation/troubleshooting/option-and-expiration-availability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
