Predict Market Desk Connect to Dexsport
DexsportMarketsMechanics Connect to Dexsport

Home › Mechanics › LMSR pricing, explained

LMSR: the logarithmic rule behind many automated markets

LMSR: the logarithmic rule behind many automated markets — Dexsport

Why a scoring rule

Any market where people trade on an outcome needs someone to stand on the other side of the trade, at least long enough for a counterparty to arrive. In a traditional order book that role falls to other traders, and the price is whatever the crowd agrees on. But thin markets — a niche election, a weather contract, a novelty event with a small audience — often have no natural counterparty at all. A market maker solves this by quoting prices continuously, but a human or naive algorithmic maker takes on unbounded risk: if the maker sells shares cheaply and the event then resolves that way, the loss can be enormous. A scoring rule is a way of making the maker's commitment explicit, bounded, and predictable, so that the market can run without a person sweating over every fill.

A scoring rule, in the forecasting sense, is a function that pays a forecaster based on how accurate their probability estimate turns out to be. Good scoring rules reward honest reporting: the forecaster maximises their expected score by stating their true belief rather than shading it. The logarithmic scoring rule is the classic example, and it has a property that matters enormously for markets — it is strictly proper, meaning the only way to maximise expected payoff is to report the probability you actually believe. This is the theoretical seed from which the logarithmic market scoring rule grows.

The leap from "scoring a forecaster" to "running a market" is the idea of an automated market maker built on a scoring rule. Instead of paying one forecaster, you let many traders buy and sell shares, and the maker's payment function is the scoring rule itself. The maker effectively subsidises the market by an amount it is willing to lose, and in exchange the running price becomes a live, tradable estimate of the probability. Each trade moves the price, and the sequence of prices reflects the crowd's changing consensus. The subsidy is the cost of liquidity; the scoring rule is the mechanism that converts that subsidy into honest prices.

What makes LMSR attractive compared with a simple fixed-odds book is that the maker never needs to know anything. It does not estimate probabilities itself, it does not cancel orders, and it does not refuse trades. It simply prices according to a fixed mathematical formula that depends only on how many shares of each outcome have been sold so far. The market's collective information gets baked into the outstanding share counts, and the price is a deterministic function of those counts. There is no discretion, no spread widening under stress, and no counterparty to argue with.

There is a trade-off hiding in that elegance. Because the maker's pricing depends only on aggregate share counts, it cannot react to the quality of the information arriving. A trade from someone who knows nothing moves the price exactly as much as a trade from someone who knows everything. The rule is honest about its ignorance: it treats all flow the same and lets the market sort out who is right. That is a feature in the sense that it is fair and predictable, but it also means a determined trader with capital can push the price around, and the maker's subsidy is what pays for that manipulation. Understanding this tension is the key to understanding when LMSR is the right tool.

How prices relate to shares

In an LMSR market with two outcomes, the maker tracks how many shares of each outcome it has sold. Call those quantities q1 and q2. The price of outcome one is not set by supply and demand in the usual sense; it is computed directly from those counts using an exponential weighting. Specifically, the price of an outcome is proportional to e raised to the power of its share count divided by the liquidity parameter, normalised so the prices across all outcomes sum to one. With two outcomes this reduces to a logistic (sigmoid) curve: the price of outcome one is one divided by one plus e raised to the power of (q2 minus q1) divided by the liquidity parameter. The share counts are the only inputs, and the price is a smooth, monotonic function of them.

The practical consequence is that prices are always probabilities between zero and one, and they always sum to one across mutually exclusive outcomes. If the market has three candidates and the price of two of them rises, the third must fall, because the normalisation forces the total to stay at one. This is a genuinely useful property: the market is always internally consistent, and you never see the kind of arbitrage that appears when independent books disagree. The price is the market's current implied probability, updated continuously as shares change hands.

Consider a concrete example. Suppose the liquidity parameter is set so that the market starts with zero shares on each side, giving a price of 0.5 for each of two outcomes. A trader buys enough shares of outcome one to shift the price to 0.6. The maker has now sold a positive number of outcome-one shares and holds a corresponding liability. If the next trader wants to buy outcome two, they are buying at a price of 0.4, and their purchase pushes the price back toward the middle. The price only moves when shares are bought or sold, and the direction of movement is always away from the outcome being bought and toward the outcomes being sold. There is no separate order book; the share counts are the book.

