Automated Trading Inside an IRA in 2026: Which Broker APIs Reach a Traditional or Roth IRA, the Cash-Account Settlement Math, Limited Margin, the PDT Change, and the Tax Traps

One of the questions people reach this site with, word for word, is which trading platforms let you use an external platform to trade in both Traditional and Roth IRA accounts through an API. The honest answer has two halves. The first is a broker list, and it changed in May 2026 when Alpaca opened IRAs to its Trading API users. The second is the part most people skip: an IRA is a cash account by default, settles on T+1, cannot borrow, and sits under a contribution limit, so a rule that runs fine in a taxable margin account can violate, stall or quietly cost you inside one. This page covers both halves as of November 4, 2026. The automated Roth IRA guide is the companion piece on contributions and robo-advisors; this one is about running a rule.
Which broker APIs reach an IRA, broker by broker
- Alpaca: yes, since May 13, 2026. Alpaca introduced Traditional and Roth IRAs for individual Trading API users: US tax residents with an SSN or ITIN, equities and options through the same API as a taxable account, deposits and withdrawals only through the web portal by ACH, and incoming transfers by ACATS. Alpaca's own announcement asks you to consider whether an algorithmic strategy suits retirement goals, which is a fair line to keep in mind.
- Tradier: yes. Traditional, Roth, Rollover and SEP IRA account classifications are exposed in the API user profile, each with its own option level; IRAs trade up to level 3, so spreads are allowed. There is a $30-a-year IRA fee, waived on the $10-a-month Pro plan that also includes API access, and a $60 fee to close the account.
- tastytrade: the API is live, the IRA clause is not written down. Every tastytrade IRA is provisioned as limited margin by default: no borrowing, no short stock, no naked options, no crypto, with spreads and futures allowed above a minimum balance and cash-only on request. The Open API serves the account, and the terms make the account holder responsible for orders placed by an automated or unattended system. We found no statement that singles IRAs out either way.
- Schwab: the Trader API covers the linked accounts you select at consent. Schwab's documentation says the API reaches the linked brokerage accounts that allow API access, chosen during the Consent and Grant step, and we could not find a public page that confirms or excludes IRAs. Limited margin and spreads in a Schwab IRA require a supplemental agreement with a $25,000 minimum equity, per the form. The Schwab Trader API explained covers the rest of what the API can do.
- Webull: IRAs exist, the API question is open. Traditional, Roth and Rollover IRAs with $0 commissions, and an OpenAPI for US stocks, ETFs and options during regular hours; we found no source on whether an IRA sub-account is tradable through it.
- Fidelity: no API. Limited margin is available in a Fidelity IRA with a $10,000 minimum, but there is no public trading API to point software at.
- Kraken and the crypto IRAs: no. Kraken has no retail IRA; its self-directed IRA business account is for a retirement entity such as a checkbook-IRA LLC set up through a custodian. iTrustCapital runs its own in-app automation and Alto trades through Coinbase, and we found no evidence that either issues API keys.
So the list of brokers where an external platform can demonstrably trade an IRA by API today is two names, Alpaca and Tradier, with tastytrade, Schwab and Webull in the ask-your-broker column. Best brokers for automated trading has the fee and API comparison for the taxable side.
The settlement math in a cash IRA
An IRA without a limited-margin agreement is a cash account. Since May 28, 2024, US stocks and options settle on T+1, the business day after the trade. Two rules follow from that. A good-faith violation is selling a security you bought with money that had not settled yet; three in twelve months and the broker restricts you to settled cash only for 90 days. Free-riding, under Regulation T, is buying and selling without ever paying for the purchase with settled funds, and one instance earns the 90-day freeze. Neither is a fine; both are a brake on exactly the kind of repeated buying a rule does.
A worked example
Take an account at the 2026 limit, $7,500, with a fixed position size of $1,500. On settled cash the rule can open 5 positions in a day and close every one of them the same day without a violation, because each was bought with settled money. The trap is the second lap: the proceeds from those sales do not settle until tomorrow, so a rule that buys again this afternoon with today's proceeds and then sells before tomorrow's settlement has just committed a good-faith violation. The rule for a cash IRA is therefore a daily buy budget, not a daily trade count: settled cash divided by position size, which is 5 here, and no re-entry on the same dollars until the next business day. Any automation you run in an IRA needs a cap you can set to that number.
Limited margin: what it adds and what it does not
Limited margin is the IRA version of a margin agreement. Fidelity's description is the clearest: it lets you trade on unsettled proceeds and hold defined-risk spreads, with no borrowing, no debit balance, no short stock and no naked options. The minimums differ: $10,000 at Fidelity, $25,000 at Schwab per its supplemental agreement, and tastytrade provisions every IRA that way by default. It removes the good-faith-violation brake, which is the thing a rule most needs, and nothing else. One tax point: debt-financed income inside an IRA is unrelated business taxable income under Section 514, reportable on Form 990-T above $1,000, but limited margin creates no debt, so it generally does not trigger it. A true margin loan would, and no IRA allows one.
The pattern-day-trader change and the IRA
FINRA's Regulatory Notice 26-10 replaced the day-trading margin rules in their entirety, including the pattern-day-trader count and the $25,000 minimum, effective June 4, 2026, with brokers allowed to phase it in until October 20, 2027. The notice says nothing about IRAs, limited margin or cash accounts. Read that two ways. A cash IRA was never subject to the pattern-day-trader rule, so nothing changed for it; the settlement math above is the whole constraint. A limited-margin IRA was treated as a margin account for day-trade counting at some brokers, and whether that treatment has ended depends on where the broker is in the phase-in. Ask, because the answer decides whether your rule can re-enter on the same day.
The tax traps
- The wash sale that reaches into the IRA. Revenue Ruling 2008-5 says that if you sell a security at a loss in a taxable account and buy the same security in your IRA, or your spouse's, within 30 days, the loss is disallowed, and because an IRA has no cost basis to adjust, it is gone permanently. Running the same rule on the same symbols in a taxable account and an IRA is how that happens by accident. The wash-sale post covers the mechanics.
- The limit makes a loss permanent. Inside an IRA there is no 1099-B, no capital gains and no deduction. A loss cannot be written off, and it cannot be replaced beyond the contribution limit. That is the prudential reason the Roth guide gives for keeping active automation in a taxable account, and it still holds.
- The two account types tax the exit differently. Traditional IRA gains are tax-deferred and taxed as ordinary income on distribution, with required minimum distributions from age 73. Roth IRA qualified withdrawals are tax-free after five years and age 59 and a half. Neither changes what the rule does inside the account; both change what it is worth when it leaves.
The 2026 numbers
For 2026 the IRA contribution limit is $7,500, with a $1,100 catch-up for people 50 and over for a total of $8,600. The Roth phase-out runs from $153,000 to $168,000 of modified adjusted gross income for single filers and $242,000 to $252,000 for married filing jointly. The deduction for a Traditional IRA phases out from $81,000 to $91,000 single and $129,000 to $149,000 joint if a workplace plan covers you. Those are the figures that set the daily buy budget above, and they are the reason an IRA rule is sized in hundreds of dollars, not thousands.
Where JorgAI stands on IRAs
JorgAI has no IRA mode and we have not tested it against IRA accounts. It connects to whatever account your broker's API authorizes, so at Alpaca or Tradier an IRA may appear as a connectable account; whether it should is the question this page is for. The settings that matter if you do are the daily spend cap and the position size, which together are the settled-cash buy budget from the worked example, and the auto-trades-per-day cap, which should not exceed it. Our own view is the one in the Roth guide: active automation belongs in a taxable account for both mechanical and prudential reasons, and an IRA is better served by the automation that already exists for it, recurring contributions and rebalancing. If you want to see what a running rule looks like before deciding, the free plan runs the same system on a simulated account with nothing connected.
Quick answers
Can I use an external platform to trade my IRA through an API?
At Alpaca, since May 2026, and at Tradier, yes, with the IRA exposed to the same API as a taxable account. At tastytrade, Schwab and Webull the API exists and the IRA answer is not documented, so ask the broker. Fidelity has no API.
Can you day trade in a Roth IRA?
Buying and selling the same day is allowed; the limit is settlement. In a cash IRA you can trade only settled money, so the same dollars go round once a day. Limited margin removes that brake. The pattern-day-trader rule was eliminated by FINRA in June 2026 and never applied to cash accounts anyway.
Does automated trading in an IRA trigger UBTI?
Generally not. UBTI inside an IRA comes from debt-financed income, and an IRA cannot borrow; limited margin is not a loan. A rule that only trades settled cash or limited margin has no debt to finance.
Can a trade in my IRA cause a wash sale?
Yes, across accounts. A loss in your taxable account is permanently disallowed if the IRA buys the same security within 30 days before or after. Keep the symbol lists of the two accounts apart.
How much can I put in an IRA in 2026?
$7,500, or $8,600 at 50 and over, subject to the income phase-outs above.
Broker facts are from the pages linked in the text as read on November 4, 2026; where the text says a point is undocumented, we could not find a public source either way, and the broker's answer governs. IRS figures are from the November 2025 announcement for tax year 2026. Settlement and margin rules are summarized, not quoted in full. The worked example is arithmetic. Education, not tax or financial advice; talk to a tax professional about your own accounts.
If you want to see the rule run before you decide where it belongs, start on the free plan: the same scanner and exits on a simulated account, with no broker connected.
More in Risk Management
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
195 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 195. Keep scrolling.




















