Guide
What happens to an option that expires today in an automated bot?
Starting 30 minutes before the close, Nyria checks every open option that expires that day and has no exit on the way. It writes one bot log row and sends one notification per position. On some accounts it places a market close. On others the row says the position is still open and closing it is yours to do. After the close, nothing more is attempted.
Official documentation
Handle an option that expires today
- 1
Open the bot's Logs tab
Look for a row that names the contract, such as SPY 770C, and says it expires today.
- 2
Read which row it is
Is still open means Nyria placed nothing. Closing order placed means a market close is waiting at the broker. Couldn't be closed gives the reason.
- 3
Close it at the broker if needed
For is still open, or a close that did not fill, sign in to your broker and close the contract before 4 PM ET.
- 4
Reconnect a disconnected broker
Go to Integrations, select the broker and select Reconnect. Charles Schwab ends each sign-in after 7 days.
- 5
Send the exit earlier next time
An exit alert that arrives before the last half hour closes the position the normal way, and the check finds nothing to do.
The log rows
- Expires today and is still open: Nyria placed nothing. Close it at the broker.
- Closing order placed, not filled yet: a market close is at the broker. Watch it there.
- Couldn't be closed: the broker is disconnected, or it refused the close. The wording after that gives the reason.
- Closed before today's expiry: the close filled.
What Nyria does not do
- It places no closing order for a row that says is still open.
- An option that finishes in the money is exercised or assigned at the broker. That is not a Nyria trade.
- Stocks and crypto are not checked. Only options have an expiry.
- A second pass inside the window does not repeat the notification.
Keeping it from happening
- A paused bot ignores exit alerts, so an expiring contract on it stays open until you close it.
- A strategy with a 0 DTE range opens contracts that expire the same day. Raise Days to expiry on the strategy if that is not intended.
- On a half day the market closes at 1 PM ET, so the window opens at 12:30 PM ET.
Questions
- Will Nyria close an option the row says is still open?
- No. The row is the whole of what Nyria does for that position. Close it at the broker before the close, or hold it and expect exercise or assignment if it finishes in the money.
- What happens on Nyria Paper?
- Paper has no exercise. The row says Nyria Paper settles the position at its intrinsic value after the close. The settlement shows as Expiry settlement (simulated) and can arrive days later.
- Does it run for stocks or crypto?
- No. Only option positions have an expiration, so only they are checked.
- Do I get a notification?
- Yes, one per position per day, to the account's owner. It reaches your email only if that category's email is on.
- What does it cost?
- Paper is free. Live trading from $15 a month.
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 Tradier.
- Step by step for one account: how to automate TradingView to tastytrade.
- TradingView alert message builder.
Guides
Automate 0DTE SPY options alerts
A same-day call to an order at Schwab, tastytrade or Tradier, and every reason the bot places nothing.
Read guideHow do I auto-trade iron condor alerts?
Set the four legs once. A short entry from Telegram, Discord or TradingView opens the whole condor.
Read guideHow do I close or reverse a position with a TradingView alert?
CLOSE with the direction exits. One alert that reports the flip reverses.
Read guideWhat happens when only some legs of an option spread fill?
Filled legs are tracked and exit on the next exit alert. Check your broker.
Read guideWhat happens to a paper option held to expiry?
Closed at intrinsic value. Out of the money settles at $0.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.