AI trading agents explained: how they research, test, trade and watch a strategy

What an AI trading agent is, what MarketsCoder's five agents do from idea to live trading, and the safeguards that keep each one accountable.

  • AI agents
  • Research
  • Live trading
AI trading agents explained: cover with a pixel magnifying glass

An AI trading agent is a model that works on its own toward a goal. Where a chat assistant answers one message at a time, an agent takes a task (“cut this strategy's drawdown without giving up most of its return”), plans, uses tools, reads what comes back and decides what to do next, for as long as its budget allows. On MarketsCoder the agents run on Claude by Anthropic, and the tools are the platform's: your code, backtests and their reports, paper and live deployments, and alerts.

There are five ready-made agents, one for each stage from idea to live trading, and you can build your own for anything else.

The five agents as a pipeline: Strategies, then Research, then Paper trading, then Live trading, with Monitoring watching every running deployment
Five agents cover the line from an idea to a live strategy. You choose where each one starts and stops.

1. The strategies agent: from an idea to candidates

Give it an idea, a market or a dataset (“mean reversion on large US tech stocks”, “something with futures positioning”). It writes several algorithms from scratch in Python, backtests each one, and hands back a ranked shortlist with the reasoning. Every candidate is ordinary code in your account, yours to read, change and keep.

2. The research agent: improving one strategy toward a goal

Point it at an algorithm and a measurable goal: a lower drawdown, a higher Sharpe ratio, fewer trades. It works on a copy, one change and one backtest at a time, and keeps a record of each step. Then comes the part that matters most: a final test on dates it never saw while it worked. You see the development result and the held-out result side by side, and a diff of every change. Nothing in your algorithm changes until you adopt it.

3. The paper trading agent: does it behave as tested?

It deploys the algorithm to a paper or demo account and runs it on live prices without real money, then reports how it compares with its backtest: the trades it took, fills, slippage, and anything that differs. It's the step our guide on paper trading before going live explains in detail.

4. The live trading agent: real money, within your limits

It takes the strategy live through your broker, within the limits you set on order size, order rate and drawdown, stops the deployment on a hard breach, and sends a report every day.

5. The monitoring agent: watching what's running

It checks every running deployment you give it, each minute: errors, rejected orders, drawdown, a price feed that has gone quiet. When something looks wrong you get an email that explains what it saw and why it matters, instead of a bare alert.

How a run works

  • A task and a budget. Describe the job in plain English and set a budget from your prepaid balance. The agent pauses when it's spent, with nothing lost.
  • In the background. Close the tab: the agent keeps working and emails you when it needs you or when it's done.
  • On the record. Every step, backtest and decision is saved, so you can follow its reasoning afterwards.
  • You decide. Research results are adopted, or not, by you. Orders go only to deployments you gave the agent.

Assistant or agent?

Use the AI assistant when you want to work together, one request at a time, and see each change as it happens. Use an agent when the job is long, measurable and can run without you: many rounds of testing, or watching a deployment around the clock.

See the AI agents page for examples of each, and pricing for what a run costs.

Frequently asked questions

What is an AI trading agent?

A model, here Claude by Anthropic, that works on its own toward a goal instead of answering one message at a time. It plans, uses tools such as backtests, reads the results and decides what to do next, within a budget you set.

Can an AI agent trade with my money?

Only the live trading agent and agents you build and allow to place orders, only on deployments you give them, and only within your order limits. They can be set to ask for your approval before each order.

How do AI agents avoid overfitting?

Each research run keeps back a final test period the agent can't see while it works. Its finished version is tested once on those dates, and you see both results side by side.

How much does an AI agent cost?

You set a budget for each run, which must be in your prepaid balance. The agent is billed for the model use and backtests it runs, and pauses when the budget is spent.

Share on XLinkedIn

Test your own idea on point-in-time data.

Write a strategy in Python or describe it to the AI assistant, and see a full backtest report in minutes.

Get started