Algorithmic trading
Algorithmic trading is trading in which a computer program decides the parameters of orders, such as timing, price and size, with little or no human involvement. Execution algorithms work an order a client has already decided on. Strategy algorithms decide what to trade.
What it is
Algorithmic trading is the placing of orders in financial instruments by a computer program that decides the individual parameters of each order automatically. The parameters include whether to send the order, when, at what price and in what size. The EU markets in financial instruments rules use this idea as their definition.
Two broad uses exist.
- Execution algorithms take an order that a person or fund has already decided on and work it into the market in slices, to limit its effect on the price. Common schedules follow the clock or the traded volume of the day.
- Strategy algorithms decide what to buy or sell, on a signal such as a price relationship or a forecast, and then generate the orders themselves.
Around the algorithm sit pre-trade checks, such as limits on order size and price, and live monitoring with a way to switch the program off. The same EU rules require firms that run algorithmic trading to keep effective systems and risk controls, to test and limit their systems, and to notify their competent authority. High-frequency trading is one form of algorithmic trading, marked by very fast order messages.
Why it matters
A program can send orders far faster than a person can read them. An error in its logic, data or limits can produce a large number of unwanted orders before anyone reacts. The EU rules therefore call for resilient, tested systems that are subject to trading limits.
Clients depend on execution algorithms to obtain a good result on large orders, as part of best execution. Trading venues depend on firms’ controls to keep order flow orderly.
Worked example
Illustrative numbers. A fund asks for 100,000 shares to be bought over a day, with a market price of 50.00 when the order arrives.
- The execution algorithm splits the order into 5 equal slices of 20,000 shares and sends one per period.
- The slices fill at 50.00, 50.04, 50.06, 50.02 and 49.98.
- The average fill price is the sum, 250.10, divided by 5, which gives 50.02.
- The cost against the arrival price is 0.02 per share, or 2,000 in total on 100,000 shares.
A single order for all 100,000 shares could have moved the price further. The slicing trades a slower fill for a smaller price effect.
How to read it
Execution quality is judged against a benchmark such as the arrival price or the average price over the period. A small difference is a better result, but only for the same order and market conditions.
Assumptions
- Past price and volume patterns resemble future ones. When they do not, a schedule or strategy tuned by backtesting may behave differently live.
- Market data and connections to the venue are complete and timely. Delays or gaps change what the program sees.
- Limits and switch-off controls act faster than the program can build a large position.
Who uses it
- Trading analysts run execution algorithms for client orders and choose the schedule, limits and venues.
- Quantitative analysts design strategy logic and test it on historical data.
- Quantitative developers write, release and monitor the trading code and its pre-trade checks.
- Model validation analysts review the logic, data and testing of the models behind the algorithms.
- Compliance officers check that controls, records and surveillance match the market abuse rules.
Common confusions
- Algorithmic trading is not the same as high-frequency trading. Many algorithms trade slowly, over hours.
- An execution algorithm does not choose what to trade. It only decides how to work an order already given.
- Automation of order entry alone does not make a program algorithmic when it leaves the parameters unchanged. The test is whether the program decides them.
- A firm that buys third-party algorithmic software keeps responsibility for its controls under the EU rules.