https://arxiv.org/api/U8OV8jvYUQ+2VlxFxV3Ser0jz6U2026-06-20T09:45:50Z226343515http://arxiv.org/abs/2501.09636v2LLM-Based Routing in Mixture of Experts: A Novel Framework for Trading2025-01-17T11:44:53ZRecent advances in deep learning and large language models (LLMs) have facilitated the deployment of the mixture-of-experts (MoE) mechanism in the stock investment domain. While these models have demonstrated promising trading performance, they are often unimodal, neglecting the wealth of information available in other modalities, such as textual data. Moreover, the traditional neural network-based router selection mechanism fails to consider contextual and real-world nuances, resulting in suboptimal expert selection. To address these limitations, we propose LLMoE, a novel framework that employs LLMs as the router within the MoE architecture. Specifically, we replace the conventional neural network-based router with LLMs, leveraging their extensive world knowledge and reasoning capabilities to select experts based on historical price data and stock news. This approach provides a more effective and interpretable selection mechanism. Our experiments on multimodal real-world stock datasets demonstrate that LLMoE outperforms state-of-the-art MoE models and other deep neural network approaches. Additionally, the flexible architecture of LLMoE allows for easy adaptation to various downstream tasks.2025-01-16T16:25:30ZAccepted by AAAI 2025 Workshop on AI for Social Impact - Bridging Innovations in Finance, Social Media, and Crime PreventionKuan-Ming LiuMing-Chih Lohttp://arxiv.org/abs/2501.09404v1Agent-Based Simulation of a Perpetual Futures Market2025-01-16T09:19:08ZI introduce an agent-based model of a Perpetual Futures market with heterogeneous agents trading via a central limit order book. Perpetual Futures (henceforth Perps) are financial derivatives introduced by the economist Robert Shiller, designed to peg their price to that of the underlying Spot market. This paper extends the limit order book model of Chiarella et al. (2002) by taking their agent and orderbook parameters, designed for a simple stock exchange, and applying it to the more complex environment of a Perp market with long and short traders who exhibit both positional and basis-trading behaviors. I find that despite the simplicity of the agent behavior, the simulation is able to reproduce the most salient feature of a Perp market, the pegging of the Perp price to the underlying Spot price. In contrast to fundamental simulations of stock markets which aim to reproduce empirically observed stylized facts such as the leptokurtosis and heteroscedasticity of returns, volatility clustering and others, in derivatives markets many of these features are provided exogenously by the underlying Spot price signal. This is especially true of Perps since the derivative is designed to mimic the price of the Spot market. Therefore, this paper will focus exclusively on analyzing how market and agent parameters such as order lifetime, trading horizon and spread affect the premiums at which Perps trade with respect to the underlying Spot market. I show that this simulation provides a simple and robust environment for exploring the dynamics of Perpetual Futures markets and their microstructure in this regard. Lastly, I explore the ability of the model to reproduce the effects of biasing long traders to trade positionally and short traders to basis-trade, which was the original intention behind the market design, and is a tendency observed empirically in real Perp markets.2025-01-16T09:19:08Z37 pages, 11 figures, Minerva University Master of Science in Decision Analysis (MDA) ThesisRamshreyas Raohttp://arxiv.org/abs/2501.08822v1Deep Learning Meets Queue-Reactive: A Framework for Realistic Limit Order Book Simulation2025-01-15T14:19:20ZThe Queue-Reactive model introduced by Huang et al. (2015) has become a standard tool for limit order book modeling, widely adopted by both researchers and practitioners for its simplicity and effectiveness. We present the Multidimensional Deep Queue-Reactive (MDQR) model, which extends this framework in three ways: it relaxes the assumption of queue independence, enriches the state space with market features, and models the distribution of order sizes. Through a neural network architecture, the model learns complex dependencies between different price levels and adapts to varying market conditions, while preserving the interpretable point-process foundation of the original framework. Using data from the Bund futures market, we show that MDQR captures key market properties including the square-root law of market impact, cross-queue correlations, and realistic order size patterns. The model demonstrates particular strength in reproducing both conditional and stationary distributions of order sizes, as well as various stylized facts of market microstructure. The model achieves this while maintaining the computational efficiency needed for practical applications such as strategy development through reinforcement learning or realistic backtesting.2025-01-15T14:19:20ZHamza BodorLaurent Carlierhttp://arxiv.org/abs/2501.07828v1Automated Market Makers: Toward More Profitable Liquidity Provisioning Strategies2025-01-14T04:12:50ZTo trade tokens in cryptoeconomic systems, automated market makers (AMMs) typically rely on liquidity providers (LPs) that deposit tokens in exchange for rewards. To profit from such rewards, LPs must use effective liquidity provisioning strategies. However, LPs lack guidance for developing such strategies, which often leads them to financial losses. We developed a measurement model based on impermanent loss to analyze the influences of key parameters (i.e., liquidity pool type, position duration, position range size, and position size) of liquidity provisioning strategies on LPs' returns. To reveal the influences of those key parameters on LPs' profits, we used the measurement model to analyze 700 days of historical liquidity provision data of Uniswap v3. By uncovering the influences of key parameters of liquidity provisioning strategies on profitability, this work supports LPs in developing more profitable strategies.2025-01-14T04:12:50Z8 pages, submitted to The 40th ACM/SIGAPP Symposium on Applied Computing 2025Thanos DrossosDaniel KirsteNiclas KannengießerAli Sunyaev10.1145/3672608.3707833http://arxiv.org/abs/2501.07489v1How low-cost AI universal approximators reshape market efficiency2025-01-13T17:06:25ZThe efficient market hypothesis (EMH) famously stated that prices fully reflect the information available to traders. This critically depends on the transfer of information into prices through trading strategies. Traders optimise their strategy with models of increasing complexity that identify the relationship between information and profitable trades more and more accurately. Under specific conditions, the increased availability of low-cost universal approximators, such as AI systems, should be naturally pushing towards more advanced trading strategies, potentially making it harder and harder for inefficient traders to profit. In this paper, we leverage on a generalised notion of market efficiency, based on the definition of an equilibrium price process, that allows us to distinguish different levels of model complexity through investors' beliefs, and trading strategies optimisation, and discuss the relationship between AI-powered trading and the time-evolution of market efficiency. Finally, we outline the need for and the challenge of describing out-of-equilibrium market dynamics in an adaptive multi-agent environment.2025-01-13T17:06:25Z13 pagesPaolo BaruccaFlaviano Moronehttp://arxiv.org/abs/2501.07135v1Follow the Leader: Enhancing Systematic Trend-Following Using Network Momentum2025-01-13T08:53:44ZWe present a systematic, trend-following strategy, applied to commodity futures markets, that combines univariate trend indicators with cross-sectional trend indicators that capture so-called {\em momentum spillover}, which can occur when there is a lead-lag relationship between the trending behaviour of different markets. Our strategy utilises two methods for detecting lead-lag relationships, with a method for computing {\em network momentum}, to produce a novel trend-following indicator. We use our new trend indicator to construct a portfolio whose performance we compare to a baseline model which uses only univariate indicators, and demonstrate statistically significant improvements in Sharpe ratio, skewness of returns, and downside performance, using synthetic bootstrapped data samples taken from time-series of actual prices.2025-01-13T08:53:44ZLinze LiWilliam Ferreirahttp://arxiv.org/abs/2501.06032v1A Modern Paradigm for Algorithmic Trading2025-01-10T15:11:06ZWe introduce a novel framework for developing fully-automated trading model algorithms. Unlike the traditional approach, which is grounded in analytical complexity favored by most quantitative analysts, we propose a paradigm shift that embraces real-world complexity. This approach leverages key concepts relating to self-organization, emergence, complex systems theory, scaling laws, and utilizes an event-based reframing of time. In closing, we describe an example algorithm that incorporates the outlined elements, called the Delta Engine.2025-01-10T15:11:06Z6 pagesJames B. GlattfelderThomas HouwelingRichard B. Olsenhttp://arxiv.org/abs/2501.05299v1Time-Varying Bidirectional Causal Relationships Between Transaction Fees and Economic Activity of Subsystems Utilizing the Ethereum Blockchain Network2025-01-09T15:03:05ZThe Ethereum blockchain network enables transaction processing and smart-contract execution through levies of transaction fees, commonly known as gas fees. This framework mediates economic participation via a market-based mechanism for gas fees, permitting users to offer higher gas fees to expedite pro-cessing. Historically, the ensuing gas fee volatility led to critical disequilibria between supply and demand for block space, presenting stakeholder challenges. This study examines the dynamic causal interplay between transaction fees and economic subsystems leveraging the network. By utilizing data related to unique active wallets and transaction volume of each subsystem and applying time-varying Granger causality analysis, we reveal temporal heterogeneity in causal relationships between economic activity and transaction fees across all subsystems. This includes (a) a bidirectional causal feedback loop between cross-blockchain bridge user activity and transaction fees, which diminishes over time, potentially signaling user migration; (b) a bidirectional relationship between centralized cryptocurrency exchange deposit and withdrawal transaction volume and fees, indicative of increased competition for block space; (c) decentralized exchange volumes causally influence fees, while fees causally influence user activity, although this relationship is weakening, potentially due to the diminished significance of decentralized finance; (d) intermittent causal relationships with maximal extractable value bots; (e) fees causally in-fluence non-fungible token transaction volumes; and (f) a highly significant and growing causal influence of transaction fees on stablecoin activity and transaction volumes highlight its prominence.2025-01-09T15:03:05Z52 pages, 4 tables, 9 figuresJournal Of Risk and Financial Management, 17(1), 19 (2024)Lennart AnteAman Saggu10.3390/jrfm17010019http://arxiv.org/abs/2501.05232v1The Intraday Bitcoin Response to Tether Minting and Burning Events: Asymmetry, Investor Sentiment, And "Whale Alerts" On Twitter2025-01-09T13:39:22ZTether Limited has the sole authority to create (mint) and destroy (burn) Tether stablecoins (USDT). This paper investigates Bitcoin's response to USDT supply change events between 2014 and 2021 and identifies an interesting asymmetry between Bitcoin's responses to USDT minting and burning events. Bitcoin responds positively to USDT minting events over 5- to 30-minute event windows, but this response begins declining after 60 minutes. State-dependence is also demonstrated, with Bitcoin prices exhibiting a greater increase when the corresponding USDT minting event coincides with positive investor sentiment and is announced to the public by data service provider, Whale Alert, on Twitter.2025-01-09T13:39:22Z18 pages, 5 tablesFinance Research Letters, 49, 103096 (2022)Aman Saggu10.1016/j.frl.2022.103096http://arxiv.org/abs/2307.08768v4Decentralized Prediction Markets and Sports Books2025-01-08T19:58:15ZPrediction markets allow traders to bet on potential future outcomes. These markets exist for weather, political, sports, and economic forecasting. Within this work we consider a decentralized framework for prediction markets using automated market makers (AMMs). Specifically, we construct a liquidity-based AMM structure for prediction markets that, under reasonable axioms on the underlying utility function, satisfy meaningful financial properties on the cost of betting and the resulting pricing oracle. Importantly, we study how liquidity can be pooled or withdrawn from the AMM and the resulting implications to the market behavior. In considering this decentralized framework, we additionally propose financially meaningful fees that can be collected for trading to compensate the liquidity providers for their vital market function.2023-07-17T18:29:01ZHamed AminiMaxim BichuchZachary Feinsteinhttp://arxiv.org/abs/2309.00632v2Improving Capital Efficiency and Impermanent Loss: Multi-Token Proactive Market Maker2025-01-07T18:20:32ZCurrent approaches to the cryptocurrency automated market makers result in poor impermanent loss and capital efficiency. We analyze the mechanics underlying DODO Exchange's proactive market maker (PMM) to probe for solutions to these issues, leading to our key insight of multi-token trading pools. We explore this paradigm primarily through the construction of a generalization of PMM, the multi-token token proactive market maker (MPMM). We show via simulations that MPMM has better impermanent loss and capital efficiency than comparable market makers under a variety of market scenarios. We also test multi-token generalizations of other common 2-token pool market makers. Overall, this work demonstrates several advantages of multi-token pools and introduces a novel multi-token pool market maker.2023-08-17T22:09:08ZWayne ChenSongwei ChenPreston Rozwoodhttp://arxiv.org/abs/2407.17401v3Estimation of bid-ask spreads in the presence of serial dependence2025-01-06T11:14:28ZStarting from a basic model in which the dynamic of the transaction prices is a geometric Brownian motion disrupted by a microstructure white noise, corresponding to the random alternation of bids and asks, we propose moment-based estimators along with their statistical properties. We then make the model more realistic by considering serial dependence: we assume a geometric fractional Brownian motion for the price, then an Ornstein-Uhlenbeck process for the microstructure noise. In these two cases of serial dependence, we propose again consistent and asymptotically normal estimators. All our estimators are compared on simulated data with existing approaches, such as Roll, Corwin-Schultz, Abdi-Ranaldo, or Ardia-Guidotti-Kroencke estimators.2024-07-24T16:26:20ZXavier BroutyMatthieu GarcinHugo Roccarohttp://arxiv.org/abs/2304.07108v3Mean-field equilibrium price formation with exponential utility2025-01-06T01:37:36ZIn this paper, using the mean-field game theory, we study a problem of equilibrium price formation among many investors with exponential utility in the presence of liabilities unspanned by the security prices. The investors are heterogeneous in their initial wealth, risk-averseness parameter, as well as stochastic liability at the terminal time. We characterize the equilibrium risk-premium process of the risky stocks in terms of the solution to a novel mean-field backward stochastic differential equation (BSDE), whose driver has quadratic growth both in the stochastic integrands and in their conditional expectations. We prove the existence of a solution to the mean-field BSDE under several conditions and show that the resultant risk-premium process actually clears the market in the large population limit.2023-04-14T12:57:14ZForthcoming in Stochastics and Dynamics. 30 pagesMasaaki FujiiMasashi Sekinehttp://arxiv.org/abs/2412.19245v1Sentiment trading with large language models2024-12-26T15:01:24ZWe investigate the efficacy of large language models (LLMs) in sentiment analysis of U.S. financial news and their potential in predicting stock market returns. We analyze a dataset comprising 965,375 news articles that span from January 1, 2010, to June 30, 2023; we focus on the performance of various LLMs, including BERT, OPT, FINBERT, and the traditional Loughran-McDonald dictionary model, which has been a dominant methodology in the finance literature. The study documents a significant association between LLM scores and subsequent daily stock returns. Specifically, OPT, which is a GPT-3 based LLM, shows the highest accuracy in sentiment prediction with an accuracy of 74.4%, slightly ahead of BERT (72.5%) and FINBERT (72.2%). In contrast, the Loughran-McDonald dictionary model demonstrates considerably lower effectiveness with only 50.1% accuracy. Regression analyses highlight a robust positive impact of OPT model scores on next-day stock returns, with coefficients of 0.274 and 0.254 in different model specifications. BERT and FINBERT also exhibit predictive relevance, though to a lesser extent. Notably, we do not observe a significant relationship between the Loughran-McDonald dictionary model scores and stock returns, challenging the efficacy of this traditional method in the current financial context. In portfolio performance, the long-short OPT strategy excels with a Sharpe ratio of 3.05, compared to 2.11 for BERT and 2.07 for FINBERT long-short strategies. Strategies based on the Loughran-McDonald dictionary yield the lowest Sharpe ratio of 1.23. Our findings emphasize the superior performance of advanced LLMs, especially OPT, in financial market prediction and portfolio management, marking a significant shift in the landscape of financial analysis tools with implications to financial regulation and policy analysis.2024-12-26T15:01:24ZFinance Research Letters, 62, p.105227 (2024)Kemal KirtacGuido Germano10.1016/j.frl.2024.105227http://arxiv.org/abs/2412.18580v1A mathematical framework for modelling CLMM dynamics in continuous time2024-12-24T18:15:51ZThis paper develops a rigorous mathematical framework for analyzing Concentrated Liquidity Market Makers (CLMMs) in Decentralized Finance (DeFi) within a continuous-time setting. We model the evolution of liquidity profiles as measure-valued processes and characterize their dynamics under continuous trading. Our analysis encompasses two critical aspects of CLMMs: the mechanics of concentrated liquidity provision and the strategic behavior of arbitrageurs. We examine three distinct arbitrage models -- myopic, finite-horizon, and infinite-horizon with discounted and ergodic controls -- and derive closed-form solutions for optimal arbitrage strategies under each scenario. Importantly, we demonstrate that the presence of trading fees fundamentally constrains the admissible price processes, as the inclusion of fees precludes the existence of diffusion terms in the price process to avoid infinite fee generation. This finding has significant implications for CLMM design and market efficiency.2024-12-24T18:15:51Z31 pages, 7 figuresShen-Ning TungTai-Ho Wang