Skip to content
Tradier logo

Alerts to orders

Automate AI agent alerts to Tradier

Nyria lets an AI agent trade your Tradier account over MCP.

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

Setup steps

Add a Nyria strategy's MCP server URL to Claude or Cursor. Then connect your Tradier account in Nyria. Each agent 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 an AI Agent strategy. In Nyria, select Create strategy and pick AI Agent (MCP) as the alert source. Choose stocks or options as the asset type, then select Create draft. On the Integration tab's Alert format card, select Check format. Once every example passes, the strategy turns Active and can take a bot.
  3. 3Connect your AI agent. Select Show URL and copy the MCP server URL. In Claude, add it as a custom connector and choose No sign in. Cursor reads it from mcp.json. ChatGPT connects it on Business, Enterprise and Edu plans. On Business, an admin or owner adds it. Keep it private, because the token inside is the key.
  4. 4Preview, then test on paper. Ask the agent to preview an alert, such as OPEN AAPL LONG. A preview shows how Nyria reads it and places nothing. Send real alerts to a Nyria Paper bot before a live one. The Logs tab shows every alert the agent sends.
  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 an AI agent 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.

Your agent sends each alert as one message, in plain text or JSON. A clear format, such as OPEN SPY LONG, is read directly. Other wording goes to an AI model, so have the agent preview it first.

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

A stock entry

OPEN NVDA LONG

Buy NVDA. The alert carries no size. Each bot sizes it from its own settings.

An exit

CLOSE NVDA LONG

Close the NVDA position, matched against what the bot is holding.

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

Can an AI agent trade my Tradier account?
Yes, over Nyria's MCP server. An agent such as Claude or Cursor sends alerts to a Nyria strategy. A bot on your Tradier account places each one as a real order.
Does Tradier have its own MCP server?
Yes, Tradier runs a hosted MCP server that places orders. It connects ChatGPT, Claude, Cursor and more straight to Tradier. On Nyria, a preview places nothing, and each bot sets the size.
How do I cut the agent off?
Select Rotate token on the strategy's Integration tab and confirm. The old URL stops working at once. Then paste the new URL into any client you still use.
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

AI agent alerts, by account

Tradier orders, by alert source

Send your first AI agent alert

Trade and test free on paper. No card required.