Option Expire Maximum
Returns the furthest available expiration date for options on a given underlying stock using QuoteMedia's data service.
Supported Symbol Formats
| Type | Format | Example |
|---|---|---|
| US Stocks | SYMBOL | AAPL, MSFT |
| ETFs | SYMBOL | SPY, QQQ |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Symbol | String | Yes | Underlying stock ticker |
| OnDate | Date | Yes | Reference date |
Notes
- Returns the LEAPS or furthest-dated expiration
- Different stocks have different maximum expirations
- Liquid stocks typically have longer-dated options
Examples
=QM_GetOptionExpireMaximum("AAPL", DATE(2024,3,15))=QM_GetOptionExpireMaximum("SPY", TODAY())=QM_GetOptionExpireMaximum(A1, B1)When to Use
- Finding LEAPS options
- Long-term options strategies
- Determining available expirations
- Planning long-dated positions
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Need nearest expiration | QM_GetOptionExpireMinimum() |
| Need all expirations | QM_GetOptionChain() |
| Need next N expirations | ExpirationNext() |
Common Issues & FAQ
Q: Why do some stocks have longer expirations? A: Liquid, popular stocks (AAPL, SPY) typically have LEAPS extending 2+ years. Less liquid stocks may only have 6-12 months of expirations.
Q: What are LEAPS? A: Long-Term Equity Anticipation Securities are options with expirations typically 1-3 years out.
Q: What date format should I use? A: Use Excel's DATE() function: DATE(2024,3,15) for March 15, 2024.
