A dealer already holds three units of an asset and posts a price at which it will buy one more and a price at which it will sell one. Should the two quotes sit symmetrically around the current midpoint? A purchase would add to an exposure the dealer already carries and a sale would reduce it, so the two trades are not worth the same to the dealer. This lesson values inventory with a certainty equivalent, derives exact reservation bid and ask prices when inventory is otherwise frozen, and combines them with an exponential model for fills to obtain an approximate pair of quotes whose center moves against the inventory.
Key terms
Market making
Definition A market maker posts a bid price at which it will buy and an ask price at which it will sell, and trades one standardized unit with each counterparty that arrives. With cash and inventory , a fill at the bid changes them to and , and a fill at the ask changes them to and . Marked at the midpoint , its wealth is , and the quote distances are and . Inventory risk is the exposure of marked wealth to midpoint moves while . In this lesson the midpoint follows , where is a Brownian motion under the dealer’s physical measure , so it is an arithmetic Brownian motion with zero drift and constant volatility in currency per unit per square root of time, and the interest rate is zero. If the inventory is held fixed until the horizon , with remaining, marked wealth changes by , which has mean zero and variance
Tick sizes, fees, queue priority and adverse selection are left out of the model.
In plain words The market maker earns the gap between its two quotes when purchases and sales alternate, but between them it holds inventory whose value moves with the price. If the midpoint does not move, a purchase at the bid followed by a sale at the ask earns and leaves the inventory where it was. The variance of a held position grows with the square of its size.
Example Take the constructed values , currency per unit per square root minute and minutes, so . A dealer holding units with inventory frozen has a marked wealth variance of squared currency units, a standard deviation of about . At the variance is , four times as large, and at it is again .
Certainty equivalent
Definition The dealer has exponential utility of terminal wealth, with constant absolute risk aversion in inverse currency units. The certainty equivalent of a random terminal wealth with is the sure amount with , that is
In the frozen inventory model of the previous card, is normal with mean and variance , and the normal moment generating function gives
so for every real , exactly,
The inventory penalty is the last term , the amount by which the certainty equivalent falls short of the marked wealth. For any normal the same computation gives , and the zero drift of the midpoint is what makes the mean equal to .
In plain words The certainty equivalent is the sure amount of cash the dealer would accept in place of its risky position. With normal wealth and exponential utility it is the mean minus a charge proportional to the variance, so the inventory penalty is the dealer’s price for carrying its position to the horizon. The penalty is quadratic, so doubling the position quadruples it, and long and short positions of the same size pay the same.
Example With the constructed risk aversion per currency unit, and , the penalty is and . This is the mean minus times the variance of the previous card. At the penalty is .
Reservation price
Definition In the frozen inventory model, the reservation bid is the price at which buying one unit leaves the certainty equivalent unchanged, , and the reservation ask solves . Since ,
The reservation price is their midpoint
and the gap does not depend on . Neither value depends on the cash , a property of exponential utility. Because the certainty equivalent is linear in cash, buying at any raises it by and selling at any raises it by . Positive inventory places both values below and negative inventory places both above. They are exact indifference values for a single trade after which the inventory stays frozen. A dealer who keeps quoting has dynamic indifference values from the full control problem, which differ from these in general.
In plain words The reservation price is the midpoint as seen by a dealer who already carries risk. A long dealer values one more unit below the market, so it is less eager to buy and more eager to sell, and both effects push its inventory back toward zero.
Example With the constructed inputs . For the center shift is , so , and . The reservation ask lies below the midpoint . Selling one unit at raises this dealer’s certainty equivalent by , because it removes of inventory penalty and gives up only against the midpoint. For the reservation price is .
Exponential fill intensity
Definition Given the quote distances and , sales to the dealer at its bid and purchases from it at its ask arrive as two counting processes with intensities
evaluated at and at , where is measured in fills per unit of time and in inverse currency units. The model takes the two counts to be independent, and while the distances stay fixed they are Poisson processes, as in Limit order books and queueing models, so a fill occurs in a short interval of length with probability , and the expected inventory changes at the rate . The intensity equals at zero distance and is multiplied by for each additional currency unit of distance. The law is a model of passive quotes. A negative distance, an ask below the midpoint or a bid above it, lies outside the range it is meant for, and a quote that reaches the other side of the book would trade at once instead of waiting for fills.
In plain words Quoting further from the midpoint earns more on each fill but fills less often. The exponential law fixes the exchange rate between the two, and measures how fast fills dry up as a quote moves away.
Example With the constructed values fills per minute and per currency unit, a distance of gives fills per minute and a distance of gives . Each extra of distance multiplies the intensity by . A dealer who ignores risk and earns per fill on one side maximizes at , with expected earnings of about per minute on that side.
Bid and ask quotes
Definition Suppose the dealer quotes continuously until , fills arrive at the exponential intensities, and the dealer maximizes . With zero interest the cash is riskless, so the value function satisfies , with and suppressed. Let the dynamic indifference ask solve . A sale at then changes the value by
where , and the dynamic programming equation of Dynamic allocation and stochastic control multiplies this gain by the intensity , with . Apart from factors that do not depend on , the ask is chosen to maximize
Its derivative
is positive below and negative above
so is the unique maximizer over all real , and the optimal ask is . In the same way, with the dynamic indifference bid defined by , the optimal bid is . This step is exact given the dynamic indifference values. To get a closed form, replace them by the frozen inventory values and , which gives the approximate quotes
centered at the reservation price. This replacement is an approximation and not a solution of the full HJB equation, because future fills change the value of the inventory that the frozen values hold fixed. When the formula gives a quote that is not allowed, for example one off the tick grid, one that crosses the book or one that would breach an inventory limit, the quote has to be found by maximizing over the allowed set.
In plain words The surplus balances the extra profit of a wider quote against the fills it loses, and it is the same on both sides. In the approximation, inventory moves the center of the quotes and leaves their width unchanged.
Example With the constructed inputs, and . For the quotes are and , at distances and from the midpoint, with intensities of about and fills per minute. At these quotes the expected inventory falls at about units per minute. For both quotes move up by , to about and , and the two intensities swap. As , the surplus tends to , the center tends to and the width to , the quotes of the dealer who ignores risk in the previous card. For the approximate ask is about , below the midpoint and outside the range of the fill model.
Check yourself
- With the constructed inputs , , , , and , find the reservation bid, ask and price, the approximate quotes and the two fill intensities for a dealer holding unit.
Show the answer
The shift is , so , and . Half the approximate width is , so
The distances are and , so the intensities are at the bid and at the ask, fills per minute. Expected inventory falls at about units per minute, more slowly than for , because the center shift is a third as large.
- A dealer holding units in the constructed example centers its quotes at , above the midpoint, arguing that an owner of the asset should ask a higher price. What does the model say about this choice?
Show the answer
The sign is reversed. The reservation price is , below the midpoint for a long position, and is the center for . With the center at and the approximate width , the ask sits above the midpoint and the bid below it, so the ask fills at about and the bid at about times per minute. The expected inventory then rises at about units per minute and the inventory penalty grows. Under the model this long dealer gains from any sale above its reservation ask , even below the midpoint, so it should make selling easier, not harder.
- Quotes must be multiples of . Using the approximate quotes for , which allowed ask and bid maximize the local objectives of the two sides?
Show the answer
On the ask side the local objective is , a positive constant times . The function increases below and decreases above it, so among allowed asks the best is one of the two grid prices around , namely with and with . Then
so the best allowed ask is . On the bid side , and the grid prices around give for and for , so the best allowed bid is . The intensities become about at the ask and at the bid. Here the nearest grid prices win, but is not symmetric around , so in general the two neighbors have to be compared rather than rounded.