Guide
What does DTE mean in a Nyria options strategy?
DTE means days to expiry, counted in trading days. 0 DTE expires today. A Nyria strategy accepts a DTE range from 0 to 31. Set it on the strategy, beside the delta target and strike offset.
Official documentation
Set a DTE range in Nyria
- 1
Open the strategy
Open an options strategy in Nyria.
- 2
Pick the contract rule
Set Contract selection to From my rules.
- 3
Set the DTE window
Enter a range from 0 to 31.
- 4
Add the other rules
Delta target and strike offset sit beside it.
- 5
Test on paper
Run a paper bot to see which contract it picks.
What DTE counts
- Days to expiry.
- Counted in trading days.
- 0 DTE expires today.
- 30 DTE is about 6 weeks out.
- A strategy accepts 0 to 31.
Where DTE applies
- From my rules picks the contract from the strategy's rules.
- Those rules are delta target, DTE window and strike offset.
- TradingView options strategies always use From my rules.
- Provided in alert names the expiration in the alert instead.
- Then the alert names the strike and the expiration.
- It also names the call or put.
- Pick the setting that matches how your alerts are written.
Picking a window
- A short window suits same-day and next-day ideas.
- A longer window suits swing ideas that need time.
- The range can be anything from 0 to 31.
- Paper trading shows which contract each alert picks.
- Change the window on the strategy, then test again.
- A new window applies to the alerts that follow.
No date in the alert
- A Discord or Telegram entry with no date takes the nearest listed expiration.
- Webhook alerts send contracts as a legs array.
If no contract fits
- The broker may refuse a strike or expiry that isn't on its chain.
- Change the leg's strike or DTE.
Questions
- What does DTE mean?
- Days to expiry, counted in trading days.
- What does 0 DTE mean?
- The contract expires today.
- What DTE range does Nyria accept?
- From 0 to 31.
- Where do I set it?
- On the strategy, with Contract selection set to From my rules.
- Do TradingView options strategies use it?
- Yes. They always use From my rules.
- Can I test it first?
- Yes, on Nyria Paper.
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
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 does a trading bot pick which option contract to buy?
From leg rules or from the alert. No match means no order.
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.