Skip to content
Webull logo

Alerts to orders

Automate AI agent alerts to Webull

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

BetaStocksOptions
A stocks strategy: the long and the short entry set to enter a position at market, exits set to close at market, then the review of what each alert does

Setup steps

Add a Nyria strategy's MCP server URL to Claude or Cursor. Then connect your Webull account in Nyria with your own Webull API key. Each agent alert becomes an order in your own Webull account. Nyria connects live Webull accounts only, so test it free on Nyria Paper first.

  1. 1Connect Webull. In the Webull Portal, apply for OpenAPI access, then generate an App Key and App Secret. In Nyria select Integrations, then the Webull card, paste both values and select Connect Webull. Approve the request in the Webull app when it appears.
  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 Webull 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 Webull does with it

Webull connects with an individual API key, not a sign-in. Nyria stores the App Secret encrypted at rest and uses it only to sign requests. Webull asks you to approve the connection in its app, and Nyria asks again if the approval lapses. Nyria places and cancels orders and has no feature that moves money.

Options trade in a Webull account that has options trading approved, and Webull's own approval level decides which orders it accepts.

A crypto alert places no order on this connection. Use Alpaca or Nyria Paper for crypto.

Each alert becomes a market or a limit order, as the strategy sets it. Nothing waits at Webull between alerts. The exit comes from your alert.

Questions

Can an AI agent trade my Webull account?
Yes, over Nyria's MCP server. An agent such as Claude or Cursor sends alerts to a Nyria strategy. A bot on your Webull account places each one as a real order.
Can the agent trade Webull before API approval?
No. Webull's App Key and App Secret come after it approves your OpenAPI access. Run the agent on Nyria Paper until then.
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 Webull password?
No. Nyria never asks for it. It holds the App Key and App Secret you generate, and the secret is encrypted at rest.
Can I test before trading real money at Webull?
Nyria connects live Webull accounts only, so run the strategy on Nyria Paper first. When the log reads the way you expect, deploy a second bot on the Webull account.
How fast does an alert become an order?
Sub-second, alert to order.

From the sources

Next

Webull orders, by alert source

Send your first AI agent alert

Trade and test free on paper. No card required.