Manuscript Offprint
arXiv:2610.09691Optimal Regret for Online Market Making with Limit Order Book
Abstract
We study online learning in market making, where, at each round, a market maker posts bid and ask prices before observing the market price and the private valuation of an incoming trader. In this setting, Maran and Restelli [2026] introduce a feedback model motivated by limit order books, in which the trader's valuation is revealed only if no transaction occurs. Assuming that trader valuations are drawn i.i.d. from an unknown distribution while market prices are chosen adversarially, they establish an expected regret bound of . In this work, we improve upon this guarantee by establishing a high-probability regret bound of . As a warm-up, we first consider the full-feedback setting. We introduce a discretization of the bid-ask space based on two coupled grids and combine it with Hedge to achieve the desired regret rate. Building on these ideas, we then address the substantially weaker feedback induced by a limit order book and develop an algorithm that achieves the same guarantee. Finally, we investigate the limits of learnability in fully adversarial environments, where the valuations may vary arbitrarily as well. Perhaps surprisingly, we show that when both market prices and trader valuations are chosen adversarially, sublinear regret is impossible even under full feedback, thereby motivating our stochastic assumption on the valuations.
1 Introduction
Market makers provide liquidity to financial markets by posting prices at which they are willing to buy and sell an asset [Amihud and Mendelson, 1986]. They aim to profit from the bid-ask spread while managing the risks of price changes and trading with better-informed participants, a central theme in the economics literature on market making. Today, market making is a core activity of quantitative trading firms such as Jane Street and Citadel Securities, which use mathematical models and automated trading systems to provide liquidity across financial markets [Biais et al., 2005]. Designing effective strategies for choosing and updating these quotes is therefore an important problem in algorithmic trading [Glosten and Harris, 1988, Madhavan, 2000]. A central challenge in designing market-making strategies is that quotes must be chosen under uncertainty about both the market price of the asset and the willingness of incoming traders to transact. Moreover, the available information depends on the quotes themselves, linking current trading decisions to future learning opportunities. Online learning provides a framework for studying this interaction through a sequential decision-making problem. At each round, a market maker posts a bid and an ask before observing the market price and the incoming trader's private valuation. Thus, the performance is measured by regret against the best fixed bid-ask pair in hindsight.
[Cesa-Bianchi et al., 2024] study this problem under two-bit feedback, where the learner observes the market price and whether the trader buys, sells, or does not trade, while the trader's valuation remains hidden. They establish tight regret guarantees under several assumptions on market prices and valuations. In particular, the minimax regret is of order when market prices and trader valuations are i.i.d. and independent of each other. Their lower bound holds even under Lipschitz assumptions on the underlying distributions, showing that the difficulty persists in regular stochastic environments. They also establish impossibility results when suitable assumptions on regularity and independence are absent. These results highlight the role of the information available to the market maker in determining learnability.
More recently, Maran and Restelli [2026] introduce a richer feedback model motivated by limit order books. In this model, the trader's valuation remains hidden when a transaction occurs but is revealed when no transaction takes place. Thus, the posted quotes determine both the reward and the information available for future decisions. Under i.i.d. trader valuations, they obtain high-probability regret bounds of for independent stochastic market prices and extend these guarantees to certain mean-reverting price processes, without imposing smoothness on the valuation distribution. Differently, when the market prices are chosen by an oblivious adversary, while the valuations remain stochastic and stationary, they establish an expected regret bound of .
This leaves a gap between the guarantees available for stochastic and adversarial market prices under limit order book feedback. Is the slower rate an unavoidable consequence of arbitrary market prices, or can the information revealed by the order book still support a guarantee? Moreover, both guarantees rely on the assumption that trader valuations are drawn from a fixed distribution. It is therefore natural to ask whether learning remains possible when this assumption is removed. Specifically, in this work we address the following two research questions:
(i) Can we achieve regret under limit order book feedback with adversarial market prices?
(ii) Can sublinear regret also be achieved when both market prices and trader valuations are adversarial?
We answer the first question affirmatively and the second negatively. When trader valuations are drawn i.i.d. from an unknown distribution, we establish a high-probability regret bound of while allowing market prices to remain arbitrary. Finally, we show that sublinear regret is impossible in fully adversarial environments, even under full feedback.
• Optimal regret under full feedback. As a warm-up, we establish a regret bound under full feedback. Our algorithm combines two Hedge instances, one for bid prices and one for ask prices. A key observation is that swapping the sampled quotes whenever they violate the feasibility constraint never decreases utility, allowing us to analyze the two instances separately and transfer their guarantees to the actions actually played.
• Optimal high-probability regret under limit order book. For the feedback model introduced by Maran and Restelli [2026], we establish a regret bound holding with high probability, even against an adaptive adversary. This improves upon the previous bound, which held in expectation and assumed an oblivious adversary. Our analysis exploits the feedback structure. Specifically, each round allows the learner to reconstruct losses for the interval between the sampled quotes. Using this additional information, we achieve the same regret rate as under full feedback.
• Impossibility in a fully adversarial environment. When both market prices and private valuations are chosen adversarially, we prove a linear regret lower bound. This impossibility result holds
Table 1: Comparison between our results and the state-of-the-art.
| Feedback | [Maran and Restelli, 2026] | Our Work | |
|---|---|---|---|
| Full | ✕ | ||
| ✕ | |||
| LOB |
even under full feedback, showing that observing all parameters at the end of each round is insufficient to guarantee sublinear regret.
The upper bounds are optimal up to logarithmic factors, matching the standard lower bound for the multi-armed bandit problem [Lattimore and Szepesvári, 2020]. Together, our results clarify how the assumptions on the environment and the available feedback affect the learnability of market making.
Table 1 summarizes our guarantees and compares them with previous work.
1.2 Related Works
Market making has long been studied in market microstructure [Bouchaud et al., 2008], with traditional approaches often formulating the choice of bid and ask prices as a stochastic control problem [Guéant, 2017]. An alternative approach treats market making as an online learning problem, following the work of Abernethy and Kale [2013] and its more recent developments by Cesa-Bianchi et al. [2024] and Maran and Restelli [2026].
Within this line of research, Cesa-Bianchi et al. [2024] study two-bit feedback about private valuation, where the learner observes only whether a purchase and a sale occur, and derive regret guarantees under regularity assumptions on the distributions describing the environment. Although these assumptions support the analysis, they may exclude behavior concentrated around particular prices. For example, the tendency of bidders to bid round numbers documented by van Oldeniel et al. [2025] motivates considering distributions that need not be smooth.
Alongside the assumptions on the environment, the information available to the learner is another key aspect of the problem. Since two-bit feedback may omit information available in a limit order book, Maran and Restelli [2026] introduce a richer feedback model, for which they establish an expected regret bound of against an oblivious adversary. Their guarantees are limited to expected regret in the adversarial-price case and do not cover the fully adversarial setting in which both market prices and private valuations are chosen adversarially.
More broadly, market making is related to other online learning problems in economics, such as dynamic pricing [Kleinberg and Leighton, 2003], first-price auctions [Cesa-Bianchi et al., 2026, Myerson, 1981] and bilateral trade [Cesa-Bianchi et al., 2023, Myerson and Satterthwaite, 1983], where the feedback makes it difficult to infer how rewards vary across actions.
2 Preliminaries
We study online market making over rounds. At each round , the learner (i.e., the market maker) posts a bid quote and an ask quote , where . We normalize prices to the interval , which can always be done through an affine transformation of the original price space. Accordingly, the feasible decision set is:
This is a standard no-arbitrage condition. Otherwise, one could buy at the ask and immediately sell at the bid for a guaranteed profit.
At the beginning of round , a trader with private valuation arrives. The trader buys the asset from the market maker whenever , and sells the asset to the market maker whenever . If , no trade occurs. We assume that, whenever a trade takes place, the market maker immediately offloads its position on a perfectly liquid secondary market at price , which is observed at the end of the round only, incurring no additional transaction costs or inventory constraints. The resulting utility function of the market maker is:
Throughout the paper, we will use the shorthand notation of .
The online market making interaction is summarized in Protocol 1. We consider two possible types of feedback: full feedback (Line 10) and limit order book feedback (Lines 4–9). In both cases, the learner observes the market price at the end of each round. The realized trader valuation is always observed at the end of each round under full feedback, while it is observed only if no trade occurs in the limit order book case.
Protocol 1 Online Market Making
1: for do 2: A new trader with valuation arrives 3: The learner posts ask and bid prices
4: is observed 5: if then 6: is observed 7: else 8: The learner observes and 9: end if
10: is observed Full feedback
11: The learner gains utility 12: end for
We consider two different models for the sequence :
is an i.i.d. sequence, while is chosen by an adaptive adversary.
Fully adversarial setting, in which the sequence is generated by an oblivious adversary.
The first case is the main focus of this work, while we provide a lower bound, which naturally extends to the case of an adaptive adversary, for the second case .
Let us remark that we make no assumption on the regularity of the sequence of . Indeed, differently from Cesa-Bianchi et al. [2024], we do not assume that the c.d.f. of the trader valuations distribution is Lipschitz-continuous in any part of the work.
2.1 Performance Metric
We use as performance metric the notion of cumulative regret, which is defined as follows:
where the expectation is taken over the randomization of the environment. We define the c.d.f. for the random variable underlying the trader valuations in the as and, accordingly, we define the expected utility as:
We notice that the utility can be decomposed into two components, one for the bid and one for the ask price. Thus, we denote:
so that . Defining , we also notice that:
Finally, defining , we can rewrite the regret as:
Notice that, in case of adversarial trader valuations, where no statistical assumption is made on the sequence , no expectation is taken in the regret definition.
In the next section, we start with assuming full feedback and stochastic trader valuations.
3 Warm up: The Full Feedback Case
In this section, we start by considering the scenario.
This setting is the one already studied in [Maran and Restelli, 2026], with the difference that we assume, throughout this section, to have full feedback, while we let the adversary to be adaptive. Our approach will employ two instances of the Hedge algorithm [Freund and Schapire, 1997], thus significantly departing from the existing technique of Maran and Restelli [2026], where the algorithm is mainly based on Follow the Perturbed Leader (FTPL) [Hutter and Poland, 2005].
3.1 Algorithm
Algorithm 2 Market Making with Experts
Input: Time horizon T, K,
1: Initialize , , and grid G
2: Initialize , to 1 on G
3: for do
4: Form , by normalizing ,
5: Draw and
6: Post prices
7: Gain utility
8: Observe and reconstruct , for all
9: Update weights for all :
, ,
10: end for
Our algorithm, whose pseudocode is provided in Algorithm 2, discretizes the bid and ask prices using the uniform grid . The resulting Cartesian product consists of points in and serves as the discrete action set. We then run two independent instances of Hedge [Orabona, 2019] with the same learning rate , one for bid prices and one for ask prices. Each instance maintains weights and , respectively, and the corresponding probability distributions and over the one-dimensional grid (Line 2). At each round, the algorithm samples a bid and an ask price from the corresponding distributions and swaps them if the resulting pair violates the constraint defining (Line 6). It then posts the resulting pair of prices and updates the weights of both Hedge instances (Line 9). We emphasize that the swap only affects the prices played, not the weight updates. Since feedback is fully observable, at the end of each round we can evaluate the utility associated with every grid price in its respective role as a bid or an ask. Each Hedge instance is therefore updated using these utilities, regardless of whether the sampled prices were swapped (Lines 8–9).
3.2 Theoretical Results
In this section, we analyze Algorithm 2 and establish the associated regret bound.
We start by stating the following lemma, which shows how enforcing feasibility by swapping the prices predicted by the two Hedge instances never decreases the utility. More precisely, the utility remains unchanged when the sampled prices already satisfy the constraint, and increases by otherwise. Thus, the swap in Line 6 of Algorithm 2 guarantees a pair of prices whose utility is at least as large as that of the original predictions. This property will allow us to transfer the utility guarantees of the two Hedge instances to the actions actually played by the algorithm.
Lemma 3.1. Consider and . Then it holds that:
where we denote . As a consequence, for any it holds that and .
Next, we show that restricting the action set to the grid incurs only a bounded loss in expected utility. Specifically, there exists a grid point whose expected utility is within of the supremum over the continuous feasible set . This allows us to relate performance on the grid to the continuous optimum.
Lemma 3.2. There exists a point such that:
Figure 1 illustrates the idea behind the proof of Lemma 3.2. We start from a nearly optimal point and choose a nearby point on the grid, taking care not to cross the boundary defined by , as doing so could reduce the expected utility. This choice keeps the discretization loss small. We provide the full argument in Appendix A.
We are now ready to provide the final regret bound attained by Algorithm 2.
Theorem 3.3. Let and . Algorithm 2 with , attains regret:
with probability at least .
In Theorem 3.3, we derive a regret bound by adding the standard Hedge guarantees for the two one-dimensional instances. We analyze each instance using its original sampled quote, before any swap takes place. Although the swap couples the bid and ask prices actually posted, Lemma 3.1 shows that it never
When full feedback is available, this lemma is not necessary. Indeed, it is possible to run a single Hedge instance on the two-dimensional grid to recover the same regret guarantees. We employ two Hedge instances invoking Lemma 3.1 as a warm-up to the next section.

