- Create a strategy with a custom webhook as its alert source. My strategies, then Create strategy: a strategy name typed in, Custom webhook picked as its alert source, then Next to what it trades, where Stocks is picked.
Alerts to orders
Automate webhook alerts to Schwab
Nyria lets you auto trade each webhook alert in your Schwab account.

Setup steps
Have your script or service POST its alert to a Nyria strategy's webhook URL. Then connect your Charles Schwab account in Nyria with your Schwab login. Each alert becomes an order in your own Schwab account. Nyria connects live Schwab accounts only, so test it free on Nyria Paper first.
- 1Connect Schwab. In Nyria, open Integrations and select the Charles Schwab card. Select Connect live account and sign in at schwab.com. Select Allow on the Authorize App screen. No developer account or API key is needed. Schwab ends Nyria's access every 7 days. Select Reconnect live account and sign in again each week.
- 2Create a strategy. In Nyria, select Create strategy and pick Webhook as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.
- 3Point your service at the URL. Copy the webhook URL from the strategy's Integration tab. Send an HTTPS POST from a script, a cron job or a no-code tool. Zapier and Make, for example. The token is the only authentication, so keep the URL private. Rotate token replaces it.
- 4Send a test alert. Post a body such as {"ticker": "AAPL", "action": "buy"} with curl. Nyria answers 200 OK and the alert shows on the Logs tab. Bots on the strategy act on it. Test while only a paper bot is deployed.
- 5Deploy a bot. On the strategy, select Deploy bot. Pick the Schwab 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 webhook 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.
A webhook POSTs JSON or text. The smallest JSON body has two fields, ticker and action. A plain-text body such as AAPL long entry works too. The token in the URL is the only authentication. There is no Authorization header to set.
An alert cannot set the size: each bot's budget per entry does. Exits come from your exit alerts.
A stock entry
{ "ticker": "NVDA", "action": "buy" }Buy NVDA. The alert carries no size. Each bot sizes it from its budget per entry.
An options entry with no contract
{ "ticker": "SPX", "action": "OPEN", "direction": "LONG" }Open a long on SPX options. The strategy's rules pick the call and expiry on the PM-settled SPXW chain.
What Schwab does with it
Schwab connects through its own login page (OAuth), so the password stays with Schwab. Nyria's token can read the account and place and cancel orders. It cannot move money.
Options go to Schwab as single legs or spreads up to 4 legs. A spread is one order. SPX trades on the PM-settled SPXW chain, 0DTE included. Schwab needs options approval at the level the trade requires. Short stock or short spreads need margin.
Nyria can't trade crypto at Schwab, 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, GTC or fill or kill. Stops and targets are exit alerts. An exit alert can flatten a position. A bots list in the alert picks which bots trade.
Questions
- Is there a rate limit on a webhook?
- Each webhook takes 10 alerts at once, then one per second. An alert over that limit is dropped with a 429.
- Does the webhook still work after Schwab's 7 days?
- The webhook does. Schwab ends Nyria's access every 7 days, so select Reconnect live account and sign in again. Nyria has no Schwab access until you do.
- Does a webhook alert need a quantity for Schwab?
- No. An alert cannot set the size. Each bot's budget per entry does, and Schwab trades whole shares.
- Does a webhook order need options approval at Schwab?
- Yes. Schwab needs options approval at the level the trade requires. Short stock or short spreads need margin.
- Does Nyria hold my Schwab login?
- No. You sign in at Schwab. 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 Schwab?
- Nyria connects live Schwab accounts only, so run the strategy on Nyria Paper first. When the log reads right, deploy a second bot on Schwab.
- How fast does an alert become an order?
- Sub-second, alert to order.
From the sources
- Schwab places API orders through its Trader API. Schwab: Trader API for individuals
Next
- Paste an alert into the alert tester and see what Nyria reads.
- Write the message with the alert builder.
- Copy-paste formats: TradingView webhook JSON templates.
- Longer walkthrough: Python webhook alerts to your broker.
- Related: Webhook trading bot for stocks.
- TradingView automation tools compared.
- Charles Schwab page and Webhook page.
Webhook alerts, by account
Schwab orders, by alert source
Send your first webhook alert
Trade and test free on paper. No card required.