Broker API Capabilities for Automated Trading (2026): Order Types, Sign-In Rules, Fractional Shares, Hours, Assets and Limits at Schwab, tastytrade, Alpaca, Tradier, Kraken and Crypto.com

Most pages that answer "which broker has the best API for automated trading" rank brokers on opinion. This one does something narrower and more useful: it records what each broker's API actually lets software do, as JorgAI's integration uses it today, so you can match a broker to the way you want to trade. It covers the six brokers a JorgAI member can connect right now. Every row was verified against the integration code on November 6, 2026. Brokers change their APIs, so treat each broker's own developer documentation as the authority and this page as the field guide.
Related reading: the ten-broker comparison of API access, fees and order types, rate limits compared, what each API allows for options and what happens to a stop loss when the connection drops.
The matrix
| Capability | Schwab | tastytrade | Alpaca | Tradier |
|---|---|---|---|---|
| Sign-in method | OAuth 2 on Schwab's login and consent screen | OAuth 2 on tastytrade's login; two-factor required | OAuth 2 (Alpaca Connect) or your own API key | OAuth 2 or a personal access token |
| Connection life | Re-authorize every 7 days (Schwab's rule); about 30 seconds to reconnect | Refresh token does not expire | Does not expire | 24 hours per access token; longer with a partner refresh token |
| Order types placed | Market, limit, stop, stop-limit | Market, limit, stop, stop-limit | Market, limit, stop, stop-limit, dollar-sized market buys | Market, limit, stop, stop-limit |
| Exit orders held at the broker | Yes: a trigger order with a one-cancels-other pair, limit take-profit and stop loss, good till cancelled | No; exits are managed by the software's monitor | Yes: OCO legs on equity market buys | Yes, as a separate OCO sell pair sent after a market entry |
| Trailing stop | Software-side | Software-side | Software-side | Software-side |
| Time in force | Day (default) or GTC | Day (default), GTC or IOC | Day (default) or GTC; crypto always GTC | Day or GTC |
| Fractional shares | No, whole shares | No, whole shares | Yes, where the stock is fractionable | No, whole shares |
| Session hours used | Regular session only | Regular session only | Regular session only | Regular session only |
| Assets reachable | US stocks and ETFs | US stocks and ETFs | US stocks, ETFs and crypto | US stocks and ETFs |
| Positions left alone | Options, futures, forex, fixed income, index positions | Non-equity positions | Non-equity, non-crypto positions | Non-equity positions |
| Price feed | Alpaca IEX feed | Alpaca IEX feed | Alpaca IEX feed | Tradier quotes; Alpaca bars |
| Paper or sandbox account | None at Schwab; JorgAI's demo simulator instead | None for members | Yes, an Alpaca paper account | None for members |
| Request limit | Not published; 15-second timeout per request | Not published; over-limit calls return a bare 429 | Standard Alpaca limits | Not published |
| Day-trade count from broker | Yes | No; rebuilt from the software's own trade history | Yes | No; rebuilt from the software's own history |
The two crypto exchanges, same rows:
| Capability | Kraken | Crypto.com |
|---|---|---|
| Sign-in method | API key and private key, no withdraw permission | API key and secret, trading on and withdrawal off, IP allow-list |
| Connection life | Keys do not expire | Keys do not expire |
| Order types placed | Market (including dollar-sized buys), limit, stop-loss, stop-loss-limit | Market and limit; stop orders are not available through the API |
| Exit orders held at the broker | No | No |
| Trailing stop | Software-side | Software-side |
| Time in force | GTC or IOC on limit orders | GTC or IOC on limit orders |
| Fractional shares | Yes, to the pair's lot size | Yes, to the pair's tick size |
| Session hours used | 24/7 | 24/7 |
| Assets reachable | Spot crypto in USD, USDT and USDC pairs | Spot crypto |
| Positions left alone | Holdings below the pair minimum | Holdings below the tick size |
| Price feed | Alpaca feed; Kraken ticker to size orders | Alpaca feed; Crypto.com ticker to size orders |
| Paper or sandbox account | None; Kraken has no spot sandbox | None |
| Request limit | About 15 calls, refilling one every 3 seconds | 15 order calls per 100 ms; 1 trade-history call per second |
| Day-trade count from broker | Not applicable | Not applicable |
What the rows mean in practice
Exit orders at the broker, or in the software
A bracket is a pair of exit orders, a take-profit limit and a stop loss, that the broker holds on its own servers. Where the broker accepts them (Schwab, Alpaca, Tradier) the exits exist even if the software is unreachable for a while. Where the broker does not (tastytrade, Kraken, Crypto.com) the software's own monitor checks each position on a short cycle and sends the exit order when a level is hit. Trailing stops are run by the monitor at every one of the six, because none of these APIs offers a trailing stop that moves with price the way a rules engine needs. The practical difference is what protects you during an outage, which is the subject of the connection-drop page.
Whole shares, and what that does to small budgets
Four of the six are whole-share only through the API. A $100 per-trade budget cannot buy a $220 stock at Schwab, tastytrade or Tradier; the order is skipped rather than rounded up, and a position that would be a fraction of a share is not placed. Alpaca fills fractional orders on fractionable stocks, and the two exchanges size crypto to the pair's lot or tick size. If you run a small account, this row decides more than the fee schedule does.
Session hours
None of the four stock brokers is used for pre-market or after-hours orders through JorgAI; orders go in during the regular session. The two crypto exchanges trade around the clock, which is why crypto rules can fire at 3 AM and stock rules cannot.
How long the connection lasts
Schwab is the only one that expires the connection on a fixed clock: every seven days you sign in to Schwab again, and JorgAI reminds you the day before. Why Schwab does that, and what happens if you miss the window, has its own page. Tradier access tokens last a day unless the account carries a partner refresh token. tastytrade, Alpaca, Kraken and Crypto.com persist until you disconnect or revoke the key.
One price feed for every broker
Decisions, exits and position values are priced off one feed, Alpaca's IEX feed, for every broker. That keeps a rule's behaviour identical whichever broker it runs on, and it avoids redistributing any broker's own quotes, which some broker terms forbid. Tradier's quotes are read for Tradier accounts, and the two exchanges' public tickers are used only to size and price crypto orders.
Where the day-trade count comes from
Schwab and Alpaca report the account's day-trade count through the API. tastytrade and Tradier do not, so the software keeps its own count from the trades it placed, to respect the member's day-trading switch. The pattern day trader rule itself, and any margin rule, is the broker's to enforce.
Broker by broker
- Schwab. OAuth consent, 7-day re-authorization, broker-held brackets, whole shares, stocks and ETFs. The detail is in the Schwab Trader API page, the fill-speed study on 294 live orders and the Schwab how-to.
- tastytrade. OAuth with two-factor, a connection that does not expire, software-managed exits, whole shares, stocks and ETFs. Detail in the tastytrade API page.
- Alpaca. Key or OAuth, fractional shares, a real paper account, brackets on equity orders, stocks and crypto in one account. Detail in the Alpaca how-to and the paper-trading guide. Order rules in detail: the Alpaca API order rules page.
- Tradier. OAuth or token, daily tokens without a partner refresh, OCO exits after a market entry, whole shares. Detail in the Tradier how-to. Order rules in detail: the Tradier API order rules page.
- Kraken. API keys with no withdraw permission, 24/7, fractional to the lot size, no sandbox. Detail in the Kraken how-to. Order rules in detail: the Kraken API order rules page.
- Crypto.com Exchange. API keys with an IP allow-list, 24/7, market and limit only, no stop orders through the API. Detail in the Crypto.com how-to. Order rules in detail: the Crypto.com Exchange API order rules page.
Quick answers
Which broker API is best for automated trading?
There is no single answer, and this page does not rank them. The table shows the trade-offs: broker-held exit orders (Schwab, Alpaca, Tradier) against a connection that never expires (tastytrade, Alpaca, the exchanges); fractional shares (Alpaca and the exchanges) against whole shares; a real paper account (Alpaca only). Pick the row that matters most for your account size and the way you trade.
Do any of these APIs support trailing stops?
Not in a form a rules engine can rely on across brokers, so JorgAI runs trailing stops in its own monitor at every broker and sends the exit order when the trail is hit.
Which brokers let software trade fractional shares?
Alpaca, on stocks it marks fractionable. Schwab, tastytrade and Tradier are whole-share only through their APIs. Kraken and Crypto.com size crypto to the pair's lot or tick size, which is fractional by nature.
Which brokers have a paper or sandbox account for members?
Alpaca. Schwab, tastytrade, Tradier, Kraken and Crypto.com do not offer a member-facing paper account through the API, which is why JorgAI's demo simulator exists for practice before a real connection.
Can the software trade options or futures through these APIs?
Not through JorgAI. Options, futures, forex and fixed-income positions in an account are visible to the software and left alone. What each API allows for options covers the APIs themselves.
How we put this together. Every row comes from a line-by-line read of JorgAI's broker adapters and auto-trader workers on November 6, 2026, cross-checked against the brokers' developer documentation: Schwab, tastytrade, Alpaca, Tradier, Kraken and Crypto.com Exchange. Where a broker publishes no figure, the table says so. We will re-verify the table whenever an adapter changes and set the updated date at the top of this page. For the cost side, the fee comparison and the broker fee calculator cover commissions and per-contract fees.
To see a rule run against any of these connections before you decide, start on the free plan: the same system on a simulated account, with nothing connected. The current connection status of every broker is on the brokers page.
For the one large-broker API that still runs on OAuth 1.0a, with tokens that expire every midnight, see the E*TRADE API guide.
The figures in this article describe broker API behaviour and are not a prediction or a recommendation to buy or sell any security. JorgAI is software that carries out the rules you set in your own brokerage account; it is not an investment adviser. Trading involves risk of loss.
More in Getting Started
Keep reading
Let the AI do the trading.
Set it up in minutes. 7 day free trial on Starter, Plus and Pro.
Get started freeGet the weekly market read and new tools by email
One email a week: what moved, what the data says, and the next free tool when it ships. No spam, unsubscribe in one click.
More from the blog
Every other post, newest first
210 more posts
Keep reading
Stops, targets and a daily loss limit, enforced for you.
JorgAI runs the rules you set inside your own brokerage account. Zero withdrawal permissions, disconnect anytime.
Showing 18 of 210. Keep scrolling.




















