3 Market Microstructure (Updated)
3 Market Microstructure (Updated)
(UPDATED)
By @CryptoCred
Outline
● Disclaimer
● Limit Order vs Market Order
● Bid/Ask Spread
● Liquidity
● Order Clustering (Stop Loss ‘Hunting’)
● Liquidation Cascades
● Market Makers
● Order Flow: Passive vs Active
● Conclusion
Disclaimer
Neither this presentation, nor anything on my Twitter, Telegram, or any other medium/mode of
communication, including private correspondence, constitute financial advice.
● Limit Order
○ Definition: Instruction to buy/sell an instrument at a specific price (or better)
○ The ‘or better’ part means using a limit order guarantees that your fill price will not be worse than your
limit price
■ E.g. If market A is trading at 10, and I set a limit order to buy at 8, if market A begins to decline,
my buy order will only be filled at 8 or better (less than 8)
■ I may get filled below 8 because it’s a ‘better’ price but I will not be filled above 8
■ A limit order guarantees a price but does not guarantee execution
○ If [market] reaches [limit order price] I would like to buy/sell [size] at [limit order price] or better
● Market Order
○ Definition: Instruction to buy/sell an instrument immediately at the best price currently available
○ A market order guarantees execution but does not guarantee execution price
○ I want to buy/sell [size] immediately at the best price currently available
Limit Order vs Market Order II
● Often used as an umbrella term to denote some version of ‘If I want to trade this thing with a bunch of size, how much
price impact am I going to have/how much will it cost/how quickly can I do it?’
○ Market impact: Average response of prices to trades
○ Liquidity: Size of the price response to a trade of a fixed size
○ Low market impact = liquid market / large market impact = illiquid/less liquid market
● Spreads
○ Wide spreads suggest conditions of reduced liquidity
○ By definition, crossing the spread is more expensive/market orders are costly
● Depth
○ Definition: Market’s ability to absorb large market orders without a significant price impact
○ E.g. you can have a market where spreads are tight but if those quotes are for small(er) sizes, the market is less liquid
● Liquidity is relative to an extent e.g. trader with 4-5 figure position sizes will not face the same constraints or
considerations as a trader with 7-9 figure position sizes
● TLDR: Liquidity is some combination of speed/immediacy, cost of trading, and ability to absorb larger market orders
○ In crypto Twitter parlance ‘liquidity’ also refers to resting orders above/below key swing points, to be discussed later
● One crucial consideration: liquidity conditions can change!
○ Volatility, news events, session times, and so on
Order Clustering (Stop Loss ‘Hunting’) I
● Definitions
○ Order clustering: a large number of orders at the same price
○ Stop market order: a market order that is executed only when price reaches the trigger price
■ Buy stop market order: market order to buy when price reaches [trigger price]
■ Sell stop market: market order to sell when price reaches [trigger price]
● Used for stop losses and by breakout traders
■ Longs closing = orders to sell (to go from +1 to 0)
■ Shorts closing = orders to buy (to go from -1 to 0)
● Microstructure explanation
○ Stop market orders cluster at a particular price
■ Above a swing high/below a swing low, above/below round numbers, etc.
○ Price trades through the price, triggering a wave of market orders at once - all in the same direction
■ Think of it as an immediate, one-sided demand for liquidity
○ Price moves until the liquidity demands of those market orders are satisfied
○ Those market orders are being executed against limit orders
○ If it’s a ‘stop hunt’, price will reverse as
■ Liquidity conditions improve/return to normal given liquidity demands have been met
■ Large limit orders are filled
■ Momentum chasers/breakout traders are offside and forced to close
■ Savvier traders enter positions to capitalise on trapped momentum traders
Order Clustering (Stop Loss ‘Hunting’) II
● So why do traders use the term ‘liquidity’ when highlighting key swing points or round
numbers?
● Because they are assuming that if the market trades through those prices, a flood of market
orders will be triggered, which creates a one-sided demand for liquidity
○ It’s somewhat of a misnomer - trading through the key swing point reduces liquidity because of all the
market orders that trigger, the assumption is that they will be soaked up by limit orders
● To generalise this activity, traders use the terms ‘buy stops’ and ‘sell stops’ (or just ‘stops’)
● For example: price trading through a breakout point → “Buy stops above X.”
○ Market orders to buy from existing short positions exiting the market, and using X as a stop market order
to close positions
○ Market orders to buy from breakout traders looking to enter the market, and using X as a stop market
order to open positions
○ Both groups want immediate liquidity in the same area → market moves to find limit orders to satisfy
those demands
Order Clustering (Stop Loss ‘Hunting’) III
● The entity to which you attribute every bad trade or move that caught you offside
○ That’s a joke
● Market makers are liquidity providers
○ They provide liquidity by posting limit orders, which allows traders using market/requiring immediacy
to take that liquidity
■ Prices at which market maker is willing to offer liquidity (the bid/ask spread) = quote
○ Reminder: limit orders add liquidity by allowing market orders (which take liquidity) to execute against
them
● Market makers sell immediacy
○ Traders fill market makers’ bids when they sell using a market order/fill market makers’ asks when they
buy using a market order
○ Market makers make money by capturing the spread i.e. buying at their bid and selling at their ask
○ Not as easy as it sounds, given quotes move as prices move etc.
■ There’s a reason all the HFT firms and quants have huge brains
Market Makers II
:)