Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Claude Agents By James Whitfield

The "AI trading bot in 14 minutes" tutorial everyone is saving, explained honestly

One of the most-saved trading posts this week (800+ likes) links a free tutorial in which, as the post puts it, an "ex-Meta engineer" connects Claude Code to the Alpaca brokerage through an MCP server and gives it a simple 20/50-day moving-average crossover. The bot checks the market and buys or sells when the signal fires. The post says everything is tested with paper trading first. Its claims that the bot "trades for you 24/7" and that you don't need to code are the poster's framing, not ours. Paper trading only in the original post. This is a look at what people are building, not investment advice: automated trading can lose money fast.

Why it matters

It's a clear demo of Claude Code calling real tools through MCP. A moving-average crossover is a textbook example strategy, not an edge.

Who it's for

Developers learning MCP and agent loops who want a concrete project.

How to try it

  1. Open an Alpaca paper-trading account; don't connect a funded account.
  2. Follow the tutorial linked in the post to connect Claude Code through the Alpaca MCP server.
  3. Add logging and a daily summary, and treat the results as a learning exercise.

Plan & availability: Claude Code on a paid Claude plan. Alpaca offers free paper-trading accounts.

Note: reported by users on X; we haven't independently confirmed it works in the current version.

Source: @dravenip on X

Written by James Whitfield from the original post. Checked Oct 17, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

claude-codemcptrading

More Claude tricks

All Claude tricks →