The cost of a trade is the difference in the maker's scoring-rule cost function before and after the trade. That cost function, for the two-outcome case, is the liquidity parameter times the logarithm of the sum of the exponentials of the scaled share counts. A trader buying shares pays the increase in that cost function, which is exactly the integral of the price along the path from the old share counts to the new ones. This is why the price is sometimes described as the marginal cost of an additional share: the instantaneous price is the derivative of the cost function, and the total cost of a trade is the area under the price curve. Buying a large block therefore costs more per share than buying a small one, because you are walking up the curve.

A subtle but important point is that the price is not the expected payoff of a share in any direct sense; it is a marginal price derived from the cost function. In a well-behaved market these coincide, because a trader who believes the true probability is higher than the price will buy until the price rises to meet their belief, and the equilibrium price reflects the marginal trader's estimate. But the mapping is mechanical, not psychological. The price does not "know" anything; it is a bookkeeping artefact of the share counts, and its interpretation as a probability is a convention that holds because the scoring rule is proper.

Edge cases matter here. When one outcome's share count becomes very large relative to the others, its price approaches one and the others approach zero, but never exactly reaches those limits. This means the market never completely rules out an outcome, which is mathematically tidy but can be awkward in practice: a long shot that is effectively dead may still trade at a tiny price, and a trader buying it pays almost nothing but also gains almost nothing. The asymptotes also mean that pushing a price from 0.99 to 0.999 requires an enormous number of shares, so the maker's exposure near the extremes is large in share terms even though the price barely moves. Traders who want to bet on near-certainties should understand that the economics get strange at the tails.

The liquidity parameter

The liquidity parameter, usually written as b, controls how much the price moves for a given number of shares. It is the single most important dial in an LMSR market, and it appears in every formula: in the exponential weighting, in the cost function, and in the bound on the maker's loss. A large b makes the market deep and sluggish — prices move slowly, and it takes a lot of shares to shift them. A small b makes the market shallow and twitchy — a modest trade can swing the price substantially. Choosing b is therefore choosing the character of the market, and it is a decision the operator must make before any trading begins.

The units of b are shares per unit of "log-odds" movement, though that phrasing is more precise than most practitioners need. A more intuitive way to think about it is that b sets the scale at which share counts translate into price changes. If b is large, the exponential terms in the price formula change slowly as shares accumulate, so the sigmoid is stretched out and the price stays near the middle for a long time. If b is small, the sigmoid is compressed and the price saturates quickly. In the two-outcome case, the price depends on the difference in share counts divided by b, so doubling b halves the sensitivity of the price to any given imbalance.

The choice of b is a trade-off between liquidity and cost. A larger b means traders can execute bigger positions with less price impact, which attracts volume and makes the market more useful. But it also means the maker's worst-case loss is larger, because the maker is committing to absorb more adverse flow before the price saturates. The operator is effectively deciding how much subsidy to put at risk in exchange for a more liquid market. There is no universally correct value; it depends on the expected volume, the operator's budget, and how much price discovery the market needs to support.

A useful heuristic is to think about the largest trade you expect a single informed trader to want to make, and set b so that this trade moves the price by a meaningful but not extreme amount. If b is too small, informed traders cannot express their views without moving the price past their own belief, which discourages trading and leaves the price stale. If b is too large, the market absorbs informed flow cheaply, and the maker pays for the privilege. The sweet spot is where the market is liquid enough to attract the traders whose information you want, but not so liquid that the maker's subsidy evaporates on the first big order.

There is also a dynamic consideration. The optimal b may change over the life of the market. Early on, when little is known and volume is thin, a smaller b may be appropriate; as the event approaches and information accumulates, a larger b can support heavier trading. Some implementations allow b to be adjusted, but doing so mid-market is delicate because it changes the cost function and therefore the value of outstanding positions. A trader who bought shares under one b may find their position worth a different amount under another, which is a form of retroactive repricing that most market designs try to avoid. In practice, b is usually fixed at launch and chosen conservatively.

Finally, b interacts with the number of outcomes. In a market with many mutually exclusive outcomes, the same b produces different price sensitivities depending on how the share counts are distributed. The cost function's logarithm of a sum of exponentials behaves differently when there are many small terms than when there are two large ones. Operators running multi-outcome markets should test their chosen b against realistic share distributions rather than assuming the two-outcome intuition carries over unchanged. The mathematics is the same, but the feel of the market can differ noticeably.

