Previous research has found that high-frequency traders will vary the bid or offer price rapidly over periods of milliseconds. This is a benefit to fast traders who can time their trades with microsecond precision, however it is a cost to the average market participant due to increased trade execution price uncertainty. In this analysis we attempt to construct real-time methods for determining whether the liquidity of a security is being altered rapidly. We find a four-state Markov switching model identifies a state where liquidity is being rapidly varied about a mean value. This state can be used to generate a signal to delay market participant orders until the price volatility subsides. Over our sample, the signal would delay orders, in aggregate, over 0 to 10% of the trading day. Each individual delay would only last tens of milliseconds, and so would not be noticeable by the average market participant.
Traditional market makers are losing their importance as automated systems have largely assumed the role of liquidity provision in markets. We update the model of Glosten and Milgrom (1985) to analyze this new world: we add multiple securities and introduce an automated market maker who uses the relationships between securities to price order flow. This new automated participant transacts the majority of orders, sets prices that are more efficient, and increases informed and decreases uninformed traders' transaction costs. These results can explain the recent dominance of high frequency tradin…
We use a recent, high-quality data set from Nasdaq to perform an empirical analysis of order flow in a limit order book (LOB) before and after the arrival of a market order. For each of the stocks that we study, we identify a sequence of distinct phases across which the net flow of orders differs considerably. We note some of our results are consist with the widely reported phenomenon of stimulated refill, but that others are not. We therefore propose alternative mechanical and strategic motivations for the behaviour that we observe. Based on our findings, we argue that strategic liquidity pro…
A small investor provides liquidity at the best bid and ask prices of a limit order market. For small spreads and frequent orders of other market participants, we explicitly determine the investor's optimal policy and welfare. In doing so, we allow for general dynamics of the mid price, the spread, and the order flow, as well as for arbitrary preferences of the liquidity provider under consideration.
Liquidity provision in CLMMs: evidence from transactions data
Vega Institute Foundation(维加研究所基金会);Chuvash State University(楚瓦什国立大学);Moscow Institute of Physics and Technology(莫斯科物理技术学院);Satbayev Kazakh National Technical University(萨塔耶夫哈萨克国立技术大学)
We study one-shot Nash competition between an arbitrary number of identical dealers that compete for the order flow of a client. The client trades either because of proprietary information, exposure to idiosyncratic risk, or a mix of both trading motives. When quoting their price schedules, the dealers do not know the client's type but only its distribution, and in turn choose their price quotes to mitigate between adverse selection and inventory costs. Under essentially minimal conditions, we show that a unique symmetric Nash equilibrium exists and can be characterized by the solution of a no…
We study recurrent patterns in volatility and volume for major cryptocurrencies, Bitcoin and Ether, using data from two centralized exchanges (Coinbase Pro and Binance) and a decentralized exchange (Uniswap V2). We find systematic patterns in both volatility and volume across day-of-the-week, hour-of-the-day, and within the hour. These patterns have grown stronger over the years and can be related to algorithmic trading and funding times in futures markets. We also document that price formation mainly takes place on the centralized exchanges while price adjustments on the decentralized exchang…
The standard approach for compensating liquidity providers on many decentralized exchanges (DEX) for serving as counter-party to swaps is through charging a small percentage of fees. The expected payoff from the cash flow of this mode of market making has yet to be mathematically formulated in terms of volatility in the existing literature. We provide here a preliminary derivation of the payoff formula, by making the standard set of assumptions for efficient markets, namely geometric Brownian price movements and zero arbitrage. Trading volume, conventionally taken as an exogenous variable for …
We construct an equilibrium for the continuous time Kyle's model with stochastic liquidity, a general distribution of the fundamental price, and correlated stock and volatility dynamics. For distributions with positive support, our equilibrium allows us to study the impact of the stochastic volatility of noise trading on the volatility of the asset. In particular, when the fundamental price is log-normally distributed, informed trading forces the log-return up to maturity to be Gaussian for any choice of noise-trading volatility even though the price process itself comes with stochastic volati…
We study the relationship between price spread, volatility and trading volume. We find that spread forms as a result of interplay between order liquidity and order impact. When trading volume is small adding more liquidity helps improve price accuracy and reduce spread, but after some point additional liquidity begins to deteriorate price. The model allows to connect the bid-ask spread and high-low bars to measurable microstructural parameters and express their dependence on trading volume, volatility and time horizon. Using the established relations, we address the operating spread optimizati…
Market liquidity plays a vital role in the field of market micro-structure, because it is the vigor of the financial market. This paper uses a variable called convexity to measure the potential liquidity provided by order-book. Based on the high-frequency data of each stock included in the SSE (Shanghai Stock Exchange) 50 Index for the year 2011, we report several statistical properties of convexity and analyze the association between convexity and some other important variables (bid/ask-depth, spread, volatility, return.)
We investigate whether the fee income from trades on the CFM is sufficient for the liquidity providers to hedge away the exposure to market risk. We first analyse this problem through the lens of continuous-time financial mathematics and derive an upper bound for not-arbitrage fee income that would make CFM efficient and liquidity provision fair. We then evaluate our findings by performing multi-agent simulations by varying CFM fees, market volatility, and rate of arrival of liquidity takers. We observe that, on average, fee income generated from liquidity provision is insufficient to compensa…
Liquidity providers are essential for the function of decentralized exchanges to ensure liquidity takers can be guaranteed a counterparty for their trades. However, liquidity providers investing in liquidity pools face many risks, the most prominent of which is impermanent loss. Currently, analysis of this metric is difficult to conduct due to different market maker algorithms, fee structures and concentrated liquidity dynamics across the various exchanges. To this end, we provide a framework to generalize impermanent loss for multiple asset pools obeying any constant function market maker wit…
Traders are often faced with large block orders in markets with limited liquidity and varying volatility. Executing the entire order at once usually incurs a large trading cost because of this limited liquidity. In order to minimize this cost traders split up large orders over time. Varying volatility however implies that they now take on price risk, as the underlying assets' prices can move against the traders over the execution period. This execution problem therefore requires a careful balancing between trading slow to reduce liquidity cost and trading fast to reduce the volatility cost. R.…
We analyse two models of liquidity provision to determine the retail traders' preference for marketable order routing. Order internalization is captured by a model of market makers competing for the retail order flow in a Bertrand fashion. On the other hand, the price-taking competitive liquidity providers characterize the open exchange model. We show that, when liquidity providers are risk averse, routing of the marketable orders to the wholesalers is preferred by all retail traders: informed, uninformed and noisy. The unwillingness of liquidity providers to bear risk causes the strategic tra…
We extend a linear version of the liquidity risk model of Cetin et al. (2004) to allow for price impacts. We show that the impact of a market order on prices depends on the size of the transaction and the level of liquidity. We obtain a simple characterization of self-financing trading strategies and a sufficient condition for no arbitrage. We consider a stochastic volatility model in which the volatility is partly correlated with the liquidity process and show that, with the use of variance swaps, contingent claims whose payoffs depend on the value of the asset can be approximately replicated…
Empirical data reveals that the liquidity flow into the order book (depositions, cancellations andmarket orders) is influenced by past price changes. In particular, we show that liquidity tends todecrease with the amplitude of past volatility and price trends. Such a feedback mechanism inturn increases the volatility, possibly leading to a liquidity crisis. Accounting for such effects withina stylized order book model, we demonstrate numerically that there exists a second order phasetransition between a stable regime for weak feedback to an unstable regime for strong feedback,in which liquidit…
The study proposes a quote-driven predictive automated market maker (AMM) platform with on-chain custody and settlement functions, alongside off-chain predictive reinforcement learning capabilities to improve liquidity provision of real-world AMMs. The proposed AMM architecture is an augmentation to the Uniswap V3, a cryptocurrency AMM protocol, by utilizing a novel market equilibrium pricing for reduced divergence and slippage loss. Further, the proposed architecture involves a predictive AMM capability, utilizing a deep hybrid Long Short-Term Memory (LSTM) and Q-learning reinforcement learni…
We present an empirical study of the intertwined behaviour of members in a financial market. Exploiting a database where the broker that initiates an order book event can be identified, we decompose the correlation and response functions into contributions coming from different market participants and study how their behaviour is interconnected. We find evidence that (1) brokers are very heterogeneous in liquidity provision -- some are consistently liquidity providers while others are consistently liquidity takers. (2) The behaviour of brokers is strongly conditioned on the actions of {\it oth…
We consider an exchange who wishes to set suitable make-take fees to attract liquidity on its platform. Using a principal-agent approach, we are able to describe in quasi-explicit form the optimal contract to propose to a market maker. This contract depends essentially on the market maker inventory trajectory and on the volatility of the asset. We also provide the optimal quotes that should be displayed by the market maker. The simplicity of our formulas allows us to analyze in details the effects of optimal contracting with an exchange, compared to a situation without contract. We show in par…
This paper develops a model of liquidity provision in financial markets by adapting the Madhavan, Richardson, and Roomans (1997) price formation model to realistic order books with quote discretization and liquidity rebates. We postulate that liquidity providers observe a fundamental price which is continuous, efficient, and can assume values outside the interval spanned by the best quotes. We confirm the predictions of our price formation model with extensive empirical tests on large high-frequency datasets of 100 liquid Nasdaq stocks. Finally we use the model to propose an estimator of the f…
Stock prices are observed to be random walks in time despite a strong, long term memory in the signs of trades (buys or sells). Lillo and Farmer have recently suggested that these correlations are compensated by opposite long ranged fluctuations in liquidity, with an otherwise permanent market impact, challenging the scenario proposed in Quantitative Finance 4, 176 (2004), where the impact is *transient*, with a power-law decay in time. The exponent of this decay is precisely tuned to a critical value, ensuring simultaneously that prices are diffusive on long time scales and that the response …
We present a simulation-and-regression method for solving dynamic portfolio allocation problems in the presence of general transaction costs, liquidity costs and market impacts. This method extends the classical least squares Monte Carlo algorithm to incorporate switching costs, corresponding to transaction costs and transient liquidity costs, as well as multiple endogenous state variables, namely the portfolio value and the asset prices subject to permanent market impacts. To do so, we improve the accuracy of the control randomization approach in the case of discrete controls, and propose a g…
Liquidity and trading activity on constant function market makers (CFMMs) such as Uniswap, Curve, and Balancer has grown significantly in the second half of 2020. Much of the growth of these protocols has been driven by incentivized pools or 'yield farming', which reward participants in crypto assets for providing liquidity to CFMMs. As a result, CFMMs and associated protocols, which were historically very small markets, now constitute the most liquid trading venues for a large number of crypto assets. But what does it mean for a CFMM to be the most liquid market? In this paper, we propose a b…
Bid-ask spread is taken as an important measure of the financial market liquidity. In this article, we study the dynamics of the spread return and the spread volatility of four liquid stocks in the Chinese stock market, including the memory effect and the multifractal nature. By investigating the autocorrelation function and the Detrended Fluctuation Analysis (DFA), we find that the spread return is lack of long-range memory, while the spread volatility is long-range time correlated. Moreover, by applying the Multifractal Detrended Fluctuation Analysis (MF-DFA), the spread return is observed t…
Uniswap is a Constant Product Market Maker built around liquidity pools, where pairs of tokens are exchanged subject to a fee that is proportional to the size of transactions. At the time of writing, there exist more than 6,000 pools associated with Uniswap v3, implying that empirical investigations on the full ecosystem can easily become computationally expensive. Thus, we propose a systematic workflow to extract and analyse a meaningful but computationally tractable sub-universe of liquidity pools. Leveraging on the 34 pools found relevant for the six-months time window January-June 2022, we…
Price impact of a trade is an important element in pre-trade and post-trade analyses. We introduce a framework to analyze the market price of liquidity risk, which allows us to derive an inhomogeneous Bernoulli ordinary differential equation. We obtain two closed form solutions, one of which reproduces the linear function of the order flow in Kyle (1985) for informed traders. However, when traders are not as asymmetrically informed, an S-shape function of the order flow is obtained. We perform an empirical intra-day analysis on Nikkei futures to quantify the price impact of order flow and comp…
Automated market makers (AMM) have grown to obtain significant market share within the cryptocurrency ecosystem, resulting in a proliferation of new products pursuing exotic strategies for horizontal differentiation. Yet, their theoretical properties are curiously homogeneous when a set of basic assumptions are met. In this paper, we start by presenting a universal approach to deriving a formula for liquidity provisioning for AMMs. Next, we show that the constant function market maker and token swap market maker models are theoretically equivalent when liquidity reserves are uniform. Proceedin…
This paper investigates the effects of a price limit change on the volatility of the Korean stock market's (KRX) intraday stock price process. Based on the most recent transaction data from the KRX, which experienced a change in the price limit on June 15, 2015, we examine the change in realized variance after the price limit change to investigate the overall effects of the change on the intraday market volatility. We then analyze the effects in more detail by applying the discrete Fourier transform (DFT) to the data set. We find evidence that the market becomes more volatile in the intraday h…