schwab_get_brokerage_orders
Get order history for the active Schwab account.
Returns one markdown row per order:
[] | / / ... | Price: $X @ $avg_fill | Filled: |
Each leg formats as " x " (e.g. "BUY 1x AAPL", "SELL_TO_OPEN 5x AAPL 240315C00185000"). The avg_fill suffix is the average across all executionLegs.price values for the order; omitted if the order has no fills yet.
Date-window default — when from_date and to_date are both blank, the tool defaults to the last 30 days (in UTC). Pass either parameter to override; if you pass one, pass both.
Schwab's order status enum (values you can pass to status_filter): AWAITING_PARENT_ORDER, AWAITING_CONDITION, AWAITING_STOP_CONDITION, AWAITING_MANUAL_REVIEW, ACCEPTED, AWAITING_UR_OUT, PENDING_ACTIVATION, QUEUED, WORKING, REJECTED, PENDING_CANCEL, CANCELED, PENDING_REPLACE, REPLACED, FILLED, EXPIRED, NEW.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| to_date | No | End of window, ISO 8601. Empty string defaults to now. | |
| from_date | No | Start of window, ISO 8601 (e.g. "2026-04-01T00:00:00.000Z"). Empty string defaults to 30 days ago. | |
| dpop_token | No | ||
| status_filter | No | Optional single Schwab status value (e.g. "FILLED", "CANCELED", "WORKING"). Empty string = all statuses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |