What rules apply to retail algorithmic trading?
The rules most likely to touch a retail bot
Market-conduct rules top the list: manipulative patterns like spoofing or wash trading are illegal regardless of intent or automation, and a badly designed bot can produce them accidentally — rapid order/cancel loops are a classic hazard. Your broker supervises the order flow and will restrict accounts that generate problematic patterns.
Account-level rules matter day to day. The pattern day trader rule flags margin accounts making four or more day trades in five business days below the equity threshold; frequent-trading rules on both the broker's side and yours can bite an active bot. Cash accounts sidestep some of this at the cost of settlement timing.
- Anti-manipulation rules apply to accidental patterns, not just intent.
- Pattern day trader rule: automated frequency can trip it quickly in margin accounts.
- Broker terms of service: the operative rulebook for what automation is permitted at all.
- Tax records: every automated trade is a taxable event you must be able to account for.
Where the compliance burden actually sits
Practically, your broker is the enforcement layer: their systems monitor order flow, apply the suitability and market-access checks, and decide what automated behavior their terms permit. This is a real advantage of official agent APIs — the broker's checks run on every order by construction, rather than being bypassed by a password-sharing bot.
The vendor's obligations are about honesty: no fabricated results, no advice without registration, no operating as an unregistered fund. As the operator, your job is simpler but real: run software whose behavior you can read, inside your broker's terms, with records you keep.
First-party data — from our own desk
More questions people ask
Can I accidentally break market rules with a bot?
Yes — rapid order-and-cancel behavior can resemble manipulation regardless of your intent, which is one reason to favor slow, small, well-journaled strategies and brokers whose checks stay in the loop.
Does the pattern day trader rule apply to bots?
It applies to the account, not the trader's species. An automated strategy making frequent same-day round trips in a margin account will trip it exactly as a human would.
Is this section legal advice?
No — it is general orientation. Rules change and situations differ; for decisions that matter, read the primary sources linked below or consult a securities attorney.
Regulator resources and sources
Independent, official reading — not affiliated with EB28:
Keep going