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

Setup steps
Point a TrendSpider Alert or Strategy Bot webhook at a Nyria strategy. 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 TrendSpider as the alert source. Choose stocks or options as the asset type. Set what an entry and an exit do on each side.
- 3Add the webhook in TrendSpider. Copy the webhook URL from the strategy's Integration tab. For an Alert, set it as the account webhook URL. That is under Account & Settings in TrendSpider. For a Strategy Bot, put it in the bot's own URL field. Write the body there. Fill the note or body with TrendSpider's %variables%, such as %alert_symbol%.
- 4Fire a test alert. Fire a test alert or bot message. The strategy stays inactive until Nyria reads one correctly. The Logs tab shows what it read. TrendSpider needs a plan that includes webhook alerts.
- 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 TrendSpider 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.
TrendSpider has no action or quantity variable. Write "action": "buy" into a buy alert and "action": "sell" into a sell alert. Use %alert_symbol% for the ticker.
An alert cannot set the size: each bot's budget per entry does. Exits come from your exit alerts.
A stock entry
{
"symbol": "%alert_symbol%",
"action": "buy",
"price": "%last_price%"
}Buy the alert's symbol at the last price when it fired.
An options entry with no contract
{
"symbol": "%alert_symbol%",
"action": "OPEN",
"direction": "LONG"
}Opens your long entry legs. The strategy's rules pick call or put, strike and expiry.
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
- What's the difference between an Alert and a Strategy Bot?
- An Alert posts from one account-level URL and reaches one strategy. Its note can use %alert_symbol%, %last_price%, %alert_name%, %alert_note% or %price_action_event%. A Strategy Bot posts its own URL and body. Each bot can reach a different strategy, with %bot_symbol%, %bot_status%, %bot_name% and %bot_timeframe%.
- What happens when Schwab access ends mid-week?
- Schwab ends Nyria's access every 7 days. Select Reconnect live account and sign in again. TrendSpider keeps sending, but Nyria has no Schwab access until you do.
- Can a TrendSpider Alert place an SPX 0DTE order at Schwab?
- Yes. SPX trades on the PM-settled SPXW chain, 0DTE included. An alert with no expiry takes the nearest listed one.
- Does Schwab need options approval for TrendSpider orders?
- Yes, at the level the trade requires. Short stock or short spreads need margin on the account.
- 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: How do I send TrendSpider alerts to my broker?.
- Related: Schwab automated trading from alerts.
- TradingView automation tools compared.
- Charles Schwab page and TrendSpider page.
TrendSpider alerts, by account
Schwab orders, by alert source
Send your first TrendSpider alert
Trade and test free on paper. No card required.