Worst-case loss for the market maker

The most quoted property of LMSR is that the market maker's worst-case loss is bounded and known in advance. For a market with n outcomes and liquidity parameter b, the maximum the maker can lose is b times the natural logarithm of n. That is the entire subsidy, and it does not depend on how the market resolves, how much trading occurs, or how lopsided the share counts become. This is a remarkable guarantee: the operator can budget the market's cost exactly, and no sequence of trades can exceed it. For a two-outcome market, the bound is b times the logarithm of two, roughly 0.693 times b. For a ten-outcome market, it is about 2.303 times b.

The intuition behind the bound is that the maker's cost function is bounded above and below relative to its starting point. The scoring rule pays out based on the final share counts, and the worst case for the maker is when it has sold a large number of shares of the outcome that ultimately resolves true. But because the price rises as shares are sold, the maker collects progressively more for each additional share, and the total collected approaches the cost function's maximum. The gap between the maximum cost and the initial cost is exactly the subsidy, and that gap is what the bound measures. The logarithm appears because the cost function is built from exponential terms, and the log of a sum of exponentials has a bounded range relative to its starting value.

A concrete illustration helps. Suppose b is set to 100 and there are two outcomes. The worst-case loss is about 69.3 units of currency (or whatever the share payoff unit is). If the market opens at 0.5/0.5 and a trader buys outcome one all the way to a price of 0.99, the maker has collected a substantial amount for those shares, and if outcome one then resolves true, the maker pays out on all the shares sold. The net loss is capped at the subsidy. If instead outcome two resolves true, the maker keeps the money collected and pays nothing, so the loss is zero or even a profit. The bound holds regardless of which path the price takes.

The bound is a worst case, not an expected loss. In practice the maker often loses less, and may even profit if the market's final prices are well calibrated and the maker collected more in trading revenue than it pays out. But the bound is what matters for risk management: it tells the operator the maximum they can lose, which is the number they need to reserve. This is a cleaner risk profile than a traditional book, where the maker's exposure depends on the distribution of bets and can be unbounded if the book is unbalanced. With LMSR, the operator knows the downside before the first trade.

There are caveats. The bound assumes the market runs to resolution and that all shares are settled at the terminal payoff. If the market is closed early, or if shares are redeemed at prices other than the terminal ones, the accounting changes. The bound also assumes the maker does not adjust b mid-market; changing b changes the cost function and can invalidate the guarantee. And the bound is in the units of the scoring rule, which may not be the same as the currency traders use if there is a conversion. Operators should be clear about these assumptions when they quote the bound to themselves or to regulators.

A further subtlety is that the bound is on the maker's loss from the trading mechanism, not on the operator's total cost. Running a market involves other expenses — infrastructure, settlement, compliance — and the subsidy is only one line item. But the subsidy is the part that is determined by the mathematics, and it is the part that scales with b. An operator choosing b is really choosing how much to spend on liquidity, and the bound tells them exactly what that spend can be. That clarity is one of LMSR's strongest selling points for anyone who has to justify a budget.

Price impact of a trade

Price impact is the change in price caused by a trade, and in LMSR it is a smooth, deterministic function of the trade size and the current share counts. There is no slippage in the sense of a discrete jump; the price moves continuously along the cost curve as shares are bought. A trader buying a small number of shares pays approximately the current price per share, because the curve is nearly linear over a small interval. A trader buying a large block pays progressively more per share, because each additional share is priced at a higher point on the curve. The total cost is the integral of the price over the trade, which is exactly the difference in the cost function.

The shape of the price impact depends on where the market currently sits. Near the middle, where the price is close to 0.5, the curve is steepest and a given number of shares moves the price the most. Near the extremes, where the price is close to zero or one, the curve flattens and the same number of shares moves the price less. This is the opposite of what many people expect: it is easier to move a price from 0.5 to 0.6 than from 0.9 to 0.95, in the sense that the former requires fewer shares relative to the local sensitivity. The sigmoid's inflection point is at the middle, and that is where the market is most responsive to new information.

This has practical implications for traders. Someone with a strong view that an outcome is underpriced will find that their first shares are cheap and their later shares are expensive, so the average price they pay is worse than the opening price. The difference between the average price and the opening price is the price impact, and it is the cost of expressing a large position. A trader who wants to size a bet should compute the cost of the whole trade, not just multiply the opening price by the number of shares. The maker's cost function gives the exact number, and any competent interface should show it before the trade is confirmed.

