Guide
Auto-trade 0DTE SPX and SPY option alerts
A same-day SPX or SPY call lives for minutes, and the gap between reading it and placing it is where the price moves. Nyria reads the call as the channel posts it, sizes it from the Budget per entry, and places the order at Charles Schwab, Tradier or tastytrade. This guide goes from the broker connection to a live bot, and lists every reason the bot gives when it places nothing.
What you need
- A Nyria account. For SPX, a connected Charles Schwab, Tradier or tastytrade account with options approval; Alpaca trades SPY, QQQ and IWM options but not SPX.
- An alert source that posts the call: a Discord server you run, a Telegram group or channel you run, or a TradingView alert with a webhook.
- A budget per entry that covers one contract. A same-day SPX contract near the money often costs more than $1,000; SPY is about a tenth of that.
Step by step
- 1
Connect a broker
Open Integrations and sign in at Charles Schwab, Tradier or tastytrade, or paste an Alpaca API key for SPY only. Nyria Paper is already there, so the strategy can run before any broker is connected.
- 2
Create the strategy and pick the source
Create a strategy that trades options and pick Discord, Telegram or TradingView as the alert source. For Discord, invite the Nyria bot to a server you run and choose the channel; for Telegram, add the bot to the group or channel; for TradingView, copy the webhook URL the strategy shows.
- 3
Tell it what an alert means
A same-day alert usually names the contract in full: ticker, strike, call or put, and today's date. Nyria reads those as written. Leave the strike or expiry out and the strategy's own rules pick them, an expiration 0 to 31 trading days out, which for a 0DTE strategy means setting the range to 0 days.
- 4
Check the format
Paste a real call from the channel, select Check format, then Check and save. Nyria shows the ticker, strike, expiry and side it found. The strategy turns Active when every side passes.
- 5
Test on paper
On the strategy, select Deploy bot. If the switch at the top says Live, select Paper. Set the Budget per entry, select Next, then Deploy on Nyria Paper. Let a few same-day calls fire and read each fill on the bot's Logs tab next to the alert that caused it.
- 6
Go live
Deploy a second bot on the broker account with the same sizing. Exits match the entry leg for leg: a sell alert for the same contract closes what the buy alert opened.
What a same-day alert looks like
Three shapes Nyria reads as written. The date is the day the call is posted, Friday Oct 23, 2026 here.
Discord or Telegram, SPY
BTO SPY 772c 10/23 @ 1.85
Discord or Telegram, SPX
BTO SPX 7700c 10/23 @ 12.40
TradingView, as JSON
{ "ticker": "SPX", "action": "BTO", "strike": 7700, "expiry": "2026-10-23", "type": "call" }What the bot does with it
- Reads the ticker, the strike, the side and the date. 10/23 on Oct 23 is today's expiration, so the order goes to the same-day chain: SPXW for SPX, the daily SPY contract for SPY.
- Sizes the order from the Budget per entry. At $1.85 a contract, a $500 budget per entry buys 2 contracts, since one contract is 100 shares and the bot never rounds up.
- Places a market order at the broker, or a limit order at the price the alert names if the strategy is set to limit. The fill, the price and the order id land on the Logs tab.
- Closes on the exit alert. STC SPY 772c, or a plain sell with no contract, closes the open position in the same contract. Nothing waits at the broker between alerts: the next move is the next alert.
- Stops at the close. A same-day contract that is still open at 4 pm ET expires at the broker. Nyria does not close it for you, so the exit alert has to arrive before the bell.
When the bot places nothing
Each refusal is written to the Logs tab in these words, next to the alert that caused it. Nothing is ordered on any of them.
The option chain has no delta for the strikes in the strategy's range, so a delta target cannot be met.
Nyria skipped this entry. The options data has no delta for the contracts in your range, so it can't pick the delta your strategy asks for. Nothing was ordered.
The nearest contract sits more than 0.25 delta from the target, which is common in the last hour of a 0DTE session.
Nyria skipped this entry. Your strategy asks for a 0.30 delta and the closest available is 0.62, too far to stand in for it. Nothing was ordered.
The contract the strategy picked has no live bid and ask.
Nyria skipped this entry. No live quote was available for the option your strategy picked. Nothing was ordered.
The call arrives before 9:30 am ET, after 4 pm ET, or on a market holiday.
Options market is closed
One contract costs more than the Budget per entry.
One SPY contract costs $185, more than this bot's $150 budget per entry. Raise it to at least $185.
Questions
- Which brokers trade SPX 0DTE?
- Charles Schwab, Tradier and tastytrade trade the PM-settled SPXW chain. Alpaca trades options but not SPX, so an SPX strategy on an Alpaca account places nothing.
- What if the alert names no expiration?
- A Discord or Telegram alert with no date takes the nearest listed one, which can be today's (0DTE), even late in the day. A TradingView strategy with no expiry field uses the strategy's own rules, 0 to 31 trading days out.
- Does the bot close a 0DTE position before it expires?
- Only on an exit alert. Otherwise the contract runs to the close and the broker settles it, so the alert source has to send the exit before 4 pm ET.
- Can one alert open a spread?
- Yes, up to 4 legs on one expiration with every leg the same quantity: an SPX iron condor or a SPY straddle in one order. Ratio spreads, calendars and diagonals aren't supported.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Related pages
The source and broker pair most 0DTE rooms use is Discord to Charles Schwab, with the same steps for Tradier and tastytrade.
Guides
Run a 0DTE strategy on paper first
Trade and test free on paper, forever. No card required.