Figure 1: Discretization around the optimal action. Left: inward rounding. Right: correction when both coordinates would cross .
decreases utility. We can therefore analyze the two Hedge instances separately and carry their combined guarantee over to the actions played by the algorithm. The regret bound in Theorem 3.3 depends only logarithmically on the grid size K, as a consequence of the Hedge guarantee. This dependence is optimal in the standard expert setting. We would expect a different dependence on K under limit order book feedback, which provides less information than full feedback.
4 Optimal Bounds For The Limit Order Book Case
In this section, we study the more interesting setting of the limit order book feedback, where the information available to the learner depends on whether a trade occurs. If no exchange takes place, the learner receives full feedback; otherwise, only the utility is observed with the type of trade.
4.1 Algorithm
We now present Algorithm 3 for the limit order book feedback and analyze its regret.
Similarly to the previous approach, Algorithm 3 treats the bid and ask prices separately, maintaining disjoint grids and (Line 1), weights and (Line 2), and sampling distributions and (Lines 4–6). Unlike in the full-feedback setting, we must account for the possibility that grid points coincide with atoms of , which might affect the observed feedback. This issue is addressed in Lemma 4.1 in Appendix B, where we show that, independently of the underlying distribution of , we can still collect the necessary information for our estimation.
For an integer , we define the two grids as:
We assume throughout the paper that F has no atom at zero. This reflects the fact that traders in financial markets typically assign strictly positive valuations to the assets they trade.
Algorithm 3 Market Making with Limit Order Book
Input: Time horizon T, parameters
1: Initialize
2: Set to 1
3: for do
4: Form probabilities normalizing
5: Compute with Equation (3) in internal grid points,
6: Draw and
7: Play prices
8: Observe , observe if no trade occurred
9: , compute , for respectively
10: Form the loss estimator , with , as in Equation (2)
11: Update weights
12: end for
Each grid contains internal points and one endpoint. We run two parallel instances of an EXP3-based algorithm [Auer et al., 2002]. For convenience, we express the utility contributions as losses in by defining . Let be an implicit exploration parameter [Neu, 2015]. For each internal grid point , with , let denote the probability that its loss is observed at round . We set , since losses at the endpoints can always be computed from , which is observed at every round. We further denote as the event that a point , has deducible utility. The limit order book feedback allows us to recover the exact losses at all grid points in , as we will show in Lemma 4.1. We use these observed losses to construct the estimates:
The implicit exploration parameter prevents the estimates from becoming too large when a grid point is rarely observed, helping to control their variance.
For each component , we update the weights according to:
and denote the corresponding normalized weights by , which represent the probability of sampling for the two problems (Line 6).
Finally, we notice that for any internal grid point , with , we can compute the observation probability directly from the sampling distributions:
Indeed, lies outside the played interval precisely when both sampled prices are strictly below or both are strictly above it. Since the prices are sampled independently, the probabilities of these two events are given by the products above.
4.2 Theoretical results
In this section, we establish the regret bound for Algorithm 3.
We begin by showing that the available feedback is sufficient to compute the loss estimates used by the algorithm, and then use these estimates to analyze its performance. Specifically, the first lemma shows that, despite the limited feedback, playing a price pair allows us to recover the exact losses at every grid point between the two quotes. Thus, a single round provides information about an entire interval of grid points, which we use to construct the estimates in Equation (2).
Concentrated sampling
Most mass lies near the observation point
Probability mass

