Skip to content

Guide

How to automate options alerts

Nyria turns an options alert from TradingView, Discord, Telegram or TrendSpider into an order at your broker, a single leg or a spread up to 4 legs, sent as one order. This guide goes from the broker connection to a live bot.

Trade a vertical call spread from a TradingView alert
Buy the call at your delta and sell the call one strike above it. Each entry alert opens the whole spread.

What you need

  • A Nyria account with a connected broker: Charles Schwab, Alpaca, tastytrade or Tradier.
  • An alert source already set up: TradingView, Discord, Telegram or TrendSpider.
  • A plan for the trade: single leg, vertical spread, iron condor or butterfly, straddle or strangle, up to 4 legs on one expiration.

Step by step

  1. 1

    Connect a broker

    Sign in at Charles Schwab, tastytrade or Tradier from Integrations, or paste an API key for Alpaca. Each trades stocks and options up to 4 legs; Alpaca adds crypto spot.

  2. 2

    Pick the alert source

    TradingView, Discord, Telegram or TrendSpider; each reads the alert as that source already sends it, your own wording or JSON.

  3. 3

    Write the options alert

    A TradingView alert names the ticker, open or close, and long or short. Your option rules pick the contract. LONG buys a call, SHORT a put. On Provided in alert, Discord, Telegram and TrendSpider can name them too. Otherwise the rules pick an expiration 0 to 31 trading days out.

  4. 4

    Set the spread

    Up to 4 legs on one expiration, every leg the same quantity: vertical spread, iron condor or butterfly, straddle or strangle. Ratio spreads, calendars and diagonals aren't supported.

  5. 5

    Validate and test on paper

    Send a test alert; the strategy stays inactive until Nyria reads it correctly, and the log shows what it parsed. Deploy on Nyria Paper first.

  6. 6

    Go live

    When the paper fills match what you expect, deploy a second bot on the broker account. Exits match the entry, leg for leg.

What an options alert can say

A TradingView alert says open and long, and your rules pick the contract. Discord and Telegram can name it.

TradingView, as JSON (LONG is a call, SHORT a put)

{ "ticker": "SPY", "action": "OPEN", "direction": "LONG" }

Discord or Telegram, as a sentence

BTO AAPL 345c 11/20 @ 12.50

What an unusual options activity or flow alert needs, and how a contract is picked when the post names only a side, are in the unusual options activity guide.

What you can build

  • Single-leg directional calls and puts, long or sell-to-open, for example BTO SPY 775C 12/18 or STO SPY 765P 12/18.
  • Vertical spreads, debit and credit, such as a SPY bull call spread or a QQQ bear put spread.
  • Iron condors and iron butterflies on one expiration, such as an SPX 0DTE iron condor or a SPY 14DTE iron butterfly.
  • Straddles and strangles, a call and a put on one expiration, such as a SPY 0DTE straddle or a TSLA weekly strangle.
  • Cash-secured puts and covered calls, each on its own alert, such as an MSFT cash-secured put or an AMZN covered call.
  • 0DTE, same-day SPX, SPY, QQQ and IWM expirations. SPX options go to Charles Schwab, tastytrade and Tradier only, not Alpaca.

Questions

How many legs can one order have?
Up to 4, all on one expiration, with every leg the same quantity. Ratio spreads such as a 1:2:1 butterfly, calendars and diagonals aren't supported.
What if the alert names no expiration?
A TradingView alert never names one. The strategy's own rules pick it, 0 to 31 trading days out. On Discord or Telegram, a contract named in the alert can be any listed expiration. With no date, Nyria takes the nearest listed one, even today's (0DTE).
Which brokers trade SPX?
Charles Schwab, tastytrade and Tradier trade the PM-settled SPXW chain. Alpaca trades options but not SPX.
Does Nyria hold my broker login?
No. Charles Schwab, tastytrade and live Tradier connect by signing in at the broker, and Alpaca by an API key you create. None of them give Nyria withdrawal permission.
What does it cost?
Paper is free. Live trading from $15 a month.

Weighing tools first? See Option Alpha alternatives for alerts.

Test an options strategy on paper

Trade and test free on paper. No card required.