StructureX

Home › Comparisons

Paper vs live trading bot: what changes when money is real

A trading bot can look perfect on paper and stumble on its first live day. Not because the code changed, but because the market finally talks back.

Comparison · 7-minute read · Updated 2026-10-21

The short answer

Paper trading a bot means running it on live prices with fake money. Most broker APIs that support bots offer a paper or "sandbox" mode for this.

Running a bot live means the same code sends real orders with real money.

Paper proves your code runs and your rules fire the way you meant. It can't fully show you real fills, real costs or what happens when something breaks with money on the line.

Side by side

Paper botLive bot
Money at riskNoneReal
Price dataLive (or near-live)Live
FillsSimulated, often instant and fullReal: can be partial, late or missed
SlippageOften none or estimatedReal, worse in fast or thin markets
Fees and spreadsSometimes ignoredAlways charged
ErrorsEasy to shrug offCan cost money
Rate limits and outagesRarely testedWill happen eventually
Your feelingsCalmVery much present, even if the bot clicks
What it provesThe logic and the code path workHow the whole system behaves for real

What paper testing is great for

What paper testing hides

A safe path from paper to live

  1. Paper for weeks, not days. Aim for enough trades to see losses as well as wins. Log every one.
  2. Compare paper to backtest. If results differ a lot, find out why before going further.
  3. Go live at the smallest size the market allows. A micro futures contract, a few shares, or the minimum crypto order.
  4. Keep the risk controls on. Size from the stop, a maximum daily loss that switches the bot off, and a maximum number of trades a day. See trading bot risk controls.
  5. Compare live fills to paper fills. Same signal, what price did each get? That gap is your real-world cost.
  6. Only then consider sizing up, slowly, and only if the live record still matches your plan.

Lock down the keys before going live. API keys go in environment variables, never in the code. Turn off withdrawal permissions and use IP whitelisting where offered. See API key security for trading bots.

Which fits you?

  1. New bot, new idea: paper only. There's no rush.
  2. Paper run looks steady over many trades: a tiny live test with a hard daily stop.
  3. Live test matches paper closely: keep logging. A small edge on paper can vanish once real costs land, so keep checking.

Our course includes the StructureX chart tool's full source code to learn from and build on: source code, not a ready-made trading bot.

Common mistakes

Example code and bots for learning should always be tested on paper first. No bot is a ready-made trading system, and losses are always possible.

Questions

Is paper trading a bot accurate?

It's accurate for testing your logic and code, but it usually makes fills look better than real life. Live orders face slippage, partial fills, fees and outages that paper modes simplify or skip.

How long should I paper trade a bot?

Long enough to see many trades, including a losing stretch. For most rule sets that means weeks or months, not days. Then compare the results with your backtest.

Why does my bot do worse live than on paper?

The usual reasons are slippage, missed or partial fills, fees and spreads, and errors like timeouts. Comparing each live fill to what the paper run got shows where the gap comes from.

Does Alpaca have paper trading?

Yes. Alpaca offers a separate paper trading environment with its own API keys, so you can test a stock bot on live prices without real money.

Want the next step? We'll walk you through it.

Four free lessons by email, one every few days — each with a 10-minute exercise on a real chart.

Send Me the Free Lessons 4 short emails · No spam · Unsubscribe anytime

Or see the whole method, step by step:

See What’s Inside the Course Try everything free first. Decide when you're ready. · Open the free chart tool (works in the TradingView phone app)

One chart idea a day, in plain English. Follow along:

Follow on XFollow on TradingView