Algorithmic trading (or algo trading) is the automated execution of market orders using computer programs that follow a predefined set of rules. Trading bots analyze market quotes and submit orders without human intervention.
How It Works
At the core of any algorithm is a strict set of instructions specifying the exact price, volume, and market signals required to buy or sell an asset. The software connects to a broker's trading system or directly to an exchange like the Moscow Exchange (MOEX), receives real-time market data, and instantly places limit or market orders the moment those conditions are met. These rules can be based on technical indicators (such as moving average crossovers or RSI levels), price discrepancies for the same asset across different venues (arbitrage), or statistical patterns. High-frequency trading (HFT) bots execute thousands of trades per second, profiting from tiny price fluctuations.
Why Retail Investors Use It
The main advantages of algo trading are speed and the elimination of emotion. A computer program does not panic during a market crash and never forgets to place a timely stop-loss order to cap potential losses. A bot can simultaneously monitor dozens of stocks and futures across all trading sessions—a task that is physically impossible for a human. Retail investors do not have to engage in rapid day trading to benefit from algorithms. Automated systems can handle routine tasks, such as buying securities at regular intervals for dollar-cost averaging or periodically rebalancing a portfolio. Major Russian brokers offer open application programming interfaces (APIs) and trading terminals that allow investors to connect custom-built or off-the-shelf trading bots.
Main Types of Algorithms
Trading bots generally fall into three main categories. Trend-following and mean-reversion bots look for sustained price momentum or reversals within a sideways range to capture speculative gains. Market-making algorithms continuously maintain both buy and sell orders in the order book, providing liquidity to the market and profiting from the bid-ask spread. The third category consists of execution algorithms. Institutional funds use them to quietly buy or sell large blocks of shares by breaking the order into thousands of smaller lots to avoid triggering a sharp price spike.
Risks and Limitations
Automation does not guarantee profits. If market conditions shift—for example, if a strong trend turns into a prolonged sideways market—the bot's underlying logic may start generating systematic losses. Additionally, when backtesting a strategy on historical data, it is easy to fall into the trap of overfitting: tweaking the parameters so closely to past performance that the algorithm becomes useless in live trading. Technical risks are also a factor. A lost connection to the broker's server, a software bug, or latency in data feeds can trigger uncontrolled buying sprees. Furthermore, frequent trading racks up substantial brokerage and exchange fees, which can wipe out gross profits even before accounting for Russian personal income tax (NDFL).
A trader sets up a bot to trade stocks on the Moscow Exchange using a specific rule: buy 10 lots whenever the price drops to the 200-ruble support level, set a take-profit order at 204 rubles, and place a stop-loss at 198 rubles. Over the course of the day, the condition is triggered three times. Two trades close with a profit of 4 rubles per share each, while one closes with a 2-ruble loss. In total, the program automatically nets 6 rubles per share before brokerage fees, all while the investor goes about their day.
Related terms
Order BookScalpingTechnical analysisStop-loss orderMarket MakerBid-Ask Spread
On the site
This article was written by AI. Check specific rates, taxes and broker terms with primary sources.