Skip to content
NyriaDocs

Connect Tradier to Nyria

Connect a live Tradier account by signing in, or a paper account with Sandbox credentials.

Watch the setup

3:19
  1. 0:00Connect Tradier
  2. 0:21Create a strategy
  3. 0:48Create the alert in TradingView
  4. 2:30Check the format
  5. 2:49Deploy a bot

To connect Tradier, select its card on the Integrations page. A live account connects by signing in at Tradier and selecting Authorize. A paper account connects by pasting the sandbox account number and access token from developer.tradier.com. Nyria imports every account under the login, and you pick one when you deploy a bot.

Tradier's sandbox can fill resting orders on weekends at prices the market never printed. Read step 6 before you judge a weekend session.

Prerequisites

  • A Nyria account. If you don't have one, follow the quick start.
  • A Tradier account. Sign up at tradier.com for live, or at developer.tradier.com for a sandbox (paper) account.
  • A Nyria strategy. You can connect without one, but the test in step 7 needs it.

What Tradier supports through Nyria

Through Nyria, Tradier trades stocks (long and short) and options, from single legs to spreads of up to 4 legs, with market and limit orders. Tradier itself doesn't offer futures, crypto or fractional shares, so pick another broker if your strategy needs them. The full capability list is on Tradier.

Step 1: Open Integrations in Nyria

Sign in at app.nyria.io.

In the left sidebar, select Integrations.

Find the Tradier card in the Brokers grid.

The Integrations page with the broker cards: Tradier and the other brokers, each with Connect.

Step 2: Open the Tradier dialog

Select the Tradier card.

The dialog has a Live trading section and a Paper trading section, and each one connects differently.

Step 3: Choose live or paper

Tradier runs paper and live as separate environments, each with its own account numbers and credentials.

  • Paper runs on sandbox.tradier.com with simulated cash. You connect it by pasting the sandbox account number and access token from your Tradier developer portal. Read the phantom-fill warning in step 6 before you trust weekend results.
  • Live runs on api.tradier.com with real money. You connect it by signing in at Tradier.

You can connect both. Each one gets its own entry in the Integrations list.

The Tradier connect dialog: Connect live account, or Connect paper account for Tradier's sandbox.

Step 4a: Connect the sandbox (paper)

Sign in at developer.tradier.com, or sign up. Tradier's developer account is free and includes a sandbox account with simulated cash.

Open the sandbox section of the portal and copy your sandbox account number and sandbox access token.

Back in Nyria, select Connect paper account, paste both values into Account number and Access token, then select Connect paper account again.

Treat the sandbox access token like a password and keep it out of shared documents and screenshots. If you regenerate it in the developer portal, the copy Nyria holds stops working, so connect again with the new one.

Step 4b: Connect the live account

Select Connect live account. Nyria sends you to Tradier to approve access.

Sign in with your normal tradier.com username and password. They go to Tradier, and Nyria never sees them.

Tradier lists what Nyria asks for: reading your account profile, balances and positions, placing and canceling orders, and streaming market data. Select Authorize.

Tradier sends you back to Nyria, which shows Tradier connected with the number of accounts added.

If Nyria shows Couldn't connect Tradier instead, see troubleshooting below.

Step 5: Confirm the accounts imported

Nyria imports every account under your Tradier login. When you deploy a bot, you pick its account on the Account step.

Step 6: Weekend paper "phantom fills"

On weekends and outside the regular session, Tradier's paper environment can mark resting orders as filled at prices no real market printed. For example, a limit order placed Friday at 3:59 PM can show as filled on Saturday morning. Tradier's API reports it as a fill, so Nyria records it as one and the bot moves on to the exit.

Judge Tradier paper results on regular trading hours, Monday through Friday only. A weekend fill or exit on paper tells you nothing about what the live strategy would have done.

Only Tradier's sandbox does this. Live accounts don't. Ignore weekend sandbox activity.

Step 7: Send a test order

Send one test alert to check the whole path, from the Nyria webhook to the Tradier fill. On a live account this places a real order.

Open the strategy you want to test, select the Integration tab, and copy its webhook URL. It looks like https://trades.nyria.io/webhooks/4f9c2a91b7d34e0f....

Make sure a bot on this strategy is deployed to one of your Tradier accounts.

From a terminal, send a buy order for a liquid ticker such as SPY:

curl -X POST 'https://trades.nyria.io/webhooks/4f9c2a91b7d34e0f...' \
  -H 'Content-Type: application/json' \
  -d '{
    "ticker": "SPY",
    "action": "OPEN",
    "direction": "LONG",
    "order_type": "market"
  }'

Replace 4f9c2a91b7d34e0f... with your token. During regular hours, a market order on SPY usually fills close to the quote.

In Nyria, open the bot's Logs tab. Within a few seconds, a row for the order shows. Expand it for the Tradier order id and the fill status.

Find the same trade in your Tradier dashboard. Its order id matches the one in the Nyria log.

Close the position by hand in Tradier, or send an exit alert to the same webhook.

If the order id isn't in the bot's logs after about 15 seconds, see troubleshooting.

Troubleshooting

Nyria shows "Couldn't connect Tradier"

The dialog gives the reason. The two you're most likely to see:

  • Sandbox credentials used for live, or the reverse. Paper takes the account number and access token from the developer portal. Live takes a tradier.com sign-in. Check that you followed the right part of step 4.
  • You canceled the sign-in at Tradier. You selected Deny instead of Authorize. Select Try again.

"Buying power" error on the test order

On paper, the sandbox's simulated cash has run low from testing. Reset the sandbox balance in the Tradier developer portal, or open a new sandbox account.

On live, the account doesn't have enough cash or margin for the order. Lower the bot's budget per entry, or add funds.

"Market closed" on the test order

Tradier rejects market orders outside the 9:30 AM–4 PM ET regular session. To test after hours, change "order_type": "market" to "order_type": "limit" and add a "price" field. Every accepted field is in the webhook reference.

Order placed but never appears in Nyria logs

Tradier shows the fill, but the bot's Nyria log is empty.

  • Check that the webhook token belongs to the strategy you're looking at. Every strategy has its own token, and it's easy to copy one strategy's URL and watch another's logs.
  • Check that the bot on this strategy is deployed to the Tradier account you expect.
  • To check whether Nyria read a field in your payload, see the webhook reference.

Weekend behavior looks wrong

See step 6. If you see it on a live account, note the Tradier order id and contact Nyria support.

Revoking access

In Nyria, go to Integrations, select the Tradier card, open the account's ⋯ menu, then Remove account and Remove. Removing the last Tradier account deletes Nyria's stored Tradier sign-in.

In Tradier's account settings, revoke Nyria's API authorization too. Removing the account in Nyria doesn't revoke it at Tradier.

Removing an account deletes every bot on it, and you can't undo it. Close open positions at Tradier first, because Nyria can't close them once the account is gone.

Next steps

Your edge, on autopilot.

Trading carries risk. Read the risk disclosure.

© 2026 Nyria LLC. All rights reserved.