Guide
Schwab API TradingView setup
A TradingView alert cannot call the Schwab API. It can send a webhook, so something has to receive that webhook and place the order through Schwab's Trader API. You can build that receiver yourself on developer.schwab.com, or point the alert at Nyria, which holds the Schwab connection through Schwab's own sign-in with no developer account and no API key. Charles Schwab is live on Nyria today. Test the alert free on Nyria Paper first.
Official documentation
Connect TradingView to Schwab with Nyria
- 1
Connect Schwab
In Nyria, select Integrations in the left sidebar, then the Charles Schwab card. Select Connect live account, sign in at schwab.com and select Allow on the Authorize App screen. No developer account or API key is needed.
- 2
Create a strategy
Select Create strategy and pick TradingView as the alert source. Choose stocks or options as the asset type, and set what an entry and an exit do on each side.
- 3
Create the alert in TradingView
Open the alert dialog and set the Condition to your strategy or indicator. Open Message, paste the message from the strategy's Integration tab and select Apply. Open Notifications, tick Webhook URL, paste the strategy's URL and select Apply, then Create. TradingView sends webhooks on its paid plans only, with two-factor sign-in on.
- 4
Check the format
Back in Nyria, select Check format, then Check and save. The strategy turns Active once Nyria reads every side, and the Logs tab shows the ticker, side and contract it read.
- 5
Run it on Nyria Paper
Deploy a bot on Nyria Paper, set a Budget per entry and let the alert fire for a few sessions. Check the Logs tab.
- 6
Deploy a bot on Schwab
Deploy a second bot and pick the Schwab account on the Account step. The next alert becomes an order in your own Schwab account.
Watch the setup

Steps in the video
- 0:00Connect Charles Schwab. Open Integrations and the Charles Schwab card. Select Connect live account and sign in at Schwab. Schwab asks you to sign in again every 7 days.
- 0:18Create a strategy. Select Create strategy and name it. Then, select your alert source. This example uses TradingView. Pick stocks and a ticker, then create the draft.
- 0:46Create the alert in TradingView. Copy the webhook URL and the alert message from the Integration tab. In TradingView, select Message, paste the message and select Apply. Then select Notifications, tick Webhook URL, paste the URL and select Apply.
- 2:27Check the format. Select Check format and add an entry and an exit alert. Nyria shows the ticker, side and order it read.
- 2:46Deploy a bot. Select Deploy bot, set a budget per entry and pick an account. Nyria Paper is free, so test there first. On your own Schwab account, pick it on the Account step. Send a sample alert and watch the paper order fill.
What Nyria trades at Schwab
- Stocks and options up to 4 legs, as market and limit orders.
- SPX trades on the PM-settled SPXW chain, 0DTE included. Nyria can't trade crypto or futures at Schwab.
- An alert cannot set the size. The bot sizes each order from its Budget per entry.
- Schwab ends Nyria's access every 7 days. Select Reconnect live account and sign in again.
Four brokers compared
| Feature | Schwab | Alpaca | tastytrade | Tradier |
|---|---|---|---|---|
| Stocks and ETFs | Yes | Yes | Yes | Yes |
| Options, up to 4 legs | Yes | Yes | Yes | Yes |
| Order types | Market and limit | Market and limit | Market and limit | Market and limit |
| Paper account on Nyria | Nyria Paper only | Alpaca paper keys, separate from live | Nyria Paper only | Tradier Sandbox |
| How it connects | Schwab sign-in, renewed every 7 days | API key and secret | tastytrade sign-in | Tradier sign-in |
Two routes compared
| Setting | Build it yourself | Use Nyria |
|---|---|---|
| Schwab developer account | Yes. Schwab approves the app, then gives you a key and a secret. | No |
| Code to write | A receiver on port 80 or 443 that answers TradingView within three seconds. It also sizes the order and checks the fill. | None |
| Runs on | A server of yours that stays on. A bug places real orders. | Nyria |
| Sign-in every 7 days | Yes. The refresh token ends after 7 days. | Yes. Select Reconnect live account. |
| Test before live | You build it | Nyria Paper, free |
Questions
- Does TradingView connect to the Schwab API on its own?
- A TradingView alert sends a webhook, not an order. It never calls the Schwab API itself, so a receiver has to place the order.
- Do I need a Schwab developer account for Nyria?
- No. You sign in at Schwab as usual and grant Nyria access on Schwab's own authorization screen.
- Can I test before trading real money at Schwab?
- Nyria connects live Schwab accounts only, so run the same strategy on free Nyria Paper first.
- Do I need a paid TradingView plan?
- Yes. TradingView sends webhook alerts on its paid plans only, with two-factor sign-in on.
- What does it cost?
- Paper is free. Live trading from $15 a month.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Write a TradingView message with the alert builder.
- Step by step for one account: how to automate TradingView to Charles Schwab.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Automate TradingView alerts to Schwab, step by step.
- Connect Charles Schwab to Nyria, in the docs.
- TradersPost alternative for Charles Schwab: Nyria vs TradersPost.
Guides
How do I automate TradingView alerts to my broker?
The alert, the webhook URL, the message, a paper test, then live.
Read guideSchwab automated trading from alerts
Schwab's own sign-in, no API keys; what trades there, a worked example, and the paper run first.
Read guideCan thinkorswim auto trade?
thinkorswim only places conditional orders. Automate Schwab with the Trader API, or with alerts into Nyria.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.