Skip to content

Guide

Send a TradingView webhook to Tradier

Nyria sends TradingView alerts to Tradier. Connect your Tradier account in Nyria, then paste the strategy's webhook URL into the alert. Each alert places an order in Tradier, for stocks or options up to 4 legs. A sandbox token works too.

Send the alerts in five steps

  1. 1

    Connect Tradier

    Sign in to Nyria, select Integrations and select the Tradier card. Select Connect live account and approve access on Tradier's own screen. For the sandbox, select Connect sandbox and paste the access token from Tradier's developer portal.

  2. 2

    Create a strategy

    Select Create strategy and pick TradingView as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.

  3. 3

    Create the alert in TradingView

    Open the alert dialog and set the Condition to your strategy or indicator. Open Message, paste the message from the strategy's Integration tab and select Apply. Open Notifications, tick Webhook URL, paste the strategy's webhook URL and select Apply, then Create. TradingView needs two-factor sign-in on to send webhooks.

  4. 4

    Check the format

    Back in Nyria, select Check format, then Check and save. The strategy turns Active once Nyria reads every side. The Logs tab shows the ticker, side and contract it read.

  5. 5

    Run it on paper, then go live

    Select Deploy bot and pick Nyria Paper or the Tradier sandbox, then set a Budget per entry. Let real alerts fire for a week or two. Then deploy a second bot on the live Tradier account. Live bots need a Nyria Pro plan or a Premium strategy you have bought.

You need an active Tradier account in good standing, options approval at the level your trades need, and margin enabled for short stock or short option spreads: a cash account cannot hold a short position.

Tradier's API uses OAuth 2.0, so a live connection is a sign-in at Tradier, not a key you paste. The sandbox takes the API token from your Tradier developer portal instead.

What trades at Tradier

Stocks, ETFs and options, including spreads up to 4 legs. SPX trades the PM-settled SPXW chain at Tradier, 0DTE included. Nyria places market and limit orders. Exits come from your exit alerts. A spread goes as one order for all its legs, priced as a net debit or credit at a limit. The strategy's Duration goes to Tradier as Day or Good till canceled; Fill or kill goes as Day. Stocks trade in whole shares only, options in whole contracts only. Nyria does not trade futures or crypto on Tradier.

Tradier sets the margin and buying power rules. Leave room for exits as well as entries: closing a credit spread costs money, and Tradier reserves a credit spread's max loss as buying power.

Watch the setup

How to automate TradingView alerts to Tradier
Connect Tradier live or its sandbox and build a TradingView strategy. Check the alert format, deploy a bot.
Steps in the video
  1. 0:00Connect Tradier. Open Integrations and the Tradier card. Connect live account goes to Tradier's own screen. For Tradier's sandbox, paste the paper access token.
  2. 0:21Create a strategy. Select Create strategy and name it. Then, select your alert source. This example uses TradingView. Pick stocks and a ticker, then create the draft.
  3. 0:49Create the alert in TradingView. Copy the webhook URL and the alert message from the Integration tab. In TradingView, select Message, paste the message and select Apply. Then select Notifications, tick Webhook URL, paste the URL and select Apply.
  4. 2:31Check the format. Select Check format and add an entry and an exit alert. Nyria shows the ticker, side and order it read.
  5. 2:50Deploy a bot. Select Deploy bot, set a budget per entry and pick an account. Nyria Paper is free, so test there first. On your own Tradier account, pick it on the Account step. Send a sample alert and watch the paper order fill.

From a channel to Tradier

An options strategy with the contract provided in the alert, long only, Close on exit alerts on. Entries are limit orders at Ask, Day; exits are limit orders at Bid, Day.

Entry, posted in a channel you run

BTO SPY 780c 11/20 @ 2.10

Exit

STC SPY 780c 11/20

A bot on the strategy runs on the Tradier account with a $500 budget per entry. The entry names the SPY 780 call expiring Nov 20, 2026. One contract at the $2.10 ask costs $210, so the bot sends Tradier a Day limit order to buy 2 contracts at the ask and spends $420. When the exit posts, the bot sends a Day limit order at the bid to sell the 2 it holds. While an exit order sits unfilled, the position stays open. If Tradier answers with an invalid symbol, the contract is not on its chain: check the strike exists for that expiration. If it answers an options-level rejection, the account's approval is below what the order needs.

Paper first, sandbox or Nyria Paper

Tradier gives two ways to test before risking money: its own sandbox, a separate account connected with a developer token instead of a sign-in, or Nyria Paper, the simulated broker built in and free on every plan. Tradier's sandbox fills paper trades against delayed data. Nyria Paper fills a market order at the quoted bid or ask and a limit at once or not at all, and never slips. Deploy the same strategy on either, let the real alerts fire for a week or two, and read the Logs tab: every alert and every order is stamped, so you can see that each message traded what you meant and that each exit closed its entry. When the paper run reads right, deploy a bot on the live Tradier account, or edit the paper bot to use it. The first live deploy asks you to accept the risk disclosure.

When Tradier shows Disconnected

A live connection ends the same way any broker sign-in can, and a sandbox token stops working if it is rotated or revoked on Tradier's developer portal. Bots on the connection place no orders until it is restored. Open Integrations, select the Tradier card, select Reconnect, and sign in or paste the token again. Your bots trade again from the next alert. Keep Brokers notifications on in Nyria so you hear about a disconnect when it happens rather than at the next alert.

The full reference, with every Tradier error and its fix, is in the Connect Tradier page of the docs. What Tradier trades and its limits are on the Tradier integration page.

Questions

How do I send TradingView alerts to Tradier?
Connect Tradier in Nyria with Tradier's own sign-in, create a strategy with TradingView as the alert source, and paste its webhook URL into the alert. Each alert then places a stock or option order at Tradier, up to 4 legs. Test it on Nyria Paper or the Tradier sandbox first.
Do I need a Tradier developer account?
Only for the sandbox. A live account connects by signing in at Tradier and granting Nyria access on Tradier's own authorization screen; the sandbox takes an access token from Tradier's developer portal instead.
Can I test on a Tradier paper account?
Yes. Tradier runs its own sandbox, a separate simulated account. You can also run the same strategy on Nyria Paper first. Deploy the live account once the paper run reads right.
What can a TradingView alert trade at Tradier?
Stocks, ETFs and options, including spreads up to 4 legs. Nyria sends Tradier market and limit orders, and exits come from exit alerts.
What does it cost?
Paper is free. Live trading from $15 a month.

Test it on paper first

No card required. Paper is free. Live trading from $15 a month.