Strike (On Demand)

Returns the strike price for an option contract using QuoteMedia's on-demand data service.

Supported Symbol Formats

Type Format Example
Option (OCC) SYMBOL+YYMMDD+C/P+STRIKE AAPL240315C00170000

Parameters

Parameter Type Required Description
Symbol String Yes OCC-format option symbol

Notes

  • This function uses QuoteMedia's on-demand API
  • Data is fetched when the formula calculates
  • For real-time streaming data, use the QM_Stream_* functions

Syntax

=QM_Strike(Symbol)
Excel Desktop (Windows)

Parameters

symbolstringRequired

Option contract symbol (OCC format)

Returns

number

Strike price of the option contract

Examples

=QM_Strike("AAPL240315C00170000")
Strike for Apple call option
=QM_Strike("MSFT240419P00400000")
Strike for Microsoft put option
=QM_Strike(A1)
Symbol from cell reference

When to Use

  • Get strike price from option symbol
  • Verify option contract details
  • Building option analysis spreadsheets
  • Extracting strike from OCC symbols

When NOT to Use

Scenario Use Instead
Need full option chain QM_GetOptionChain()
Find ATM strike for underlying StrikeNext()
Need streaming option data QM_Stream_* functions

Common Issues & FAQ

Why am I getting an error?

Check that the symbol is in valid OCC format:

  • 21 characters total
  • Symbol + 6-digit date (YYMMDD) + C/P + 8-digit strike

How do I get the OCC symbol?

Use OptionSymbol() to generate it from underlying, expiration, type, and strike.

Related Formulas

More MarketXLS Price Quotes formulas you can use in the same worksheet:

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today
MarketXLS Excel Add-in Tutorial - How to Use Strike (On Demand) and Other Financial Formulas
How does MarketXLS work?