Total Open Interest
Returns the total options open interest for an underlying stock. Open interest represents the total number of outstanding option contracts.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| Underlying | Yes | - | Stock ticker symbol |
| OptionType | No | all | 'all', 'call', or 'put' |
| ExpirationDate | No | all | Specific date or 'all' |
| Strike | No | all | Specific strike or blank |
Understanding Open Interest
- OI = total outstanding contracts
- High OI indicates significant market positioning
- OI accumulates over time
- OI decreases when positions are closed
Notes
- Open interest is updated end of day by OCC
- OI can indicate support/resistance levels
- Large OI at strikes = market maker hedging activity
Syntax
=opt_TotalOpenInterestOptions(Underlying, [OptionType], [ExpirationDate], [Strike])Parameters
Returns
Total options open interest
Examples
=opt_TotalOpenInterestOptions("AAPL")=opt_TotalOpenInterestOptions("AAPL", "call")=opt_TotalOpenInterestOptions("AAPL", "put")=opt_TotalOpenInterestOptions("SPY", "all", "2024-01-19")=opt_TotalOpenInterestOptions("TSLA", "call", "all", 250)When to Use
- Analyzing market positioning
- Identifying support/resistance from options
- Measuring overall options market interest
- Comparing call vs put positioning
- Analyzing OI by expiration
When NOT to Use
| Scenario | Use Instead |
|---|---|
| Need volume | opt_TotalVolumeOptions() |
| Need top contracts | TopOptionsByOpenInterest() |
| Need put/call OI ratio | opt_PutCallOIRatio() |
| Need historical OI | opt_TotalOpenInterestOptionsHistorical() |
Common Issues & FAQ
Why is OI different from volume?
Volume = contracts traded today (resets daily). OI = total outstanding contracts (accumulates over time).
When is OI updated?
Open interest is calculated and published by the OCC at end of each trading day.
How do I use OI for support/resistance?
Large put OI at a strike can act as support. Large call OI at a strike can act as resistance.
Excel Templates Using Total Open Interest
These ready-made MarketXLS templates call opt_TotalOpenInterestOptions() in their worksheet formulas. Open one to see the function working inside a complete model.
Related Formulas
More MarketXLS Options formulas you can use in the same worksheet:
- Unusual Option OI Scan EOD
- Unusual Option Volume Scan EOD
- Unusual Option Volume/OI Scan EOD
- Unusual Stock Options Activity
- Vanna Volga Option Value
- Vol/OI Ratio
- Volume Ratio
- Volume Ratio (Specific Expiry)
See opt_TotalOpenInterestOptions used in a complete workbook: MCP Options Order Flow Server: Read Options Flow in Claude and Excel (2026)
