Guide
What is an OCC option symbol, and do I type one in Nyria?
An OCC symbol is the standard code for one option contract. You never type one in Nyria. Give the ticker, expiration, strike and side. Nyria builds the symbol.
Official documentation
Read an OCC option symbol
- 1
Take the root
SPY271217C00780000 starts with the ticker, SPY.
- 2
Read the date
The next six digits are year, month and day. 271217 is Dec 17, 2027.
- 3
Read call or put
C is a call. P is a put.
- 4
Read the strike
The last eight digits are the strike times 1000. 00780000 is $780.
- 5
Give Nyria the four parts
Ticker, expiration, strike and side. Nyria builds the code.
The format
- The Options Clearing Corporation defines it.
- The root comes first.
- Then year, month and day as six digits.
- Then C for a call or P for a put.
- Then the strike times 1000, padded to eight digits.
- The full 21-character form pads the root to six characters.
An example
- SPY271217C00780000 is an SPY option.
- It expires Dec 17, 2027.
- It is a call.
- The strike is $780.
In Nyria
- You never type one.
- Give the ticker, expiration, strike and side.
- Webhook alerts send contracts as a legs array.
- Nyria builds the symbol for the broker.
If a broker refuses it
- The strike or expiry may not be on the broker's chain.
- Change the leg's strike or DTE.
- The broker's own chain is the source of truth.
Questions
- What is an OCC option symbol?
- The standard code for one option contract, defined by the Options Clearing Corporation.
- Do I type one in Nyria?
- No. Give the ticker, expiration, strike and side.
- What does 00780000 mean?
- The strike times 1000, padded to eight digits. It is $780.
- How long is the full form?
- 21 characters, with the root padded to six characters.
- Who defines the format?
- The Options Clearing Corporation.
- What if the broker refuses the symbol?
- The strike or expiry may not be on its chain. Change the strike or DTE.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Alert tester.
Guides
How does a trading bot pick which option contract to buy?
From leg rules or from the alert. No match means no order.
Read guideHow many legs can a Nyria options strategy have?
Up to 4 legs, one expiration and one quantity.
Read guideWhy does Schwab say Invalid option symbol?
The strike or expiry isn't on Schwab's chain. Change the leg's strike or DTE.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.