GlossaryPerformance and testing
Paper trading
Definition: Paper trading is simulated trading with no real money, used to test a trading strategy, its software or a workflow before it trades live.
A paper account receives market data and accepts orders as a live account does, but the broker does not send the orders to an exchange. It simulates the fills, the executions of orders, and tracks a simulated balance. Alpaca, a broker that offers an application programming interface (API) for trading, says its paper trading “works the same way as live trading end to end”, except that orders are not routed to an exchange and fills are simulated “based on the real-time quotes” (Alpaca). Interactive Brokers (IBKR) says a paper account can be used to learn order types and to “simulate and test trading strategies” (IBKR). Paper trading runs forward on new prices, while a backtest, a separate entry, replays past data. Alpaca names problems a live market can produce that a backtest may not show: orders that are not filled, sudden price spikes and dropped network connections.
Simulated fills can differ from real ones. Alpaca lists effects its paper trading does not account for, including market impact, the price movement the account’s own orders cause, slippage caused by latency (price movement during the delay before an order arrives) and queue position, an order’s place in line among orders at the same price. IBKR says its paper fills are “simulated from the top of the book”, meaning the best prices buyers and sellers are currently offering, with no access to the rest of the order book, and that some order types are not supported. For example, an agent that sends a large market order for a thinly traded coin, one with few orders near the current price, may get a paper fill at the quoted price. The same order in a live account may fill at higher prices for a buy as it uses up the orders at the best price. Slippage, order book and liquidity are separate entries.
Mangrove supports paper-trading workflows.
In the United States, the Commodity Futures Trading Commission (CFTC) regulates derivatives markets. Its Rule 4.41, first issued in 1981, covers commodity pool operators, which collect money from investors to trade futures or options, and commodity trading advisors, which advise others on such trading for pay. The rule bars anyone from presenting the simulated or hypothetical results of such a firm unless a prescribed statement accompanies them (17 CFR 4.41). The statement says that such results “do not represent actual trading” and that, because the trades were not executed, the results may have under- or over-compensated for market factors such as lack of liquidity.
