brandonmtaylor.dev
Subject
Software
Date
Read
6 min

Meet TaylorTrader: an automatic trading bot that runs on your own computer

TaylorTrader trades your Alpaca account on the strategies you set, runs locally on your Mac, talks to Claude through MCP, and installs in a few commands. What it does, how it keeps you safe, and why it ships without a recommended strategy.

Contents
  1. Get started
  2. Why I built it
  3. What it does
  4. Talk to it from Claude
  5. Safety first
  6. Source-available

TaylorTrader is an automatic trading bot that runs locally on your own computer and trades your Alpaca account. You set your strategies once, and it watches the market for you: it checks prices all day, buys and sells when your strategies say so, protects every trade with a stop-loss, and tells you what it did. You can also talk to it through AI: Claude connects to it over MCP to check on it, test ideas, and adjust it.

One thing up front: I can’t promise you’ll make money with it. In my testing I’ve found some useful strategies, but over a long period, simply buying and holding has been very hard to beat. That’s why I built buying and holding in too, as a plan that invests a set amount on a schedule.

What TaylorTrader gives you is a safe way to test ideas and try to find what works for you, on paper, before any real money is involved. You don’t need to write code to do it: describe a strategy in plain English, and Claude turns it into rules and tests it.

Get started

It’s free. The software costs nothing, and so does an Alpaca paper account. The AI features are optional: they can use a Claude plan you already have, an API, or a free model running on your own computer.

TaylorTrader is on GitHub. It runs on macOS, and you need a free Alpaca paper account (email only, no money):

curl -LsSf https://astral.sh/uv/install.sh | sh   # once, if you don't have uv
uv tool install taylortrader
taylortrader                                      # opens the dashboard and walks you through setup

Setup takes about ten minutes: connect your paper keys, pick a strategy and backtest it, check the safety limits, and start the bot. Just want to look around first? taylortrader dashboard --demo opens the whole dashboard on a made-up account, with no keys and nothing sent anywhere.

The TaylorTrader dashboard: account value, the bot's heartbeat, and the growth of $100 compared with SPY, on a made-up demo account.
The dashboard, on a made-up demo account.

Why I built it

I wrote my first trading bot in 2022, before AI coding tools, all by hand. It ran, but it was hacky. I had to keep watching it and patching it every time something upstream changed, and I had no good way to test whether a strategy was any good before it traded.

TaylorTrader is the rebuild, done properly: safer, testable, and something other people can run.

What it does

Runs on its own. During market hours it trades and invests by itself, checks that every position is protected, and emails you a summary after each close: what you made or lost that day and every trade it closed. You step in only when you want to.

The daily summary email on a phone: the day's result, three closed trades with one loss, positions with their stop-losses, and the day's orders, on a made-up demo account.
The summary after each close, on a made-up demo account.

Strategies without code. Pick a built-in, or write your own rules, like close > ma_50 and rsi < 40. Every backtest is compared with buying and holding, so you can see right away whether a strategy is earning its keep.

The Strategies page: each strategy's symbols, bar size, position size, stop-loss, and a one-click backtest, on a made-up demo account.
Strategies, each with a one-click backtest.

See how every trade was timed. The chart marks each buy and sell, and a table grades every sell: how much of the best possible gain it kept, and how far the price went after it sold. You can see whether a strategy sells too early, losses included.

Trades on the chart: a month of VRT prices with every buy and sell marked, and a table of each sell's result, best gain while held, how much of it was kept, and how far the price rose in the week after, on my paper account.
A month of one strategy's trades on my paper account (simulated money), losses included.

Tests that are hard to fool. A good backtest is easy to get by accident. taylortrader search tunes a strategy on older data, tests it once on data it hasn’t seen, and checks the result against random entries, so luck doesn’t pass for skill.

An AI strategy that shows its work. A language model decides buy, sell, or hold, and explains every call with its confidence and its reasons. A report card grades each call against what happened next. The model only proposes: position size, the stop-loss, and every limit still apply.

AI decisions: each call with its confidence and a one-line reason, on a made-up demo account.
The AI's calls, each with its confidence and reason.

Long-term investing on a schedule. An invest plan puts a set amount into a mix of funds every week or month and keeps it balanced. Before you start, it shows how that plan would have done over the last 10 years on real past prices. The mixes are examples, not recommendations.

What if you'd started 10 years ago: a monthly amount in each ready-made mix, on made-up demo prices.
"What if you'd started 10 years ago?", on made-up demo prices.

Talk to it from Claude

TaylorTrader includes an MCP server, so Claude can check on the bot and adjust it. Describe an idea in plain English, and Claude writes the rules, backtests them against buying and holding, and adds the strategy once you say so. Or just ask how the week went:

A real answer from Claude, made-up paper account, trimmed to fit.

To connect it to Claude Code, run this once:

claude mcp add taylortrader --scope user -- taylortrader mcp

Claude works under the same rules as the dashboard. It can’t switch to live trading, read your keys, or loosen your limits.

Safety first

  • Stop-losses live at the broker. Every strategy buy comes with a stop-loss held by Alpaca, so it still works if TaylorTrader or your computer stops.
  • Every order is checked against position size, total exposure, daily loss, buys per day, and a pause switch. Sells are never blocked.
  • It only manages what it bought. Shares you already own aren’t touched.
  • It tells you when something’s wrong: a missing stop, a refused order, prices that stopped arriving, or the bot itself going quiet.
  • Paper first. It trades simulated money until you switch to live yourself, which takes live keys and typing GO LIVE in the dashboard on your Mac.

Source-available

TaylorTrader is source-available: free to use, change, and run for yourself.

It’s actively being improved. I run it myself and keep testing and refining it. If you try it and something breaks, looks wrong, or could be clearer, open an issue on GitHub. And if you find a strategy that holds up, I’d like to hear about that too.

Not financial advice. TaylorTrader is provided as is, with no guarantees. You’re responsible for your own trades and for any money you make or lose. Past results, including backtests, don’t predict future results.