greeksoup/ docs
Brokers

Charles Schwab

United States. An app key and secret from developer.schwab.com, on an app Schwab approves by hand, and a sign-in once a week. Positions come priced by Schwab.

MarketUnited States; the home screens take the US shape You pasteApp key, app secret, and the callback address if it differs from https://127.0.0.1; then the week's sign-in Daily loginWeekly; Schwab's key lasts seven days and the desk renews the half-hour pass from it on its own The desk showsHoldings and cash at Schwab's own market value; the watchlist from the free feed

Where the keys come from

At developer.schwab.com create an app and add the Accounts and Trading product. Set its callback address; Schwab requires one that starts with https, and https://127.0.0.1 is allowed. Schwab approves the app by hand, which takes a day or two. When the app says Ready for Use, copy the app key and the app secret.

On Settings

Pick Charles Schwab · United States, paste the key and the secret, and click Save and connect. Leave Callback address empty if the app uses https://127.0.0.1; otherwise put it in exactly as it reads on the app. The desk saves the keys and then asks for this week's sign-in.

Once a week

Click Open the broker login. Sign in on Schwab's page, then press Done. The page that follows is often blank, or says the site cannot be reached; its address is still the right one. Copy that whole address into the box and click Connect. Because Schwab's callback has to be an https address, the address does not arrive in the desk by itself.

The key that sign-in gives lasts seven days, and the desk works out a fresh half-hour pass from it on its own for as long as the week lasts. When the week is up, "Schwab's week key is spent" asks for the sign-in again.

What Desk · Home shows

Every position with quantity, average cost and the market value Schwab reports, so the book is priced from Schwab. Cash from the account read. Contracts are left out: this desk's book is shares.

Live prices

The desk reads your Schwab holdings and prices your watchlist from the free feed for now. Schwab's Trader API has a market data product, so your agent can add live prices to this broker's file from Schwab's developer documentation, which you read signed in to your Schwab developer account.

What it does not show

No live prices from the broker, no futures, no margin bar, no options tape through this read. The options tape on US names is on the Flow screen for every reader. Nothing places an order.