Skip to content
  • Create a strategy with a custom webhook as its alert source. My strategies, then Create strategy: a strategy name typed in, Custom webhook picked as its alert source, then Next to what it trades, where Stocks is picked.
Tradier logo

Alerts to orders

Automate webhook alerts to Tradier

Nyria lets you auto trade each webhook alert in your Tradier account.

Stocks and ETFsOptions up to 4 legs
My strategies, then Create strategy: a strategy name typed in, Custom webhook picked as its alert source, then Next to what it trades, where Stocks is picked

Setup steps

Have your script or service POST its alert to a Nyria strategy's webhook URL. Then connect your Tradier account in Nyria. Each alert becomes an order in your own Tradier account. Test it free on Nyria Paper or on Tradier's sandbox first.

  1. 1Connect Tradier. Open Integrations and select the Tradier card. Select Connect live account and approve access on Tradier's own screen (OAuth). For the sandbox, select Connect paper account. Paste the sandbox Access token from developer.tradier.com.
  2. 2Create a strategy. In Nyria, select Create strategy and pick Webhook as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.
  3. 3Point your service at the URL. Copy the webhook URL from the strategy's Integration tab. Send an HTTPS POST from a script, a cron job or a no-code tool. Zapier and Make, for example. The token is the only authentication, so keep the URL private. Rotate token replaces it.
  4. 4Send a test alert. Post a body such as {"ticker": "AAPL", "action": "buy"} with curl. Nyria answers 200 OK and the alert shows on the Logs tab. Bots on the strategy act on it. Test while only a paper bot is deployed.
  5. 5Deploy a bot. On the strategy, select Deploy bot. Pick the Tradier account on the Account step and set a Budget per entry. Live bots need a Nyria Pro plan or a Premium strategy you have bought. The next alert becomes an order.

What a webhook alert must say

Nyria needs the ticker, the side, and whether it opens or closes a position. It reads plain text or JSON in your own wording. There is no template to follow. For options, Provided in alert reads the strike, expiry and call or put. From my rules picks the contract.

A webhook POSTs JSON or text. The smallest JSON body has two fields, ticker and action. A plain-text body such as AAPL long entry works too. The token in the URL is the only authentication. There is no Authorization header to set.

An alert cannot set the size: each bot's budget per entry does. Exits come from your exit alerts.

A stock entry

{ "ticker": "NVDA", "action": "buy" }

Buy NVDA. The alert carries no size. Each bot sizes it from its budget per entry.

An options entry, on Provided in alert

{
  "ticker": "SPY",
  "action": "OPEN",
  "direction": "LONG",
  "legs": [
    { "side": "CALL", "strike": 775, "expiration": "2026-12-18", "action": "buy_to_open" }
  ]
}

Buy to open the SPY $775 call expiring Dec 18, 2026, as one order in your Tradier account.

What Tradier does with it

A live Tradier account connects through Tradier's own sign-in (OAuth). There is no key to paste. The sandbox uses an access token from Tradier's developer portal. It is a separate account from the live one. Nyria receives access that places and cancels orders and cannot move money.

Options go to Tradier as single legs or spreads up to 4 legs. A spread is one order. SPX trades on the PM-settled SPXW chain. Tradier needs options approval at the level the trade requires. Short stock or short spreads need margin.

Nyria can't trade crypto at Tradier, so a crypto alert places no order there. Use Alpaca or Nyria Paper for crypto.

Each alert becomes a market or a limit order, as the strategy sets it. Duration is Day or GTC. Fill or kill goes as Day. On live accounts, stops and targets are exit alerts. Tradier sandbox takes stop, bracket and OCO orders on stocks and ETFs. Bracket orders need a limit or stop entry. An exit alert can flatten a position. A bots list in the alert picks which bots trade.

Questions

Is there a rate limit on a webhook?
Each webhook takes 10 alerts at once, then one per second. An alert over that limit is dropped with a 429.
Can I test a webhook on Tradier's sandbox with curl?
Yes. Connect the sandbox, deploy a bot there and post a body with curl. Nyria answers 200 OK and the alert shows on the Logs tab.
Can Zapier or Make post to a Tradier strategy?
Yes. Any HTTPS POST works, from a script, a cron job or a no-code tool. The token in the URL is the only authentication.
Does Tradier take a webhook spread as one order?
Yes, up to 4 legs. SPX trades on the PM-settled SPXW chain. Tradier needs options approval at the level the trade requires.
Does Nyria hold my Tradier login?
No. You sign in at Tradier. Nyria gets a token that places and cancels orders. It can't move money, and it's encrypted at rest.
Can I test before trading real money at Tradier?
Tradier's sandbox connects as a paper account. The same strategy can run there before the live account. Nyria Paper works too.
How fast does an alert become an order?
Sub-second, alert to order.

From the sources

Next

Webhook alerts, by account

Tradier orders, by alert source

Send your first webhook alert

Trade and test free on paper. No card required.