The Case of FBA as a DEX Processing Model
- URL: http://arxiv.org/abs/2302.01177v5
- Date: Sun, 16 Feb 2025 02:03:20 GMT
- Title: The Case of FBA as a DEX Processing Model
- Authors: Tiantian Gong, Zeyu Liu, Aniket Kate,
- Abstract summary: Continuous processing matches each incoming transaction against the current order book.
discrete processing executes transactions discretely in batches with a uniform price double auction.
We find that imposes less welfare loss and provides better liquidity than continuous processing in typical scenarios.
- Score: 10.997808313373675
- License:
- Abstract: We investigate the welfare loss of continuous and discrete order matching models in blockchain-based decentralized exchanges (DEX) that utilize order books to record outstanding orders. Continuous processing matches each incoming transaction against the current order book. The discrete processing model, i.e., frequent batch auction (FBA), executes transactions discretely in batches with a uniform price double auction: Orders are first matched according to price, then the exact transaction order if competing orders specify the same price. We find that FBA imposes less welfare loss and provides better liquidity than continuous processing in typical scenarios, e.g., when few parties are privately informed about asset valuations. Even otherwise, it achieves better social welfare and liquidity provision in the following settings: when price takers and public information reflecting asset value changes arrive sufficiently frequently compared to private information, when the priority fees (for faster transaction inclusion into blockchains) are small, or when the market is more balanced on both buy and sell sides. Our empirical analysis on the BTC-USD and ETH-USD transactions on a DEX named dYdX indicates that FBA can reduce transaction costs by $21\%-37\%$.
Related papers
- Self-Attention Mechanism in Multimodal Context for Banking Transaction Flow [0.0]
Banking Transaction Flow (BTF) is a sequential data composed of three modalities: a date, a numerical value and a wording.
We trained two general models on a large amount of BTFs in a self-supervised way.
The performance of these two models was evaluated on two banking downstream tasks: a transaction categorization task and a credit risk task.
arXiv Detail & Related papers (2024-10-10T08:13:39Z) - Scalable UTXO Smart Contracts via Fine-Grained Distributed State [0.8192907805418581]
UTXO-based smart contract platforms face an efficiency bottleneck.
Any transaction sent to a contract must specify the entire updated contract state.
We propose a technique to efficiently execute smart contracts on an extended UTXO blockchain.
arXiv Detail & Related papers (2024-06-11T20:28:27Z) - Don't Let MEV Slip: The Costs of Swapping on the Uniswap Protocol [0.17999333451993949]
We present the first empirical characterization of the costs of trading on a decentralized exchange (DEX)
Using quoted prices from the Uniswap Labs interface, we evaluate the efficiency of trading on DEXs.
Our results provide preliminary evidence that DEXs offer a compelling trust-less alternative to centralized exchanges for trading digital assets.
arXiv Detail & Related papers (2023-09-24T14:22:15Z) - Diffusion Variational Autoencoder for Tackling Stochasticity in
Multi-Step Regression Stock Price Prediction [54.21695754082441]
Multi-step stock price prediction over a long-term horizon is crucial for forecasting its volatility.
Current solutions to multi-step stock price prediction are mostly designed for single-step, classification-based predictions.
We combine a deep hierarchical variational-autoencoder (VAE) and diffusion probabilistic techniques to do seq2seq stock prediction.
Our model is shown to outperform state-of-the-art solutions in terms of its prediction accuracy and variance.
arXiv Detail & Related papers (2023-08-18T16:21:15Z) - Learning Multi-Agent Intention-Aware Communication for Optimal
Multi-Order Execution in Finance [96.73189436721465]
We first present a multi-agent RL (MARL) method for multi-order execution considering practical constraints.
We propose a learnable multi-round communication protocol, for the agents communicating the intended actions with each other.
Experiments on the data from two real-world markets have illustrated superior performance with significantly better collaboration effectiveness.
arXiv Detail & Related papers (2023-07-06T16:45:40Z) - Blockchain Large Language Models [65.7726590159576]
This paper presents a dynamic, real-time approach to detecting anomalous blockchain transactions.
The proposed tool, BlockGPT, generates tracing representations of blockchain activity and trains from scratch a large language model to act as a real-time Intrusion Detection System.
arXiv Detail & Related papers (2023-04-25T11:56:18Z) - Uniswap Liquidity Provision: An Online Learning Approach [49.145538162253594]
Decentralized Exchanges (DEXs) are new types of marketplaces leveraging technology.
One such DEX, Uniswap v3, allows liquidity providers to allocate funds more efficiently by specifying an active price interval for their funds.
This introduces the problem of finding an optimal strategy for choosing price intervals.
We formalize this problem as an online learning problem with non-stochastic rewards.
arXiv Detail & Related papers (2023-02-01T17:21:40Z) - Optimal Settings for Cryptocurrency Trading Pairs [2.0536599169058554]
The goal of cryptocurrencies is decentralization.
There is no default currency of denomination (fiat)
It is impractical to set up a trading market between every two currencies.
arXiv Detail & Related papers (2022-10-20T02:37:01Z) - Post trade allocation: how much are bunched orders costing your
performance? [0.0]
This paper is the first systematic treatment of trade allocation risk.
We shed light on the reasons for return divergence among accounts.
We present a solution that supports uniform allocation irrespective of return of number of accounts and trade sizes.
arXiv Detail & Related papers (2022-10-13T20:31:19Z) - Jointly Modeling Intra- and Inter-transaction Dependencies with
Hierarchical Attentive Transaction Embeddings for Next-item Recommendation [43.09242534398912]
A transaction-based recommender system (TBRS) aims to predict the next item by modeling dependencies in transactional data.
Most existing methods recommend next item by only modeling the intra-transaction dependency within the current transaction.
We propose a novel hierarchical attentive transaction embedding (HATE) model to tackle these issues.
arXiv Detail & Related papers (2020-05-30T14:04:19Z) - A Deep Reinforcement Learning Framework for Continuous Intraday Market
Bidding [69.37299910149981]
A key component for the successful renewable energy sources integration is the usage of energy storage.
We propose a novel modelling framework for the strategic participation of energy storage in the European continuous intraday market.
An distributed version of the fitted Q algorithm is chosen for solving this problem due to its sample efficiency.
Results indicate that the agent converges to a policy that achieves in average higher total revenues than the benchmark strategy.
arXiv Detail & Related papers (2020-04-13T13:50:13Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.