Skip to content
Edition NigeriaGlobal
Country

You are in the Nigeria edition. Type your country to switch.

Set up your profile

Algorithmic trading · Lesson 1 of 8

What algorithms do in markets: execution, market making, trend, arbitrage and high frequency

Most orders in large markets are now sent by computer programs. Some only decide how to buy or sell what a person has already chosen; others decide what to trade. This lesson sorts algorithms into families, explains what each tries to do, and shows where each one can lose money.

Advanced11 min read5 steps

This lesson is complete in writing. A video for it is on its way.

What you will learn

  • By the end you can tell execution algorithms from algorithms that decide what to trade.
  • You can explain how TWAP and VWAP algorithms split a large order, and what they aim to achieve.
  • You can describe market making, trend following, mean reversion and statistical arbitrage, and how each can lose money.
  • You can explain what high-frequency trading is and why it is a style built on speed rather than a strategy.

Key terms in this lesson

Ponzi scheme
A fraud that pays earlier investors with money from newer investors instead of real profits, and eventually collapses.
Algorithmic trading
Trading in which a computer program decides some or all of what, when, how much and how to trade, following set rules.
Order book
The list of open buy and sell orders for a security at different prices.
Execution algorithm
A program that carries out an order someone has already decided on, splitting it to reduce cost and market impact.
Market impact
The change in price caused by your own order. It grows with the order's size compared with normal trading and with how fast you trade.
VWAP
Volume-weighted average price: the average price of a day's trades weighted by size, and an execution method that trades in line with expected volume.
Implementation shortfall
The difference between the price when a decision to trade was made and the price actually achieved, including costs and missed trades.
Spread
The difference between the bid and ask prices. A wider spread means a higher hidden cost to trade.
Liquidity
How easily an asset can be turned into cash without moving its price much.
High-frequency trading
Automated trading that depends on very fast systems, holds positions briefly and sends and cancels many orders.

Step 1 of 5

What an algorithm is in trading

Opening this step…

Step 2 of 5

Execution algorithms: TWAP, VWAP and shortfall

This step opens when you finish the one above.

Step 3 of 5

Market making and high-frequency trading

This step opens when you finish the one above.

Step 4 of 5

Trend, reversion and arbitrage

This step opens when you finish the one above.

Step 5 of 5

What algorithms cannot do

This step opens when you finish the one above.

Key takeaways

The key takeaways open when you finish every step.

Lesson quiz

5 questions. You need 85% to pass.

The quiz opens when you finish every step.

Read first

Stockertim Learn is education. It explains how investing works and never recommends buying or selling anything.

Up next

Trading: risk, costs and processFrom idea to rules: a hypothesis…Read nowFrom idea to rules: a hypothesis, data and a test that could prove you wrongTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processData hygiene for backtests: poin…Read nowData hygiene for backtests: point-in-time data, survivorship, look-ahead and corporate actionsTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processBacktesting properly: out-of-sam…Read nowBacktesting properly: out-of-sample tests, walk-forward, multiple testing and overfittingTrading: risk, costs and process · Advanced · 15 minTrading: risk, costs and processCosts and capacity: slippage, ma…Read nowCosts and capacity: slippage, market impact and why paper results shrinkTrading: risk, costs and process · Advanced · 15 minRisk, governance & ethicsGovernance failures and what the…Read nowGovernance failures and what they teachRisk, governance & ethics · Intermediate · 15 minFinancial crimeTerrorist financing and sanction…Read nowTerrorist financing and sanctions evasionFinancial crime · Intermediate · 15 minMedia strategy & planningUnit economics: acquisition cost…Read nowUnit economics: acquisition cost, lifetime value and return on spendMedia strategy & planning · Advanced · 5 minFinancial data & analyticsLab 6: a sentiment classifier on…Read nowLab 6: a sentiment classifier on sample headlinesFinancial data & analytics · Advanced · 15 minAI at workCreators, consent and intellectu…Read nowCreators, consent and intellectual propertyAI at work · Beginner · 15 minAI at workCampaign ideas and copyRead nowCampaign ideas and copyAI at work · Intermediate · 15 minBasicsinvestingRead nowWhat is investing?Basics · Beginner · 5 minAI at workChoosing tools and working out t…Read nowChoosing tools and working out the costsAI at work · Beginner · 15 min
English