Blog / Trading systems

What a trading bot costs to build, and what it cannot do for you

People usually ask what a trading bot costs as if it were one thing. It is a range, from a script that places one kind of order on one platform, to a system that runs unattended across several brokers with risk controls and recovery. The price follows where on that range you need to be.

What drives the build

How clear the rules are. “Buy when the 20-period average crosses the 50” is quick to code. A strategy that depends on judgement, or on rules nobody has written down, is not, because the first weeks go into turning it into rules.

How many platforms. One platform, such as MetaTrader 5 or NinjaTrader, is simplest. Several brokers behind one interface is a different class of system. We compare the options in MT5, NinjaTrader or a custom engine.

How unattended it must run. A bot you watch is one thing. A bot that runs overnight needs risk checks before every order, a kill switch, alerts to your phone, and recovery after a restart that rebuilds what it holds from the broker’s records.

Testing. An honest backtest and simulator, built so the strategy cannot see the future, is often as much work as the bot itself, and worth more.

Rough ranges

  • A single-strategy bot on one platform, with basic risk limits: a few weeks.
  • A bot with proper risk controls, alerts and a backtest: one to three months.
  • A multi-broker system built to run unattended, with a simulator and dashboards: several months, and it keeps growing.

The running costs

  • Market data. Good historical and live data is often a paid subscription, especially for futures.
  • A server. A bot that runs overnight should not run on your laptop. A virtual server near your broker costs a monthly fee.
  • Platform and connection fees. Some platforms and data connections charge monthly or per contract.
  • Maintenance. Brokers change their APIs, platforms update, and strategies need adjusting. Budget for ongoing work.

What no bot can do for you

  • Turn a losing strategy into a winning one. A bot executes your rules faster and more consistently. If the rules lose money, it loses money faster.
  • Guarantee your fills. In fast markets, orders fill at worse prices than expected. That is slippage, and the bot has to live with it.
  • Protect you from the market being closed, gapping or halted. It can reduce the damage, not remove it.
  • Replace your judgement about risk. It enforces the limits you set. Setting them is still your job.
Be wary of anyone who sells you a bot with a profit figure attached. Software can be guaranteed to follow rules. Markets cannot be guaranteed to reward them.

Where to start

Write the strategy down as rules, including when not to trade and when to stop for the day. Then test it honestly before automating it. If it survives a test that cannot see the future, it is worth building around.

This post is about software engineering. It is not investment advice, and no software can guarantee that a strategy makes money.

Where this comes from. We do this work for clients. See trading systems, or the case study on Naxfront Systems.

Questions about this post? Email contact@naxfront.com. Nancy reads every one.

WhatsApp