https://arxiv.org/api/YutPW5CTkpvgufwY7aUkh0dlvqE 2026-06-21T01:42:04Z 2263 660 15 http://arxiv.org/abs/2311.18283v1 The two square root laws of market impact and the role of sophisticated market participants 2023-11-30T06:43:30Z The goal of this paper is to disentangle the roles of volume and of participation rate in the price response of the market to a sequence of transactions. To do so, we are inspired the methodology introduced in arXiv:1402.1288, arXiv:1805.07134 where price dynamics are derived from order flow dynamics using no arbitrage assumptions. We extend this approach by taking into account a sophisticated market participant having superior abilities to analyse market dynamics. Our results lead to the recovery of two square root laws: (i) For a given participation rate, during the execution of a metaorder, the market impact evolves in a square root manner with respect to the cumulated traded volume. (ii) For a given executed volume $Q$, the market impact is proportional to $\sqrtγ$, where $γ$ denotes the participation rate, for $γ$ large enough. Smaller participation rates induce a more linear dependence of the market impact in the participation rate. 2023-11-30T06:43:30Z Bruno Durin Mathieu Rosenbaum Grégoire Szymanski http://arxiv.org/abs/2303.00208v2 A Myersonian Framework for Optimal Liquidity Provision in Automated Market Makers 2023-11-27T19:24:29Z In decentralized finance ("DeFi"), automated market makers (AMMs) enable traders to programmatically exchange one asset for another. Such trades are enabled by the assets deposited by liquidity providers (LPs). The goal of this paper is to characterize and interpret the optimal (i.e., profit-maximizing) strategy of a monopolist liquidity provider, as a function of that LP's beliefs about asset prices and trader behavior. We introduce a general framework for reasoning about AMMs based on a Bayesian-like belief inference framework, where LPs maintain an asset price estimate. In this model, the market maker (i.e., LP) chooses a demand curve that specifies the quantity of a risky asset to be held at each dollar price. Traders arrive sequentially and submit a price bid that can be interpreted as their estimate of the risky asset price; the AMM responds to this submitted bid with an allocation of the risky asset to the trader, a payment that the trader must pay, and a revised internal estimate for the true asset price. We define an incentive-compatible (IC) AMM as one in which a trader's optimal strategy is to submit its true estimate of the asset price, and characterize the IC AMMs as those with downward-sloping demand curves and payments defined by a formula familiar from Myerson's optimal auction theory. We generalize Myerson's virtual values, and characterize the profit-maximizing IC AMM. The optimal demand curve generally has a jump that can be interpreted as a "bid-ask spread," which we show is caused by a combination of adverse selection risk (dominant when the degree of information asymmetry is large) and monopoly pricing (dominant when asymmetry is small). This work opens up new research directions into the study of automated exchange mechanisms from the lens of optimal auction theory and iterative belief inference, using tools of theoretical computer science in a novel way. 2023-03-01T03:21:29Z 20 pages, to appear in the 15th Innovations in Theoretical Computer Science conference (ITCS 2024) Jason Milionis Ciamac C. Moallemi Tim Roughgarden 10.4230/LIPIcs.ITCS.2024.80 http://arxiv.org/abs/2311.15974v1 Adaptive Agents and Data Quality in Agent-Based Financial Markets 2023-11-27T16:18:30Z We present our Agent-Based Market Microstructure Simulation (ABMMS), an Agent-Based Financial Market (ABFM) that captures much of the complexity present in the US National Market System for equities (NMS). Agent-Based models are a natural choice for understanding financial markets. Financial markets feature a constrained action space that should simplify model creation, produce a wealth of data that should aid model validation, and a successful ABFM could strongly impact system design and policy development processes. Despite these advantages, ABFMs have largely remained an academic novelty. We hypothesize that two factors limit the usefulness of ABFMs. First, many ABFMs fail to capture relevant microstructure mechanisms, leading to differences in the mechanics of trading. Second, the simple agents that commonly populate ABFMs do not display the breadth of behaviors observed in human traders or the trading systems that they create. We investigate these issues through the development of ABMMS, which features a fragmented market structure, communication infrastructure with propagation delays, realistic auction mechanisms, and more. As a baseline, we populate ABMMS with simple trading agents and investigate properties of the generated data. We then compare the baseline with experimental conditions that explore the impacts of market topology or meta-reinforcement learning agents. The combination of detailed market mechanisms and adaptive agents leads to models whose generated data more accurately reproduce stylized facts observed in actual markets. These improvements increase the utility of ABFMs as tools to inform design and policy decisions. 2023-11-27T16:18:30Z 11 pages, 6 figures, and 1 table. Contains 12 pages of supplemental information with 1 figure and 22 tables Colin M. Van Oort Ethan Ratliff-Crain Brian F. Tivnan Safwan Wshah http://arxiv.org/abs/2311.15180v1 Benchmarking Large Language Model Volatility 2023-11-26T03:54:03Z The impact of non-deterministic outputs from Large Language Models (LLMs) is not well examined for financial text understanding tasks. Through a compelling case study on investing in the US equity market via news sentiment analysis, we uncover substantial variability in sentence-level sentiment classification results, underscoring the innate volatility of LLM outputs. These uncertainties cascade downstream, leading to more significant variations in portfolio construction and return. While tweaking the temperature parameter in the language model decoder presents a potential remedy, it comes at the expense of stifled creativity. Similarly, while ensembling multiple outputs mitigates the effect of volatile outputs, it demands a notable computational investment. This work furnishes practitioners with invaluable insights for adeptly navigating uncertainty in the integration of LLMs into financial decision-making, particularly in scenarios dictated by non-deterministic information. 2023-11-26T03:54:03Z 7 pages, 2 figures, Workshop on AI Safety and Robustness In Finance, ICAIF 2023 Boyang Yu http://arxiv.org/abs/2311.10990v2 "Centralized or Decentralized?": Concerns and Value Judgments of Stakeholders in the Non-Fungible Tokens (NFTs) Market 2023-11-21T19:22:52Z Non-fungible tokens (NFTs) are decentralized digital tokens to represent the unique ownership of items. Recently, NFTs have been gaining popularity and at the same time bringing up issues, such as scams, racism, and sexism. Decentralization, a key attribute of NFT, contributes to some of the issues that are easier to regulate under centralized schemes, which are intentionally left out of the NFT marketplace. In this work, we delved into this centralization-decentralization dilemma in the NFT space through mixed quantitative and qualitative methods. Centralization-decentralization dilemma is the dilemma caused by the conflict between the slogan of decentralization and the interests of stakeholders. We first analyzed over 30,000 NFT-related tweets to obtain a high-level understanding of stakeholders' concerns in the NFT space. We then interviewed 15 NFT stakeholders (both creators and collectors) to obtain their in-depth insights into these concerns and potential solutions. Our findings identify concerning issues among users: financial scams, counterfeit NFTs, hacking, and unethical NFTs. We further reflected on the centralization-decentralization dilemma drawing upon the perspectives of the stakeholders in the interviews. Finally, we gave some inferences to solve the centralization-decentralization dilemma in the NFT market and thought about the future of NFT and decentralization. 2023-11-18T06:50:22Z Accepted by CSCW 2024 Proc. ACM Hum.-Comput. Interact. 8, CSCW1, Article 28, 34 pages, 2024 Yunpeng Xiao Bufan Deng Siqi Chen Kyrie Zhixuan Zhou Ray LC Luyao Zhang Xin Tong 10.1145/3637305 http://arxiv.org/abs/2311.12247v1 A simulated electronic market with speculative behaviour and bubble formation 2023-11-21T00:06:36Z This paper presents an agent based model of an electronic market with two types of trading agents. One type follows a mean reverting strategy and the other, the speculative trader, tracks the maximum realised return over recent trades. The speculators have a distribution of returns concentrated on negative returns, with a small fraction making profits. The market experiences an increased volatility and prices that greatly depart from the fundamental value of the asset. Our research provides synthetic datasets of the order book to study its dynamics under different levels of speculation 2023-11-21T00:06:36Z Nicolas Cofre Magdalena Mosionek-Schweda http://arxiv.org/abs/2212.00336v6 Automated Market Makers: Mean-Variance Analysis of LPs Payoffs and Design of Pricing Functions 2023-11-19T15:28:55Z With the emergence of decentralized finance, new trading mechanisms called Automated Market Makers have appeared. The most popular Automated Market Makers are Constant Function Market Makers. They have been studied both theoretically and empirically. In particular, the concept of impermanent loss has emerged and explains part of the profit and loss of liquidity providers in Constant Function Market Makers. In this paper, we propose another mechanism in which price discovery does not solely rely on liquidity takers but also on an external exchange rate or price oracle. We also propose to compare the different mechanisms from the point of view of liquidity providers by using a mean / variance analysis of their profit and loss compared to that of agents holding assets outside of Automated Market Makers. In particular, inspired by Markowitz' modern portfolio theory, we manage to obtain an efficient frontier for the performance of liquidity providers in the idealized case of a perfect oracle. Beyond that idealized case, we show that even when the oracle is lagged and in the presence of adverse selection by liquidity takers and systematic arbitrageurs, optimized oracle-based mechanisms perform better than popular Constant Function Market Makers. 2022-12-01T07:49:14Z Philippe Bergault Louis Bertucci David Bouba Olivier Guéant http://arxiv.org/abs/2309.01784v3 INTAGS: Interactive Agent-Guided Simulation 2023-11-17T20:05:46Z In many applications involving multi-agent system (MAS), it is imperative to test an experimental (Exp) autonomous agent in a high-fidelity simulator prior to its deployment to production, to avoid unexpected losses in the real-world. Such a simulator acts as the environmental background (BG) agent(s), called agent-based simulator (ABS), aiming to replicate the complex real MAS. However, developing realistic ABS remains challenging, mainly due to the sequential and dynamic nature of such systems. To fill this gap, we propose a metric to distinguish between real and synthetic multi-agent systems, which is evaluated through the live interaction between the Exp and BG agents to explicitly account for the systems' sequential nature. Specifically, we characterize the system/environment by studying the effect of a sequence of BG agents' responses to the environment state evolution and take such effects' differences as MAS distance metric; The effect estimation is cast as a causal inference problem since the environment evolution is confounded with the previous environment state. Importantly, we propose the Interactive Agent-Guided Simulation (INTAGS) framework to build a realistic ABS by optimizing over this novel metric. To adapt to any environment with interactive sequential decision making agents, INTAGS formulates the simulator as a stochastic policy in reinforcement learning. Moreover, INTAGS utilizes the policy gradient update to bypass differentiating the proposed metric such that it can support non-differentiable operations of multi-agent environments. Through extensive experiments, we demonstrate the effectiveness of INTAGS on an equity stock market simulation example. We show that using INTAGS to calibrate the simulator can generate more realistic market data compared to the state-of-the-art conditional Wasserstein Generative Adversarial Network approach. 2023-09-04T19:56:18Z Song Wei Andrea Coletta Svitlana Vyetrenko Tucker Balch http://arxiv.org/abs/2208.10434v4 A simple learning agent interacting with an agent-based market model 2023-11-11T18:23:26Z We consider the learning dynamics of a single reinforcement learning optimal execution trading agent when it interacts with an event driven agent-based financial market model. Trading takes place asynchronously through a matching engine in event time. The optimal execution agent is considered at different levels of initial order-sizes and differently sized state spaces. The resulting impact on the agent-based model and market are considered using a calibration approach that explores changes in the empirical stylised facts and price impact curves. Convergence, volume trajectory and action trace plots are used to visualise the learning dynamics. Here the smaller state space agents had the number of states they visited converge much faster than the larger state space agents, and they were able to start learning to trade intuitively using the spread and volume states. We find that the moments of the model are robust to the impact of the learning agents except for the Hurst exponent, which was lowered by the introduction of strategic order-splitting. The introduction of the learning agent preserves the shape of the price impact curves but can reduce the trade-sign auto-correlations when their trading volumes increase. 2022-08-22T16:42:06Z 18 pages, 7 figures. Accepted: Physica A Physica A: Statistical Mechanics and its Applications 633 (2024) 129363 Matthew Dicks Andrew Paskaramoorthy Tim Gebbie 10.1016/j.physa.2023.129363 http://arxiv.org/abs/2310.04793v2 FinGPT: Instruction Tuning Benchmark for Open-Source Large Language Models in Financial Datasets 2023-11-11T06:51:24Z In the swiftly expanding domain of Natural Language Processing (NLP), the potential of GPT-based models for the financial sector is increasingly evident. However, the integration of these models with financial datasets presents challenges, notably in determining their adeptness and relevance. This paper introduces a distinctive approach anchored in the Instruction Tuning paradigm for open-source large language models, specifically adapted for financial contexts. Through this methodology, we capitalize on the interoperability of open-source models, ensuring a seamless and transparent integration. We begin by explaining the Instruction Tuning paradigm, highlighting its effectiveness for immediate integration. The paper presents a benchmarking scheme designed for end-to-end training and testing, employing a cost-effective progression. Firstly, we assess basic competencies and fundamental tasks, such as Named Entity Recognition (NER) and sentiment analysis to enhance specialization. Next, we delve into a comprehensive model, executing multi-task operations by amalgamating all instructional tunings to examine versatility. Finally, we explore the zero-shot capabilities by earmarking unseen tasks and incorporating novel datasets to understand adaptability in uncharted terrains. Such a paradigm fortifies the principles of openness and reproducibility, laying a robust foundation for future investigations in open-source financial large language models (FinLLMs). 2023-10-07T12:52:58Z Workshop on Instruction Tuning and Instruction Following at NeurIPS 2023 Neng Wang Hongyang Yang Christina Dan Wang http://arxiv.org/abs/2205.08913v2 Price Interpretability of Prediction Markets: A Convergence Analysis 2023-11-09T15:19:21Z Prediction markets are long known for prediction accuracy. This study systematically explores the fundamental properties of prediction markets, addressing questions about their information aggregation process and the factors contributing to their remarkable efficacy. We propose a novel multivariate utility (MU) based mechanism that unifies several existing automated market-making schemes. Using this mechanism, we establish the convergence results for markets comprised of risk-averse traders who have heterogeneous beliefs and repeatedly interact with the market maker. We demonstrate that the resulting limiting wealth distribution aligns with the Pareto efficient frontier defined by the utilities of all market participants. With the help of this result, we establish analytical and numerical results for the limiting price in different market models. Specifically, we show that the limiting price converges to the geometric mean of agent beliefs in exponential utility-based markets. In risk-measure-based markets, we construct a family of risk measures that satisfy the convergence criteria and prove that the price can converge to a unique level represented by the weighted power mean of agent beliefs. In broader markets with Constant Relative Risk Aversion (CRRA) utilities, we reveal that the limiting price can be characterized by systems of equations that encapsulate agent beliefs, risk parameters, and wealth. Despite the potential impact of traders' trading sequences on the limiting price, we establish a price invariance result for markets with a large trader population. Using this result, we propose an efficient approximation scheme for the limiting price. 2022-05-18T13:15:11Z Dian Yu Jianjun Gao Weiping Wu Zizhuo Wang http://arxiv.org/abs/2306.13378v3 Exact solution to a generalised Lillo-Mike-Farmer model with heterogeneous order-splitting strategies 2023-11-09T05:36:53Z The Lillo-Mike-Farmer (LMF) model is an established econophysics model describing the order-splitting behaviour of institutional investors in financial markets. In the original article (LMF, Physical Review E 71, 066122 (2005)), LMF assumed the homogeneity of the traders' order-splitting strategy and derived a power-law asymptotic solution to the order-sign autocorrelation function (ACF) based on several heuristic reasonings. This report proposes a generalised LMF model by incorporating the heterogeneity of traders' order-splitting behaviour that is exactly solved without heuristics. We find that the power-law exponent in the order-sign ACF is robust for arbitrary heterogeneous intensity distributions. On the other hand, the prefactor in the ACF is very sensitive to heterogeneity in trading strategies and is shown to be systematically underestimated in the original homogeneous LMF model. Our work highlights that the ACF prefactor should be more carefully interpreted than the ACF power-law exponent in data analyses. 2023-06-23T09:01:27Z additional theoretical analyses Journal of Statistical Physics 191, 58 (2024) Yuki Sato Kiyoshi Kanazawa 10.1007/s10955-024-03264-1 http://arxiv.org/abs/2310.04027v2 Enhancing Financial Sentiment Analysis via Retrieval Augmented Large Language Models 2023-11-04T13:44:46Z Financial sentiment analysis is critical for valuation and investment decision-making. Traditional NLP models, however, are limited by their parameter size and the scope of their training datasets, which hampers their generalization capabilities and effectiveness in this field. Recently, Large Language Models (LLMs) pre-trained on extensive corpora have demonstrated superior performance across various NLP tasks due to their commendable zero-shot abilities. Yet, directly applying LLMs to financial sentiment analysis presents challenges: The discrepancy between the pre-training objective of LLMs and predicting the sentiment label can compromise their predictive performance. Furthermore, the succinct nature of financial news, often devoid of sufficient context, can significantly diminish the reliability of LLMs' sentiment analysis. To address these challenges, we introduce a retrieval-augmented LLMs framework for financial sentiment analysis. This framework includes an instruction-tuned LLMs module, which ensures LLMs behave as predictors of sentiment labels, and a retrieval-augmentation module which retrieves additional context from reliable external sources. Benchmarked against traditional models and LLMs like ChatGPT and LLaMA, our approach achieves 15\% to 48\% performance gain in accuracy and F1 score. 2023-10-06T05:40:23Z ACM International Conference on AI in Finance (ICAIF) 2023 Boyu Zhang Hongyang Yang Tianyu Zhou Ali Babar Xiao-Yang Liu http://arxiv.org/abs/2207.04100v4 Dealing with multi-currency inventory risk in FX cash markets 2023-10-30T09:31:16Z In FX cash markets, market makers provide liquidity to clients for a wide variety of currency pairs. Because of flow uncertainty and market volatility, they face inventory risk. To mitigate this risk, they typically skew their prices to attract or divert the flow and trade with their peers on the dealer-to-dealer segment of the market for hedging purposes. This paper offers a mathematical framework to FX dealers willing to maximize their expected profit while controlling their inventory risk. Approximation techniques are proposed which make the framework scalable to any number of currency pairs. 2022-07-08T18:52:27Z Alexander Barzykin Philippe Bergault Olivier Guéant http://arxiv.org/abs/2204.08581v3 On Parametric Optimal Execution and Machine Learning Surrogates 2023-10-29T07:08:03Z We investigate optimal order execution problems in discrete time with instantaneous price impact and stochastic resilience. First, in the setting of linear transient price impact we derive a closed-form recursion for the optimal strategy, extending the deterministic results from Obizhaeva and Wang (J Financial Markets, 2013). Second, we develop a numerical algorithm based on dynamic programming and deep learning for the case of nonlinear transient price impact as proposed by Bouchaud et al. (Quant. Finance, 2004). Specifically, we utilize an actor-critic framework that constructs two neural-network (NN) surrogates for the value function and the feedback control. The flexible scalability of NN functional approximators enables parametric learning, i.e., incorporating several model or market parameters as part of the input space. Precise calibration of price impact, resilience, etc., is known to be extremely challenging and hence it is critical to understand sensitivity of the execution policy to these parameters. Our NN learner organically scales across multiple input dimensions and is shown to accurately approximate optimal strategies across a wide range of parameter configurations. We provide a fully reproducible Jupyter Notebook with our NN implementation, which is of independent pedagogical interest, demonstrating the ease of use of NN surrogates in (parametric) stochastic control problems. 2022-04-18T22:40:14Z 33 pages, 8 figures. Github repo at https://github.com/moritz-voss/Parametric_Optimal_Execution_ML Tao Chen Mike Ludkovski Moritz Voß