Trading Glossary
Comprehensive definitions of algorithmic trading and financial market terminology
A
Algorithm
FundamentalsA set of defined rules and instructions that a computer follows to execute trades automatically. Trading algorithms analyze market data, identify opportunities, and place orders without human intervention.
Algorithmic Trading
FundamentalsA method of executing orders using automated, pre-programmed trading instructions that account for variables such as time, price, and volume. Also known as algo trading, automated trading, or black-box trading.
Alpha
Risk MetricsA measure of an investment's performance compared to a benchmark index, representing the excess return. Positive alpha indicates outperformance; negative alpha indicates underperformance.
Arbitrage
StrategiesThe practice of profiting from price differences of identical or similar financial instruments across different markets or forms. Pure arbitrage is risk-free; statistical arbitrage involves calculated risk.
Ask Price
Market StructureThe lowest price at which a seller is willing to sell a security. Also called the offer price. The difference between the ask and bid price is the spread.
ATR (Average True Range)
Technical IndicatorsA technical indicator that measures market volatility by calculating the average range between high and low prices over a specified period, accounting for gaps.
B
Backtesting
Strategy DevelopmentThe process of testing a trading strategy on historical data to evaluate how it would have performed in the past. Essential for validating strategies before live deployment.
Benchmark
PerformanceA standard against which the performance of a security, mutual fund, or investment manager can be measured. Common benchmarks include the S&P 500 and Russell 2000.
Beta
Risk MetricsA measure of an asset's volatility relative to the overall market. A beta of 1.0 means the asset moves with the market; greater than 1.0 means more volatile; less than 1.0 means less volatile.
Bid Price
Market StructureThe highest price a buyer is willing to pay for a security. Combined with the ask price, it forms the basis of market pricing.
Bollinger Bands
Technical IndicatorsA technical indicator consisting of a middle band (usually 20-period SMA) and upper/lower bands set at 2 standard deviations above and below. Used to identify volatility and potential price reversals.
C
CAGR (Compound Annual Growth Rate)
PerformanceThe annualized average rate of return for an investment over a specified time period, assuming profits are reinvested. Useful for comparing returns across different time periods.
CAGR = (Ending Value / Beginning Value)^(1/Years) - 1Calmar Ratio
Risk MetricsA risk-adjusted return metric that divides the compound annual growth rate by the maximum drawdown. Higher values indicate better risk-adjusted performance.
Calmar Ratio = CAGR / Maximum DrawdownCointegration
StatisticsA statistical property where two or more time series share a common stochastic trend, meaning their spread is mean-reverting. Essential for pairs trading strategies.
Correlation
StatisticsA statistical measure of how two securities move in relation to each other, ranging from -1 (perfect negative) to +1 (perfect positive). Zero indicates no relationship.
D
Day Order
Order TypesAn order to buy or sell a security that automatically expires at the end of the trading day if not executed. The most common order duration type.
Drawdown
Risk MetricsThe peak-to-trough decline in portfolio value before a new peak is achieved. Expressed as a percentage of the peak value.
E
EMA (Exponential Moving Average)
Technical IndicatorsA type of moving average that gives more weight to recent prices, making it more responsive to new information than a simple moving average.
Execution
TradingThe completion of a buy or sell order for a security. Quality of execution considers price, speed, and the likelihood of completing the trade.
F
Fill
TradingThe completion of an order. A 'filled' order means the entire quantity has been bought or sold. A 'partial fill' means only some of the order was completed.
Fill or Kill (FOK)
Order TypesAn order that must be executed immediately in its entirety or canceled completely. No partial fills are allowed.
G
Golden Cross
Technical IndicatorsA bullish technical pattern where a shorter-term moving average (typically 50-day) crosses above a longer-term moving average (typically 200-day).
GTC (Good 'Til Canceled)
Order TypesAn order that remains active until it is either executed or explicitly canceled by the trader. Brokers typically set maximum durations (e.g., 90 days).
H
High-Frequency Trading (HFT)
StrategiesA type of algorithmic trading characterized by high speeds, high turnover rates, and high order-to-trade ratios. Uses sophisticated algorithms to trade securities in milliseconds.
I
Immediate or Cancel (IOC)
Order TypesAn order that must be executed immediately. Any portion that cannot be filled right away is automatically canceled.
In-Sample Data
Strategy DevelopmentThe portion of historical data used to develop and optimize a trading strategy. Should be separate from out-of-sample data used for validation.
K
Kelly Criterion
Risk ManagementA mathematical formula for determining the optimal size of a series of bets to maximize long-term wealth growth. Commonly used in position sizing.
Kelly % = W - (L/R), where W=win rate, L=loss rate, R=win/loss ratioL
Latency
TechnologyThe time delay between when a trading signal is generated and when the corresponding order is executed. Critical in high-frequency trading.
Limit Order
Order TypesAn order to buy or sell a security at a specified price or better. Buy limits execute at the limit price or lower; sell limits execute at the limit price or higher.
Liquidity
Market StructureThe ease with which an asset can be bought or sold without significantly affecting its price. High liquidity means tight spreads and easy execution.
Long Position
TradingOwning a security with the expectation that its price will rise. Profit is made when the security is sold at a higher price than the purchase price.
Look-Ahead Bias
Strategy DevelopmentA backtesting error that occurs when a strategy uses information that would not have been available at the time the trading decision was made.
M
MACD (Moving Average Convergence Divergence)
Technical IndicatorsA momentum indicator showing the relationship between two exponential moving averages (typically 12 and 26 periods). Includes a signal line (9-period EMA of MACD) and histogram.
Market Depth
Market StructureThe market's ability to absorb large orders without significantly impacting price. Measured by the number and size of orders at various price levels in the order book.
Market Order
Order TypesAn order to buy or sell a security immediately at the best available current price. Guarantees execution but not price.
Maximum Drawdown
Risk MetricsThe largest peak-to-trough decline in portfolio value over a specific period. A key risk metric representing the worst-case scenario.
Mean Reversion
StrategiesA trading strategy based on the theory that prices tend to return to their historical average over time. Traders buy below the mean and sell above it.
Momentum
StrategiesThe rate of acceleration of a security's price movement. Momentum trading assumes that assets moving strongly in one direction will continue in that direction.
Moving Average
Technical IndicatorsA technical indicator that smooths price data by calculating the average price over a specified number of periods. Helps identify trends and support/resistance levels.
O
Order Book
Market StructureAn electronic list of buy and sell orders for a specific security, organized by price level. Shows market depth and current bid/ask prices.
Out-of-Sample Data
Strategy DevelopmentHistorical data set aside for testing a strategy after it has been developed using in-sample data. Essential for validating strategy performance.
Overfitting
Strategy DevelopmentThe error of creating a trading strategy that is too closely tailored to historical data, capturing noise rather than genuine patterns. Leads to poor live performance.
P
Pairs Trading
StrategiesA market-neutral strategy that involves simultaneously buying an underperforming security and selling an outperforming correlated security, betting on convergence.
Paper Trading
Strategy DevelopmentSimulated trading using virtual money to test strategies in real-time market conditions without risking actual capital. Also called demo trading.
Position Sizing
Risk ManagementThe process of determining how much capital to allocate to each trade, based on account size, risk tolerance, and strategy characteristics.
Profit Factor
PerformanceA performance metric calculated by dividing gross profits by gross losses. A profit factor above 1.0 indicates a profitable strategy.
Profit Factor = Gross Profits / Gross LossesQ
Quantitative Trading
FundamentalsTrading strategies that use mathematical and statistical models to identify opportunities. Often synonymous with algorithmic trading but emphasizes quantitative analysis.
R
Risk Management
Risk ManagementThe identification, assessment, and control of risks that could affect trading performance. Includes position sizing, stop losses, and diversification.
Risk-Reward Ratio
Risk ManagementThe potential profit of a trade compared to its potential loss. A 1:3 ratio means risking $1 to potentially make $3.
RSI (Relative Strength Index)
Technical IndicatorsA momentum oscillator measuring the speed and magnitude of price changes, ranging from 0 to 100. Readings above 70 suggest overbought; below 30 suggest oversold.
S
Sharpe Ratio
Risk MetricsA measure of risk-adjusted return, calculated as the portfolio's excess return over the risk-free rate divided by its standard deviation. Higher is better.
Sharpe Ratio = (Return - Risk-Free Rate) / Standard DeviationShort Position
TradingSelling a borrowed security with the expectation that its price will fall, allowing repurchase at a lower price. Profit equals the price difference minus borrowing costs.
Slippage
TradingThe difference between the expected price of a trade and the actual execution price. Caused by market movement, low liquidity, or large order sizes.
SMA (Simple Moving Average)
Technical IndicatorsA technical indicator calculated by taking the arithmetic mean of prices over a specified period. Each price point has equal weight.
SMA = (P1 + P2 + ... + Pn) / nSortino Ratio
Risk MetricsA risk-adjusted return metric similar to the Sharpe Ratio but only penalizes downside volatility. Upside volatility is not considered negative.
Spread
Market StructureThe difference between the bid price (highest buy offer) and ask price (lowest sell offer) of a security. Tighter spreads indicate higher liquidity.
Standard Deviation
StatisticsA statistical measure of the dispersion of returns around the mean. Higher standard deviation indicates higher volatility and risk.
Statistical Arbitrage
StrategiesA trading strategy that uses statistical and mathematical models to identify and exploit pricing inefficiencies between related securities.
Stop Loss
Order TypesAn order to sell a security when it reaches a specified price, designed to limit losses on a position. Essential for risk management.
Stop Order
Order TypesAn order to buy or sell a security once it reaches a specified trigger price. When triggered, it becomes a market order.
Survivorship Bias
Strategy DevelopmentA backtesting error that occurs when only currently existing securities are included in the analysis, ignoring those that have failed, merged, or been delisted.
T
Take Profit
Order TypesAn order to close a position when a specified profit target is reached. Locks in gains automatically when the target price is hit.
Technical Analysis
FundamentalsA method of evaluating securities by analyzing statistics generated by market activity, such as past prices and volume. Based on the idea that history tends to repeat.
Trailing Stop
Order TypesA stop order that adjusts automatically as the price moves in a favorable direction, locking in profits while allowing for further gains.
Trend Following
StrategiesA trading strategy that attempts to capture gains by riding established market trends. Based on the assumption that prices trending in one direction will continue.
V
Volatility
Risk MetricsA statistical measure of the dispersion of returns for a given security or market index. Higher volatility means larger price swings and typically higher risk.
Volume
Market StructureThe number of shares or contracts traded in a security or market during a given period. High volume often indicates strong interest and better liquidity.
VWAP (Volume Weighted Average Price)
Technical IndicatorsThe average price of a security weighted by volume over a specific period. Used as a benchmark for execution quality.
VWAP = Cumulative (Price × Volume) / Cumulative VolumeW
Walk-Forward Analysis
Strategy DevelopmentA validation technique where a strategy is optimized on one data segment, tested on the next, then the window moves forward. Simulates real-world strategy deployment.
Win Rate
PerformanceThe percentage of trades that are profitable. Must be considered alongside average win/loss size to evaluate strategy effectiveness.
Win Rate = Winning Trades / Total Trades × 100Z
Z-Score
StatisticsA statistical measurement describing a value's relationship to the mean of a group of values, measured in standard deviations. Used in mean reversion strategies.
Z-Score = (Value - Mean) / Standard Deviation