Skip to content
AP Consulting · Financial Advisory
—Brasília
--:--:--UTC
PT
Financial markets

Trading robots: how automated trading works

A trading robot is a program that sends orders to a broker following rules defined in advance, without a manual decision for each trade. On MetaTrader, these programs are called expert advisors (EAs). The general technical term is algorithmic trading, or automated trading. The robot does not "predict the future": it executes rules, and rules can fail.

Server racks in a data center, with blue activity lights
Illustration: trading robots are algorithms that run on servers and send orders to the broker via API. There is no results screen: past performance is not disclosed.Photo: Victor Grigas, Wikimedia Commons, CC BY-SA 3.0, colors adjusted
How a serious trading robot works
How a serious trading robot worksAP Consulting video · narration in Portuguese · sources are listed at the end of the page · YouTube channel

How a serious platform is organized

The most transparent model is that of a technology company that licenses the software without touching your money. It does not manage third-party funds and does not recommend assets. The client operates its own account.

Backtest, demo and live account: three types of result

Trading robot: robot, broker and client accountChart of how a serious trading robot works: the software sends orders according to rules, the authorized broker executes them and the money stays in the client's own account, with no promise of profit.TRADING ROBOT: WHERE THE MONEY ISROBOTSends orderssoftware with fixed rules; it does nothold moneyAUTHORIZED BROKERExecutes the ordersregulated partner, with an account inthe client's nameCLIENT ACCOUNTClient's moneybalance and ownership stay withthe client, who can revoke accessNo promise of profit: losses may occur. Backtest results are not real results. Sources: CFTC; SEC/investor.gov;CVM Resolution 19/2021.
Trading robot: robot, broker and client accountChart of how a serious trading robot works: the software sends orders according to rules, the authorized broker executes them and the money stays in the client's own account, with no promise of profit.TRADING ROBOT: WHERE THE MONEY ISROBOTSends orderssoftware with fixed rules; it does not hold moneyAUTHORIZED BROKERExecutes the ordersregulated partner, with an account in the client's nameCLIENT ACCOUNTClient's moneybalance and ownership stay with the client, who canrevoke accessNo promise of profit: losses may occur. Backtest resultsare not real results. Sources: CFTC;SEC/investor.gov; CVM Resolution 19/2021.
Robot, broker and client accountSource: CFTC; SEC; CVM Res. 19/2021

A backtest is a simulation of the rule on historical data. Demo means trading with fictitious money. Live is the account with real money. A serious platform labels every figure as live, demo or backtest and states the period, the asset and the maximum loss (drawdown, the largest fall in capital from a peak to the following trough). Illustrative example: in a US$ 10,000 account, a 20% drawdown means a temporary fall of US$ 2,000. The CFTC warns that hypothetical backtests, the omission of costs and spreads and the refusal of independent verification are warning signs.[1]

Layered risk management

Trading robot: 5 layers of risk managementFive layers of risk management of a trading robot: position size, limits per market, loss controls, blocking without reliable data and emergency stop.TRADING ROBOT: 5 LAYERS OF RISK1Position sizeAdjusted to market volatility: the more it moves, the smaller the position.2Limits per market and portfolioExposure cap in each market and overall.3Loss controlsAfter losses, the robot reduces and then halts trading.4Blocking without reliable dataOrders are not sent when the price data is unreliable.5Emergency stopShutdown in three levels, available at any time.Risk can be measured and controlled, but not eliminated. Source: practices described in CFTC/SEC warnings and publicdocumentation from execution software providers.
Trading robot: 5 layers of risk managementFive layers of risk management of a trading robot: position size, limits per market, loss controls, blocking without reliable data and emergency stop.TRADING ROBOT: 5 LAYERS OF RISK1Position sizeAdjusted to market volatility: the moreit moves, the smaller the position.2Limits per market and portfolioExposure cap in each market andoverall.3Loss controlsAfter losses, the robot reduces and thenhalts trading.4Blocking without reliable dataOrders are not sent when the price data isunreliable.5Emergency stopShutdown in three levels, available atany time.Risk can be measured and controlled, but not eliminated.Source: practices described in CFTC/SEC warnings andpublic documentation from execution softwareproviders.
The 5 layers of risk management of a robotSource: CFTC; SEC; public documentation from providers

These layers measure and control risk, but do not eliminate it. Leverage magnifies losses, including with robots.

What Brazilian regulation requires

CVM Resolution 19/2021 defines securities advisory as individual, professional and independent investment recommendations, and requires registration with the CVM. When advice is provided by an algorithm, the same rules apply and the code must be available to the CVM (art. 17). The advisor may not guarantee returns (art. 18).[2] Managing third-party portfolios, deciding and executing on the client's behalf, is portfolio management and requires registration as a manager under CVM Resolution 21/2021.[3]

The CVM looks at the substance of the activity. Software that merely executes the client's own rules is different from a service that sends signals or recommends settings by investor profile. This classification should be validated with a capital markets lawyer.

Questions to ask before signing up

Frequently asked questions

Does a trading robot guarantee a profit?

No. No robot guarantees results, and the CVM rule prohibits advisors from guaranteeing returns.[2]

Where is the money held?

On a serious platform, in the client's own account, at an authorized broker; the robot only sends orders.

Is a backtest proof of results?

No. It is a simulation on historical data and does not include all the costs and contingencies of a live account. The CFTC cites hypothetical backtests as a warning sign.[1]

Does a robot need to be registered with the CVM?

If it recommends investments on an individual basis, yes, as advisory. If it manages third-party funds, registration as a portfolio manager is required.[2][3]

Does AP Consulting offer its own robot?

No. This page is educational. AP Consulting helps clients assess platforms; any partnership is subject to prior legal review.

Sources

  1. www.cftc.gov
  2. conteudo.cvm.gov.br
  3. www.gov.br

Informational content, not an investment recommendation. Automated and leveraged trading may result in losses, including of all capital. Past, simulated or demo results do not guarantee future results. Reviewed in November 2026 by , financial consultant at AP Consulting.

‹ Close · back to home
Developed byOR MarketingOR Marketing