Connect Charles Schwab to a trading bot
Stocks, ETFs · Real money · facts last checked Oct 19, 2026
Connect your Schwab account with your own Schwab developer app, sign in at Schwab, then renew the sign-in once a week.
Tallimark connects to Charles Schwab today. You paste the key into your own account; Tallimark never holds your money.
Before you start(3)
You need a Schwab brokerage account and a free account at developer.schwab.com with the Individual Developer role.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Request the Trader API - Individual product. Schwab approves it by hand, most within two business days.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Schwab's Trader API terms say API keys are for your own use only and order decisions must be made by you.
Source: Schwab: Trader API terms and conditions (opens in a new tab) (checked Oct 10, 2026)
Practise first, with no real money(1)
Schwab has no sandbox or paper environment for the Trader API. Practise with the platform's paper trading, then start live with a small amount.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Steps
Register at developer.schwab.com as an Individual (the Individual Developer role).
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Request the product Trader API - Individual and wait for approval.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Create your app. For its callback URL, copy the address shown on Tallimark's Connections page (Charles Schwab) and paste it exactly, character for character.
More detail
It must be HTTPS. All of an app's callback URLs together may be at most 255 characters; several are separated by commas. https://127.0.0.1 is Schwab's form for your own computer, not needed here.
Source: Schwab: Trader API OAuth guide and order samples (opens in a new tab) (checked Oct 19, 2026) · Schwab Developer Portal: callback URL requirements (opens in a new tab) (checked Oct 10, 2026)
While creating the app, set its order limit per minute (up to 120) and note the number.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Wait until the app's status says "Ready for use", then open it and copy its App Key and Secret.
Not yet checked against the broker's own screen: names may differ slightly.
Why it isn't checked
Because the broker shows this screen only after you sign in, and no public page describes it.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
In Tallimark, open Connections, pick Charles Schwab, paste the App Key and Secret, enter the order limit, check the statement and choose Connect with Schwab.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026)
Sign in on Schwab's page and pick the account the bot may trade. If your login reaches several accounts, Tallimark asks which one (showing only the last 4 digits). Tallimark never sees or stores your Schwab password.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026) · Schwab: Trader API terms and conditions (opens in a new tab) (checked Oct 10, 2026)
Once a week, renew: on Connections choose Renew with Schwab and sign in again.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026)
Permissions at Charles Schwab
Turn on
- api (the Trader API's only scope)
Why each setting
api (the Trader API's only scope) (turn on): Covers trading and account reads. The Trader API has no money-movement endpoints, so a connection can't withdraw or transfer.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026) · Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
What to paste into Tallimark
- App Key
- Charles Schwab calls it: App Key
- On your app's page at developer.schwab.com, once the app is ready for use.
- Secret
- Charles Schwab calls it: Secret
- On the same page. Sent once, stored encrypted, never shown again.
IP allow-list
Schwab publishes no IP restriction for Trader API apps.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Not yet checked against the broker's own screen: names may differ slightly.
Why it isn't checked
Because Schwab's pages don't mention IP restrictions either way; check the app settings after signing in.
What Tallimark checks: Tallimark stores your app's key and secret and Schwab's sign-in encrypted; your Schwab password goes only to Schwab. The Trader API has no money-movement endpoints, so the connection can't withdraw or transfer. You confirm it is for trading only, and the connection trades only the one account you pick.
Does the connection expire? Sign in again every 7 days
Schwab's sign-in lasts 7 days. After that you must sign in again in a browser; changing your Schwab password or two-factor settings, or revoking access, also ends it early.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026)
What Tallimark does: Every Schwab connection shows when to renew it. Tallimark reminds you 48, 24, 6 and 1 hour before it lapses. From 2 hours before, bots on that connection open no new trades but keep managing the ones they have. If the week runs out (or Schwab ends the sign-in early), the bots pause and send nothing, and their record shows the pause; protective stops already resting at Schwab stay there and can still fill. When you renew, each bot checks its positions against Schwab before anything resumes.
If something goes wrong(3)
- Callback URL mismatch
- Why: The app's callback URL doesn't match the address the sign-in uses, character for character.
- Fix: Edit the app at developer.schwab.com: paste the exact address the Connections page shows (use its Copy button).
Source: Schwab Developer Portal: callback URL requirements (opens in a new tab) (checked Oct 10, 2026)
- Sign-in expired / refresh refused
- Why: The 7-day sign-in ran out, or your password or two-factor settings changed.
- Fix: Choose Renew with Schwab and sign in again.
Source: Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) (checked Oct 10, 2026)
- Too many order requests
- Why: Order placing, replacing and cancelling is limited per account to the rate chosen when the app was registered (0 to 120 a minute).
- Fix: Choose a higher order limit for your app, or run fewer bots on the account.
Source: Schwab Developer Portal: products (opens in a new tab) (checked Oct 10, 2026)
Not yet checked against the broker's own screen: names may differ slightly.
Why it isn't checked
Because the limit's error text isn't public.
All sources (last checked Oct 19, 2026)
- Schwab Developer Portal: products (opens in a new tab) · checked Oct 10, 2026
- Schwab Developer Portal: callback URL requirements (opens in a new tab) · checked Oct 10, 2026
- Schwab: Trader API OAuth guide and order samples (opens in a new tab) · checked Oct 19, 2026
- Schwab Developer Portal: OAuth restart vs refresh token (opens in a new tab) · checked Oct 10, 2026
- Schwab: Trader API terms and conditions (opens in a new tab) · checked Oct 10, 2026
Broker screens change often: if a button has moved, follow Charles Schwab's own page.
Ready to build a bot?
Other brokers and exchanges
- AlpacaStocks, ETFs, crypto · Paper or real money
- Coinbase Advanced TradeCrypto · Real money
- KrakenCrypto · Real money
- TradierStocks, ETFs · Paper or real money
- WebullStocks, ETFs, crypto · Paper or real money
- moomooStocks, ETFs · Paper or real money
- GeminiCrypto · Paper or real money
- TradeStationStocks, ETFs, options, futures · Paper or real money