For the maker, price impact is the mechanism that limits adverse selection. If a trader with better information buys shares, the price rises, which reduces the maker's loss on the shares already sold and makes further purchases more expensive for the trader. The maker cannot avoid losing to informed flow, but the rising price means the loss is bounded and the trader's edge is competed away as they trade. This is the same logic as a traditional market maker widening spreads, but it happens automatically and continuously rather than through a discrete spread decision. The price impact is the maker's defence, and it is why the worst-case loss bound holds.

There is a subtlety about trade size and information. In a deep market with large b, a trader can buy a large position with modest price impact, which means their information gets incorporated slowly. In a shallow market with small b, even a small trade moves the price sharply, which means information gets incorporated quickly but also that noise trades can distort the price. The right balance depends on the market's purpose. A market meant to aggregate dispersed information efficiently may want a moderate b that lets informed traders act without excessive cost but still punishes large speculative positions. A market meant mainly to provide entertainment or hedging may want a larger b for smoother pricing.

Edge cases arise when trades are very large relative to b. A trade that pushes the price from 0.5 to 0.99 in one go is possible, but the cost is enormous and the maker's exposure becomes concentrated. In practice, most implementations cap trade sizes or warn traders about extreme price impact. There is also the question of what happens when multiple traders act in sequence: the price impact of the second trader depends on the first trader's trade, so the order of trades matters. This is true of any market, but in LMSR it is fully deterministic and can be computed in advance, which is useful for anyone modelling the market's behaviour. The lack of randomness is a feature, not a bug.

Where LMSR is used

LMSR was developed in the context of prediction markets, and that remains its most prominent application. Platforms that let users trade on the outcomes of elections, sports events, and other uncertain future events have used LMSR-style automated market makers to provide continuous liquidity without needing a human market maker. The appeal is the bounded loss and the honest pricing: the operator knows the maximum subsidy, and the price reflects the crowd's aggregate belief. Prediction markets are a natural fit because the outcomes are well-defined and the trading is often thin, which is exactly where an automated maker earns its keep.

Beyond prediction markets, LMSR has been used in combinatorial markets where traders can bet on combinations of outcomes rather than single events. The scoring-rule framework extends naturally to these settings because the cost function can be defined over a space of outcome combinations, and the price of each combination is derived from the same exponential weighting. This is mathematically elegant but computationally demanding, since the number of combinations can grow exponentially with the number of underlying events. Implementations often restrict the combinations or use approximations, and the practical use of LMSR in full combinatorial settings is limited by these computational constraints.

In the crypto world, LMSR-style mechanisms appear in decentralised prediction markets and in some automated market makers for tokens, though the latter usually use different formulas such as constant-product or constant-sum. The reason is that LMSR is designed for binary or multi-outcome events with a terminal payoff, not for continuous token swaps. Where crypto platforms do use LMSR, it is typically for event contracts rather than for general trading. The wallet-first, no-KYC approach of some crypto sportsbooks is a separate design choice from the market-making mechanism, but the two can coexist: a book can use LMSR to price event contracts while keeping the account layer simple.

LMSR has also been used in internal corporate forecasting and in research settings where a small group of experts trades on uncertain quantities. The bounded subsidy makes it easy to budget, and the proper scoring rule makes the prices meaningful. In these settings the liquidity parameter is often set small because the number of traders is limited and the goal is to extract information rather than to support heavy volume. The same mathematics scales down gracefully, which is one of its virtues.

The limitations are worth stating plainly. LMSR does not adapt to the quality of information, it cannot incorporate external data, and its prices can be manipulated by well-capitalised traders. It is also not ideal for markets where the number of outcomes is very large or where the outcome space is continuous, because the cost function becomes expensive to compute. For those settings, other mechanisms may be better. But for the core case of a binary or small multi-outcome event with thin liquidity and a need for bounded risk, LMSR remains a clean and well-understood choice. Anyone building or using such a market should understand the liquidity parameter and the worst-case loss, because those two numbers determine whether the market is fit for purpose. This is general information, not legal or financial advice; if you are considering trading or operating a market, check the rules that apply where you are, and remember that gambling is for adults only and should be approached responsibly.

This guide was researched, written and fact-checked by the Predict Market Desk editorial desk before publication. Last reviewed 02.12.2026. Spotted something wrong? Tell us.

Connect to Dexsport