Skip to content

Guide

Does Schwab have an API?

Yes. Charles Schwab has the Trader API for individual developers. You apply at developer.schwab.com, and Schwab approves the app. A TradingView alert can't call the API itself. Nyria connects Charles Schwab with Schwab's own sign-in. You need neither a developer account nor an API key.

Official documentation

Connect Schwab in five steps

  1. 1

    Connect Charles Schwab

    Select Integrations, then the Charles Schwab card. Sign in at schwab.com. Select Allow on the Authorize App screen.

  2. 2

    Create a strategy

    Select Create strategy and pick TradingView as the alert source. Choose stocks or options as the asset type.

  3. 3

    Paste the URL into TradingView

    Create an alert on your chart. Open Notifications, tick Webhook URL and paste the strategy's URL. Then select Apply. Webhooks need a paid TradingView plan.

  4. 4

    Test on Nyria Paper

    Nyria takes live Schwab accounts only. Deploy a paper bot first and set a budget per entry.

  5. 5

    Deploy a bot on Schwab

    Deploy a second bot and pick the Schwab account on the Account step. Sign in again every 7 days.

What the API does

  • Schwab offers the Trader API to individual developers.
  • You register an app on developer.schwab.com.
  • Schwab approves the app, then gives you a key and a secret.
  • The refresh token ends after 7 days. You sign in again.

Why an alert can't call it

  • A TradingView alert can't call the Schwab API itself.
  • It sends a webhook. A receiver has to place the order.
  • Nyria is that receiver. It places the order through Schwab's Trader API.

How Nyria connects Schwab

  • You sign in at Schwab as usual.
  • No developer account or API key is needed.
  • Nyria trades stocks and options at Schwab, up to 4 legs.
  • The bot sizes each order from its budget per entry.

What it can't do

  • Trade crypto or futures at Schwab.
  • Don't let an alert set the order size. The budget per entry does.
  • Keep access past 7 days without a new sign-in.
  • Move money.

Questions

Does TradingView call the Schwab API on its own?
No. An alert sends a webhook, not an order. A receiver has to place the order.
Do I need a Schwab developer account for Nyria?
No. You sign in at Schwab and grant Nyria access on Schwab's own screen.
Can I test before using real money at Schwab?
Nyria takes live Schwab accounts only. Run the strategy on free Nyria Paper first.
How often do I sign in again?
Schwab ends Nyria's access every 7 days. Select Reconnect live account and sign in.
Do I need a paid TradingView plan?
Yes. TradingView sends webhook alerts on its paid plans only, with two-factor sign-in on.

Next

More TradingView to Schwab guides

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.