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

Alerts to orders

Automate TrendSpider alerts to Tradier

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

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

Setup steps

Point a TrendSpider Alert or Strategy Bot webhook at a Nyria strategy. 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 TrendSpider as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.
  3. 3Add the webhook in TrendSpider. Copy the webhook URL from the strategy's Integration tab. For an Alert, set it as the account webhook URL. That is under Account & Settings in TrendSpider. For a Strategy Bot, put it in the bot's own URL field. Write the body there. Fill the note or body with TrendSpider's %variables%, such as %alert_symbol%.
  4. 4Fire a test alert. Fire a test alert or bot message. The strategy stays inactive until Nyria reads one correctly. The Logs tab shows what it read. TrendSpider needs a plan that includes webhook alerts.
  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 TrendSpider 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.

TrendSpider has no action or quantity variable. Write "action": "buy" into a buy alert and "action": "sell" into a sell alert. Use %alert_symbol% for the ticker.

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

A stock entry

{
  "symbol": "%alert_symbol%",
  "action": "buy",
  "price": "%last_price%"
}

Buy the alert's symbol at the last price when it fired.

A Strategy Bot entry

{
  "symbol": "%bot_symbol%",
  "action": "buy"
}

The bot's own URL carries this body. Buy the bot's symbol in your Tradier account, sized by each bot's budget per entry.

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

What's the difference between an Alert and a Strategy Bot?
An Alert posts from one account-level URL and reaches one strategy. Its note can use %alert_symbol%, %last_price%, %alert_name%, %alert_note% or %price_action_event%. A Strategy Bot posts its own URL and body. Each bot can reach a different strategy, with %bot_symbol%, %bot_status%, %bot_name% and %bot_timeframe%.
Can a TrendSpider bot post to Tradier's sandbox?
Yes. Connect the sandbox with its access token, then deploy a bot on it. A Strategy Bot posts its own URL and body.
Is the TrendSpider webhook URL private?
Treat it like a password. The token in the URL is the only authentication. Rotate token on the strategy replaces it.
Does a TrendSpider plan need webhooks for Tradier?
TrendSpider needs a plan that includes webhook alerts. Nyria's side is free to test on paper, with no card.
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

TrendSpider alerts, by account

Tradier orders, by alert source

Send your first TrendSpider alert

Trade and test free on paper. No card required.