Charles Schwab: Trader API scopes, Treasury rules and static bundle boundaries
Separating authoritative TreasuryDirect auction data, Schwab’s OAuth Trader API, uncalled web-bundle route strings, and human-only trade execution.
- Public auction + fixed-income rules
- Approved Trader API OAuth scope
- Human-authorized brokerage execution
Investigation question
What can public brokerage documentation, static client bundles, and the Individual Trader API actually establish for U.S. Treasury ladder planning—and why must static route strings never be treated as an authorized trading interface?
Observed
Schwab’s public fixed-income pages and TreasuryDirect’s published auction rules define distinct lifecycle clocks: Treasury auction announcements, non-competitive versus competitive bidding cutoffs, T+1 secondary-market settlement, maturity cash payouts, and broker-specific CD/Treasury auto-rollover enrollment constraints. Meanwhile, developer.schwab.com/products/trader-api--individual documents OAuth-gated categories for balances, positions, orders, transactions, and market data—requiring explicit developer app approval and user OAuth consent. Cookie-free static inspection of public developer-portal and allowlisted client JavaScript bundles surfaces internal route-string candidates (such as balances, history, export, or collateral lookup paths). However, static presence in a client bundle does not establish response schemas, account entitlements, Treasury auction support, or permission to replay web endpoints.
Inferred
Financial automation needs a strict three-way separation of authority: (1) public treasurydirect.gov announcements and results are authoritative for CUSIP auction schedules and issue/maturity dates; (2) portfolio snapshots and cash-event reconciliation belong only to an approved, user-consented Trader API OAuth client or a user-supplied statement export stripped of raw account numbers; and (3) trade placement, rollover toggles, and cash transfers remain explicit human brokerage actions. An agent-generated ladder proposal is a local planning artifact—never an execution credential or cookie-replay justification.
Unknown & limitations
No authenticated Schwab API session, live brokerage network capture, trade, transfer, or personal financial record is included in this analysis. Exact Individual Trader API payload coverage for Treasury auctions/rollovers, lot-level export pagination, and account-specific margin or settlement holds require approved OAuth sandbox/production verification.
Architecture
Three independent trust zones govern a safe Treasury research and planning stack: (1) unauthenticated public market/rule feeds (treasurydirect.gov auction schedules and public Schwab fixed-income settlement/rollover rules); (2) qualified read-only account adapters (approved developer.schwab.com OAuth2 Trader API or user-exported CSV/JSON snapshots mapped to local account aliases); and (3) human-operated brokerage execution in the official Schwab UI.
Domain & data models
Every read/planning output (get_portfolio_snapshot, list_maturities, list_auctions, compare_cash_choices, propose_ladder, reconcile_cash_events) must carry { schema_version, source, as_of, completeness, warnings, assumptions, unresolved_requirements } and substitute local aliases for raw brokerage account identifiers so incomplete data or stale quotes fail closed.
Workflows & state machines
A bounded Treasury ladder workflow reads authoritative auction/maturity calendars from TreasuryDirect, reconciles settled holdings from an approved read-only snapshot, computes candidate rung allocations and maturity gaps locally, and emits a human-verifiable handoff checklist naming the instrument, maturity date, and supported Schwab page—with zero place-order, cancel-order, rollover-toggle, or transfer tools exposed to the agent.
API & protocol surfaces
Public Schwab Individual Trader API (developer.schwab.com OAuth 2.0 authorization_code + refresh token lifecycle for accounts, positions, transactions, orders, and quotes) contrasted against cookie-free static client route literals (retained strictly as unverified implementation evidence, never invoked with session cookies) and public treasurydirect.gov fiscal/auction endpoints.