Feedback interval
(bid)
(ask)
Diffuse sampling
Mass is spread across the grid
Probability mass

Feedback interval
Sampled actions
Observed grid points
Figure 2: The two panels illustrate sampling under a narrower (left) and wider (right) bid–ask spread. The bars and denote the sampling probabilities over prices, while is the probability of observing an internal point . Concentrating the sampling mass induces greater utility, but weakens observability of internal points. Consequently, although may be small, the aggregate importance-weight ratios and remain bounded, yielding the dependence in Lemma 4.2, provided that .
Lemma 4.1. Let be a price pair with , played at time step . Then, for any point , it is possible to reconstruct , , after playing .
Lemma 4.1 follows from the structure of the limit order book feedback. If no trade occurs, the learner receives full feedback. Otherwise, observing whether a purchase or a sale occurred reveals on which side of the bid–ask spread the private value lies. In either case, the learner can determine how the private value compares with each grid point within the spread and, since is always observed, reconstruct the corresponding utility.
Next, Lemma 4.2 bounds the ratios between the probability of sampling each grid point and the probability of observing its loss. These ratios measure how much information the feedback provides relative to how often each point is selected. Since each round reveals losses throughout the interval between the sampled quotes, the sum of these ratios grows only logarithmically with the grid size.
Lemma 4.2. For any time step , with , it holds:
Figure 2 illustrates the result of Lemma 4.2. Specifically, reconstructing the losses over the interval allows us to bound the term measuring the cost of the limit order book feedback by . This lies between the full-feedback setting, where every loss is observed and the corresponding term is , and the bandit setting, where only the loss of the sampled action is observed and the term scales as .
We are now ready to show the regret guarantees of Algorithm 3.
Theorem 4.3. Let and . By selecting , Algorithm 3 instantiated with attains:
with probability at least .
Theorem 4.3 improves upon the bound of Maran and Restelli [2026] by establishing a high-probability regret bound of , which is optimal up to logarithmic factors and holds even against an adaptive adversary.
5 An impossibility result
We finally consider the full-feedback setting under the case. We establish a linear regret lower bound, showing that market making is unlearnable in a fully adversarial environment, even when the entire valuations are observed at the end of each round.
This is done in the following theorem.
Theorem 5.1. Consider the market making problem with adversarial sequence of and and full feedback. Then, for any algorithm , there exists a sequence where expected regret .
The proof of Theorem 5.1 employs the well-known Yao's minimax principle [Yao, 1977]. Specifically, we build a distribution over problem instances in which the relevant price interval shrinks from either the left or the right at random in each round. The learner cannot anticipate which part of the interval will remain, whereas a single fixed action chosen in hindsight can be selected using the final interval. This uncertainty creates a constant gap between the learner's expected utility and that of the hindsight benchmark in each round, yielding a linear regret lower bound. The full proof is given in Appendix C.
References
Jacob Abernethy and Satyen Kale. Adaptive market making via online learning. In C.J. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K. Weinberger, editors, Advances in Neural Information Processing Systems, volume 26. Curran Associates, Inc., 2013. URL https://proceedings.neurips.cc/paper_files/paper/2013/file/995e1fda4a2b5f55ef0df50868bf2a8f-Paper.pdf.
Yakov Amihud and Haim Mendelson. Asset pricing and the bid-ask spread. Journal of financial Economics, 17(2):223–249, 1986.
Peter Auer, Nicolò Cesa-Bianchi, Yoav Freund, and Robert E. Schapire. The nonstochastic multiarmed bandit problem. SIAM Journal on Computing, 32(1):48–77, 2002. doi: 10.1137/S0097539701398375. URL https://doi.org/10.1137/S0097539701398375.
Kazuoki Azuma. Weighted sums of certain dependent random variables. Tohoku Mathematical Journal, 19(3):357 – 367, 1967. doi: 10.2748/tmj/1178243286. URL https://doi.org/10.2748/tmj/1178243286.
Bruno Biais, Larry Glosten, and Chester Spatt. Market microstructure: A survey of microfoundations, empirical results, and policy implications. Journal of Financial Markets, 8(2):217–264, 2005. ISSN 1386-4181. doi: https://doi.org/10.1016/j.finmar.2004.11.001. URL https://www.sciencedirect.com/science/article/pii/S1386418104000382.
Jean-Philippe Bouchaud, J. Doyne Farmer, and Fabrizio Lillo. How markets slowly digest changes in supply and demand, 2008. URL https://arxiv.org/abs/0809.0822.
Nicolò Cesa-Bianchi, Tommaso R. Cesari, Roberto Colomboni, Federico Fusco, and Stefano Leonardi. Repeated bilateral trade against a smoothed adversary. In Gergely Neu and Lorenzo Rosasco, editors, Proceedings of Thirty Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 1095–1130. PMLR, 12–15 Jul 2023. URL https://proceedings.mlr.press/v195/cesa-bianchi23a.html.
Nicolò Cesa-Bianchi, Tommaso Cesari, Roberto Colomboni, Luigi Foscari, and Vinayak Pathak. Market making without regret. ArXiv, abs/2411.13993, 2024. URL https://api.semanticscholar.org/CorpusID:274165544.
Nicolò Cesa-Bianchi, Tommaso Cesari, Roberto Colomboni, Federico Fusco, and Stefano Leonardi. The role of transparency in repeated first-price auctions with unknown valuations. SIAM Journal on Computing, 55(5):903–938, 2026. doi: 10.1137/24M1712308. URL https://doi.org/10.1137/24M1712308.
Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of Computer and System Sciences, 55(1):119–139, 1997. ISSN 0022-0000. doi: https://doi.org/10.1006/jcss.1997.1504. URL https://www.sciencedirect.com/science/article/pii/S002200009791504X.
Lawrence R Glosten and Lawrence E Harris. Estimating the components of the bid/ask spread. Journal of financial Economics, 21(1):123–142, 1988.
Olivier Guéant. Optimal market making, 2017. URL https://arxiv.org/abs/1605.01862.
Marcus Hutter and Jan Poland. Adaptive online prediction by following the perturbed leader. Journal of Machine Learning Research, 6(22):639–660, 2005. URL http://jmlr.org/papers/v6/hutter05a.html.
Robert Kleinberg and Tom Leighton. The value of knowing a demand curve: Bounds on regret for online posted-price auctions. In Proceedings of the 44th Annual IEEE Symposium on Foundations of Computer Science, FOCS '03, page 594, USA, 2003. IEEE Computer Society. ISBN 0769520405.
Tor Lattimore and Csaba Szepesvári. Bandit algorithms. Cambridge University Press, 2020.
Haipeng Luo and Robert Schapire. A drifting-games analysis for online learning and applications to boosting. In Z. Ghahramani, M. Welling, C. Cortes, N. Lawrence, and K. Weinberger, editors, Advances in Neural Information Processing Systems, volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper_files/paper/2014/file/24402144990624b417229a96ad7fa7bc-Paper.pdf.
Ananth Madhavan. Market microstructure: A survey. Journal of financial markets, 3(3):205–258, 2000.
Davide Maran and Marcello Restelli. Online market making and the value of observing the order book. In Steve Hanneke and Tor Lattimore, editors, The Thirty Ninth Annual Conference on Learning Theory, June 29 - July 3, 2026, San Diego, California, USA, volume 336 of Proceedings of Machine Learning Research, pages 4969–4998. PMLR, 2026. URL https://proceedings.mlr.press/v336/maran26a.html.
Roger B. Myerson. Optimal auction design. Mathematics of Operations Research, 6(1):58–73, 1981. doi:10.1287/moor.6.1.58. URL https://doi.org/10.1287/moor.6.1.58.
Roger B Myerson and Mark A Satterthwaite. Efficient mechanisms for bilateral trading. Journal of Economic Theory, 29(2):265–281, 1983. ISSN 0022-0531. doi: https://doi.org/10.1016/0022-0531(83)90048-0. URL https://www.sciencedirect.com/science/article/pii/0022053183900480.
Gergely Neu. Explore no more: Improved high-probability regret bounds for non-stochastic bandits. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. URL https://proceedings.neurips.cc/paper_files/paper/2015/file/e5a4d6bf330f23a8707bb0d6001dfbe8-Paper.pdf.
Francesco Orabona. A modern introduction to online learning. CoRR, abs/1912.13213, 2019. URL http://arxiv.org/abs/1912.13213.
Mark van Oldeniel, Christopher M Snyder, and Adriaan R Soetevent. Round bidding in auctions. Working Paper 34564, National Bureau of Economic Research, December 2025. URL http://www.nber.org/papers/w34564.
Andrew Chi-Chin Yao. Probabilistic computations: Toward a unified measure of complexity. In 18th Annual Symposium on Foundations of Computer Science (sfcs 1977), pages 222–227, 1977. doi: 10.1109/SFCS.1977.24.
Appendix
The Appendix is organized as follows:
• In Appendix A, we provide the omitted proofs and lemmas of Section 3.
• In Appendix B, we provide the omitted proofs and lemmas of Section 4.
• In Appendix C, we prove the lower bound stated in Section 5.
A Warm up
We start by proving that, by ordering the bid and ask prices, the mean utility cannot reduce.
Lemma A.1. Consider and . Then it holds that:
where we denote . As a consequence, for any it holds that and .
Proof. If then the statement is trivially proved, so we assume . If , then and the claim is true.
If instead and , then we have that for each case , and we have an improvement of in the utility by swapping with . For example, if , then and a similar reasoning can be applied to the other cases.
In the cases where , if and , then and , so the statement still holds. Lastly, if and , and , by which we conclude the first part of the proof.
By observing that , we take the expected value of the previously proved equality, yielding . Finally, by taking the empirical mean over the sequence , we get .
We now turn to the intermediate Lemma 3.2, which justifies the reduction to a finite set of actions in Algorithm 2, by showing explicitly that there exists an almost optimal point on the grid, even though the utility is not regular.
Lemma A.2. There exists a point such that:
Proof. We define a point on and then prove that such point has utility close to the optimal action . While the supremum is not necessarily attained for the utility, we select and a point such that .
Let us first notice that we can reduce to the case where . This is because of the structure of our utility function: if , we have , so we would weakly improve our revenue by substituting with : analogously, we can argue that We select the point following the same order, using the same logic.
Let be defined as:
We decouple the contributions from the ask and the bid components, only studying the bid case, as the other follows from a similar argument: we then we sum up the additional contribution of to measure the difference with the supremum. Suppose first that the first case holds and . Since is non decreasing and bounded in , . Therefore, .
Suppose instead that . In this case the first rounding point lies above , which implies . Since , . On the other hand, , so . Thus again .
Hence, in all cases, , which concludes the argument, by summing up the two contributions from bid and ask prices. We conclude the argument by observing that:
This concludes the proof.
After proving that there exists an almost-optimal point with respect to on the grid , we finally turn to proving our regret bound.
Theorem 3.3. Let and . Algorithm 2 with , attains regret:
with probability at least .
Proof. Using Lemma 3.2 and the regret decomposition in Equation (1), we have:
We first bound the difference between the expected utility for a fixed action and the corresponding observed utility. We observe that:
The two terms of the sum have conditional range and bounded in 1 and form a martingale sum. Thus, using the conditional Azuma-Hoeffding inequality [Azuma, 1967] and a union bound for the two terms, we find that with probability the term is bounded by . As it holds for every action , we can select an optimal action in hindsight and obtain the same bound. Let us now consider the action selected at each time step by the Hedge algorithms. By Azuma-Hoeffding inequality [Azuma, 1967] we have that with probability :
We can rewrite the regret on the grid actions as:
where the inequality holds by applying Lemma 3.1, while the equality holds because the utility can be decomposed into separate components. We notice here that we use in the proof the points selected in the original instances of Hedge for the bid and ask, so that the standard concentration argument can be applied, for example using Luo and Schapire [2014]. Thus, observing that both instances of Hedge have the same learning rate , we have that with probability , using the decomposition into two separate problems:
Building on that, by choosing and , we get the second result with probability by summing the failure probabilities, which concludes the argument.
B Optimal bounds for LOB
Lemma B.1. Let be a price pair with , played at time step . Then, for any point , it is possible to reconstruct , , after playing .
Proof. If the statement follows trivially by the fact that we observe entirely.
If a purchase occurred and , then : therefore . If instead we consider a point on the other grid , then and : therefore we can again reconstruct the feedback. The same reasoning can be mirrored in case of a sale, thus we conclude the proof. We notice here that we can reconstruct the revenue independently of the distribution, as it only depends on the structure of the utility and the feedback.
After proving the consistency of our estimators, we now move on to the proof of Lemma 4.2. This lemma presents the first step for bounding in the regret analysis.
Lemma B.2. For any time step , with , it holds:
Proof. For the sake of this proof, we fix a unique indexing on the union of the two grids , with a total of points, denoted as . We can therefore call the probability weights with the unique name of for simplicity of notation, where if and if .
Let be the normalized sum of the probabilities in each point on the grid until point . Recall Equation (3): we observe that, selecting a point , it holds that and with our new notation. Thus we have that, from Identity (3):
By using the standard analysis inequality and the fact that:
since is no larger than both and .
We use these inequalities to construct our bound on the importance sampling term:
Which holds by applying definitions and using that with and standard inequalities from analysis.
We define for the following proofs the factor in Equation (4) as:
to simplify later derivations.
Before proving Theorem 4.3, let us state some intermediate steps Lemma B.3, Lemma B.4 and Lemma B.5, providing high probability bounds on the conditional mean and variance of the estimated losses at each time step, given the data from the previous rounds .
In the following Lemma B.3, we bound the cumulative difference between the estimated loss of the two current algorithms, denoted as , and that of any fixed bid-ask pair , up to the usual logarithmic and second-order terms, denoted as .
Lemma B.3. Let , be defined as:
Then we have that, for any , :
Proof. The proof follows by manipulation of the weights . Fix a time step and let . First, consider that:
Therefore, if we sum the equality above over the grid points , we have:
where we used that . After taking the logarithm on both sides and employing that :
and by summing over the time steps and , and telescoping, we deduce:
where we used , and the definitions of and . We conclude the argument observing that, fixing an and , , since it represents the last update, and substituting this inequality into the last step of the previous chain of inequalities.
We now provide a high probability bound on the difference between the estimated losses and the real .
Lemma B.4. Consider the realized mean loss a time t and point , defined as and for as .
For any , with and for all it holds that:
Hence, setting , with probability we have that for any :
Proof. Let and fix a time step . We observe that is distributed as a Bernoulli with parameter , given the history and loss . By taking the exponential of the estimator , we can therefore bound:
Where we used that, for , , then that .
By the tower rule on , we can rewrite the expected value :
where the last inequality follows by .
Hence, the process is a nonnegative supermartingale that has an initial value of 1.
The first part of the thesis is deduced by applying Markov's inequality to the difference of the sums and applying the deduced inequality in terms of the exponential. That is,
The second part of the claim is obtained building on the first, by a union bound on the total grid points and where we select .
Lemma B.5. Consider and recall the definition of and given in Lemma B.3. Then, it holds that , and . Moreover:
Furthermore, for any u > 0:
and for every and it holds that:
Proof. We first notice that:
The inequality derives from the fact that we might swap the prices initially selected by Algorithm 3 using Lemma 3.1, for which we weakly decrease the loss if in the step we had swapped the prices.
We consider the expected value for the losses estimates. It holds, by definition:
Thus, follows that and , from Lemma 4.2.
Notice that, for any time step and , : so . Therefore, by recalling Lemma 4.2, we have that . By taking the expectation:
We deduce the second claim from Lemma B.3. We also notice that .
Therefore, and using and , we have that:
By summing over the , as the sequence is a supermartingale with expectation bounded by 1 and applying Markov's inequality with we deduce the fourth claim, while the last claim is a reordering of Lemma B.3.
We finally prove the full Theorem 4.3 statement, using the results from the previous Lemma.
Theorem 4.3. Let and . By selecting , Algorithm 3 instantiated with attains:
with probability at least .
Proof. Recall , as defined in Lemma B.3 and the observations regarding their conditional expected value in Lemma B.5. We first observe that by conditional Hoeffding's bound for all time steps :
Then with a union bound and Markov inequality:
To get the bound, we use the results in the previous Lemma B.3, Lemma B.4 and Lemma B.5 by adding and subtracting the terms defined there.
We consider as a comparator action . This is justified as we notice that a similar construction to the one in Lemma 3.2 repeated in the case of establishes that we can reduce the problem to our discrete set at the total cost of , accounting for the additional constants in the loss.
In particular fix any pair : with probability at least , which derives from summing up the failure probabilities from the previous lemmas:
Table 2: Upper bound on for each case of the random sequence
| Upper bound | |||||
By applying this bound to the regret in the utility with factor 2 due to the loss rescaling, we obtain the general claim. We also used Lemma 3.1 in the first inequality.
Consequently, by selecting , we have , thus we deduce the optimal rate . In particular, with probability it holds that , which concludes the proof.
C Proof for the impossibility result
In this final section, we give a proof of the unlearnability result for market making, under the favorable condition of full feedback and oblivious adversary.
Theorem 5.1. Consider the market making problem with adversarial sequence of and and full feedback. Then, for any algorithm , there exists a sequence where expected regret .
Proof. To prove the statement, we rely on Yao's minimax principle [Yao, 1977]: we construct a random instance of the problem and prove that any deterministic bid-ask sequence suffers linear regret with such sequence.
Consider the following construction for a sequence bounded in . Let at any given time step t. We initialize , then for any :
Given this sequence, we construct the instance of prices as follows:
where the sequence is drawn independently of the previous one.
We now consider an optimal in hindsight action for such instance of the problem. We notice that there exists a where such that the learner always wins. Defining a constant , we can take such action as . The total expected revenue with respect to the randomization of the environment is:
where we imposed and and vanishes as grows.
We now turn to the expected revenue for any deterministic sequence. For any time step or gains 0 revenue for the corresponding utility, while having or doesn't improve utility compared to choosing and . With this observation, we can restrict to only considering the cases of bid-ask prices and . We have six cases to consider, depending on where the bid ask prices lie in the three intervals , and and given our general constraint . For simplicity, we call and in Table 2. We proceed by computing the expected revenue given each event in the original sequence and summing up the resulting revenue for each case, thus obtaining the general expected revenue for a deterministic sequence of prices. We summarize the results for each case with Table 2.
Overall, the expected utility for a deterministic algorithm playing is , given our construction.
Therefore by Yao's principle that for any probabilistic algorithm :
which proves the statement, by Yao's principle.