Submitted:
29 April 2026
Posted:
01 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Proposes a decentralized data trading approach based on the AMM mechanism, aiming to break through the bottlenecks in data trading efficiency and fairness via the collaborative innovation of market-oriented pricing mechanisms and automated trading processes. This establishes a novel decentralized trading paradigm for data assets, extending the application boundaries of the Decentralized Finance (DeFi) key mechanism to non-financial trading scenarios.
- Innovatively constructs an automated pricing and trading matching mechanism based on a liquidity pool. Through mathematical modeling and simulation experiments, it quantitatively analyzes the generation mechanism of slippage in data liquidity pools when coping with transaction shocks and buy-sell disequilibrium. The findings reveal that liquidity shocks induced by block trades and temporal mismatches arising from buy-sell disequilibrium constitute the primary root causes of pronounced slippage volatility in data trading.
- Innovatively proposes a dual slippage optimization mechanism integrating dynamic trade splitting and alternating order sorting, featuring a liquidity pool state-aware dynamic trade splitting and alternating order sorting execution engine. This achieves stable control of slippage in block trades scenarios.
2. Related Work
2.1. Development of Data Trading Market
2.2. AMM Mechanism
2.3. Slippage in Data Trading
2.4. Research Gaps and Breakthroughs
3. Data Trading Model and Slippage Mechanism Analysis Based on AMM
3.1. Data Trading Liquidity Pool Model Construction
3.1.1. Trading Model
3.1.2. Pricing Mechanisms
3.1.3. Definition of Slippage
3.2. Analysis of Slippage Mechanisms and Influencing Factors
3.2.1. Impact of Block Trade on Slippage
3.2.2. Impact of Buy-Sell Equilibrium on Slippage
3.3. Design and Implementation of Slippage Optimization Algorithm
3.3.1. Design Methodology
- Collection of Trading Requests: Data traders may continuously submit trading requests to the data trading pool within a specified trading time window, and all requests initiated within this window will be collected.
- Processing of Trading Requests: Once the time window closes, the system will begin processing all collected trading requests. The processing involves two main steps: block trade splitting and trading sorting. First, block trades, defined as those exceeding 1% of the current token supply in the trading pool, are split. Each split will be made according to 1% of the liquidity of the trading pool to minimize the impact of block trades on the market price. Second, all trades will be sorted to achieve buy-sell equilibrium. This is achieved by using two arrays to store buy and sell orders respectively, and the system alternately selects trades from the buy and sell order arrays to populate the result arrays.
- Execution of Trading: After processing the trading requests, the system executes all trades in the result array sequentially, ensuring orderly trade execution while minimizing slippage.
3.3.2. Dynamic Trade Splitting Algorithm for Slippage Reduction
| Algorithm 1: Check and Split | |
| 1: | Input:simpleSwapAddress, token, tokenAddress, user, volumeToTrade, balanceToken |
| 2: | Output:trades |
| 3: | |
| 4: | then |
| 5: | |
| 6: | do |
| 7: | |
| 8: | |
| 9: | |
| 10 | |
| 11 | |
| 12 | end while |
| 13 | else |
| 14 | |
| 15 | endif |
3.3.3. Alternating Order Sorting Algorithm for Slippage Stabilization
| Algorithm 2: Balance Buys and Sells | |
| 1: | Input:trades |
| 2: | Output:balancedTrades |
| 3: | |
| 4: | fortrade in tradesdo |
| 5: | iftrade.tokenAddress = ENCYTokenAddressthen |
| 6: | buys.append(trade) |
| 7: | else iftrade.tokenAddress = mtkTokenAddressthen |
| 8: | sells.append(trade) |
| 9: | end if |
| 10 | end for |
| 11 | |
| 12 | do |
| 13 | balancedTrades.append(buys.pop(0)) |
| 14 | balancedTrades.append(sells.pop(0)) |
| 15 | endwhile |
| 16 | balancedTrades.append(buys) |
| 17 | balancedTrades.append(sells) |
| 18 | returnbalancedTrades |
4. Experimental Evaluation
4.1. Experimental Setting
4.2. Comparative Slippage Results
4.3. Evaluation Conclusions
5. Conclusion and the Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Ren, M.; Wang, W.; Zhou, W.; Liu, Y.; Yao, A.; Wen, L.; Gong, Y. Promoting the Data Element Marketization: Progress, Problems and Solution. Doc. Inf. Knowl. 2024, 41(5), 25–35. [Google Scholar] [CrossRef]
- Wang, W.; Zhang, M.; Wang, J. Research and Analysis of Big Data Trading Platforms at Home and Abroad. J. Intell. 2019, 38(2), 181–186+194. [Google Scholar]
- Hertzog, E.; Benartzi, G. Bancor protocol Continuous Liquidity for Cryptographic Tokens through their Smart Contracts. Available online: https: //cryptopapers.info/assets/pdf/ bancor.pdf (accessed on 2017).
- Adams, H.; Zinsmeister, N.; Salem, M.; Keefer, R.; Robinso, D. Uniswap v3 core. Available online: https://github.com/Uniswap/v3-core.
- Egorov, M. Stableswap: Efficient mechanism for stablecoin liquidity. Available online: https://www.stableswap.org/ (accessed on 2021).
- Auer, R. A.; Haslhofer, B.; Kitzler, S.; Saggese, P.; Victor, F. The technology of decentralized finance (DeFi). Digit. Financ. 2024, 6, 55–95. [Google Scholar] [CrossRef]
- Zhu, Y.; Ye, Y. Defining data assets based on the attributes of data. Big Data Res. 2018, 4(6), 65–76. [Google Scholar]
- Hu, D.; Li, Y.; Pan, L.; Li, M.; Zheng, S. A blockchain-based trading system for big data. Comput. Netw. 2021, 191, 107994. [Google Scholar] [CrossRef]
- Jiang, E.; Qin, B.; Wang, Q.; Wu, Q.; Li, S.; Shi, W.; Bi, Y.; Tang, W. BDTS: Blockchain-Based Data Trading System. Proceedings of Information and Communications Security (ICICS 2023), Berlin, Heidelberg, 20 Oct 2023; pp. 645–664. [Google Scholar] [CrossRef]
- Xue, L.; Ni, J.; Liu, D.; Lin, X.; Shen, X. Blockchain-Based Fair and Fine-Grained Data Trading With Privacy Preservation. IEEE Trans. Comput. 2023, 72(9), 2440–2453. [Google Scholar] [CrossRef]
- RapidAPI. API Marketplace. Available online: https://rapidapi.com/.
- Huang, J.; Li, J.; Tang, K. Data trust: a trustworthy data transaction model. Big Data Res. 2023, 9(2), 67–78. [Google Scholar]
- Azcoitia, S. A.; Laoutaris, N. A Survey of Data Marketplaces and Their Business Models. ArXiv 2201.04561. 2022. [Google Scholar] [CrossRef]
- Amazon Mechanical Turk. Amazon Mechanical Turk. Available online: https://www.mturk.com/.
- Tsai, W. -T.; He, J.; Wang, R.; Deng, E. Decentralized Digital-Asset Exchanges: Issues and Evaluation. Proceedings of 2020 3rd International Conference on Smart BlockChain (SmartBlock), Zhengzhou, China, 23-25 Oct 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Sang, Y.; Shen, H.; Tan, Y.; Xiong, N. Efficient protocols for privacy preserving matching against distributed datasets. Proceedings of Information and Communications Security: 8th International Conference (ICICS 2006), USA, 4-7 Dec 2006; pp. 210–227. [Google Scholar] [CrossRef]
- Chen, X.; Zhang, Z.; Qiu, A.; Xia, Z.; Xiong, N. Novel coverless steganography method based on image selection and StarGAN. IEEE Trans. Netw. Sci. Eng. 2020, 9(1), 219–230. [Google Scholar] [CrossRef]
- Li, D.; Guo, Q.; Bai, D.; Zhang, W. Research and Implementation on the Operation and Transaction System Based on Blockchain Technology for Virtual Power Plant. Proceedings of 2022 International Conference on Blockchain Technology and Information Security (ICBCTIS), Huaihua, China, 15-17 Jul 2022; pp. 165–170. [Google Scholar] [CrossRef]
- Dai, W.; Dai, C.; K Choo -K, R.; Cui, C.; Zou, D.; Jin, H. SDTE: A Secure Blockchain-Based Data Trading Ecosystem. IEEE Trans. Inf. Forensics Secur. 2020, 15, 725–737. [Google Scholar] [CrossRef]
- Xu, J.; Paruch, K.; Cousaert, S.; Feng, Y. SoK: Decentralized Exchanges (DEX) with Automated Market Maker (AMM) Protocols. ArXiv 2103.12732v7. 2023. [Google Scholar] [CrossRef]
- Park, A. The Conceptual Flaws of Decentralized Automated Market Making. Manag. Sci. 2023, 69(11), 6731–6751. [Google Scholar] [CrossRef]
- Hanson, R. Logarithmic Market Scoring Rules for Modular Combinatorial Information Aggregation. J. Predict. Mark. 2007, 1, 3–15. [Google Scholar] [CrossRef]
- Heimbach, L.; Wang, Y.; Wattenhofer, R. Behavior of Liquidity Providers in Decentralized Exchanges. ArXiv 2105.13822v2. 2021. [Google Scholar]
- Krishnamachari, B.; Feng, Q.; Grippo, E. Dynamic Curves for Decentralized Autonomous Cryptocurrency Exchanges. ArXiv 2101.02778. 2021. [Google Scholar]
- Buterin, V. Let’s run on-chain decentralized exchanges the way we run prediction markets. Available online: https://www.cleardao.com/docs/Clear%20Litepaper.pdf.
- Finance B Balancer. Available online: http://balancer.fi.
- Othman, A.; Pennock, D. M.; Reeves, D. M.; Sandholm, T. A Practical Liquidity-Sensitive Automated Market Maker. J. Predict. Mark. 2013, 1(3), 1–25. [Google Scholar] [CrossRef]
- Mohan, V. Automated market makers and decentralized exchanges: a DeFi primer. Financ. Innov. 2022, 8(20). [Google Scholar] [CrossRef]
- Jiang, S.; Chen, J.; Li, F.; Geng, H.; Chi, H. DCAMM: Dynamic Curve-Based Automated Market Maker. Proceedings of GLOBECOM 2023 IEEE Global Communications Conference, Kuala Lumpur, Malaysia, 04-08 Dec 2023; pp. 4491–4496. [Google Scholar] [CrossRef]
- Gu, Q.; Chang, Y.; Xiong, N.; Chen, L. Forecasting Nickel futures price based on the empirical wavelet transform and gradient boosting decision trees. Appl. Soft Comput. 2021, 109, 107472. [Google Scholar] [CrossRef]
- Heimbach, L.; Schertenleib, E.; Wattenhofer, R. Risks and Returns of Uniswap V3 Liquidity Providers. ArXiv 2205.08904v2. 2022. [Google Scholar]
- Berenzon, D. Constant function market makers: DeFi’s “zero to one” innovation. Available online: https://medium.com/bollinger-investment-group/constant-function-market-makers-defis-zero-to-one-innovation-968f77022159.
- Wang, S.; Krishnamachari, B. Optimal Trading on a Dynamic Curve Automated Market Maker. Proceedings of 2022 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Shanghai, China, 02 May 2022; pp. 1–5. [Google Scholar] [CrossRef]
- Egorov, M. Stableswap-efficient mechanism for stablecoin liquidity. Stableswap Foundation. Available online: https://stableswap.org.
- Wang, Y. Automated Market Makers for Decentralized Finance (DeFi). Available online: https://api.semanticscholar.org/CorpusID:221652658 (accessed on 2024).
- Xiong, N.; Vasilakos, A.; Yang, L.; Wang, C.; Kannan, R.; Chang, C.; Pan, Y. A novel self-tuning feedback controller for active queue management supporting TCP flows. Inf. Sci. 2020, 180(11), 2249–2263. [Google Scholar] [CrossRef]
- Li, S.; Chen, Y.; Chen, L.; Liao, J.; Kuang, C.; Li, K.; Liang, W.; Xiong, N. Post-quantum security: Opportunities and challenges. Sensors 2023, 23(21), 8744. [Google Scholar] [CrossRef] [PubMed]
- Sun, C.; Zhang, C.; Xiong, N. Infrared and Visible Image Fusion Techniques Based on Deep Learning: A Review. Electronics 2020, 9(12), 2162. [Google Scholar] [CrossRef]
- Guo, J.; Liu, A.; Ota, K.; Dong, M.; Deng, X.; Xiong, N. ITCN: An intelligent trust collaboration network system in IoT. IEEE Trans. Netw. Sci. Eng. 2021, 9(1), 203–218. [Google Scholar] [CrossRef]
- Shen, X.; Yi, B.; Liu, H.; Zhang, Z.; Liu, S.; Xiong, N. Deep Variational Matrix Factorization with Knowledge Embedding for Recommendation System. IEEE Trans. Knowl. Data Eng. 2021, 33(5), 1906–1918. [Google Scholar] [CrossRef]
- Yang, Y.; Xiong, N.; Chong, N. Y.; Défago, X. A decentralized and adaptive flocking algorithm for autonomous mobile robots. Proceedings of 2008 The 3rd International Conference on Grid and Pervasive Computing, Kunming, China, 25-28 May 2008; pp. 262–268. [Google Scholar] [CrossRef]
- Wang, X.; Li, Q.; Xiong, N.; Pan, Y. Ant colony optimization-based location-aware routing for wireless sensor networks. Wirel. Algorithms Syst. Appl. 2008, 109–120. [Google Scholar]
- Lim, T. Predictive crypto-asset automated market maker architecture for decentralized finance using deep reinforcement learning. Financ. Innov. 2024, 10(144). [Google Scholar] [CrossRef]











| Serial Number | Volume Ranges |
| 1 | 0.1–0.5% |
| 2 | 0.5–1% |
| 3 | 1–5% |
| 4 | 5–10% |
| 5 | 10–15% |
| 6 | 15–20% |
| Indicator name | Unoptimized | Optimized | Level of improvement |
| Average Slippage (%) | 2.1 | 0.5 | ↑76.2% |
| Slippage Standard Deviation (%) | 1.66 | 0.25 | ↑84.9% |
| Maximum Slippage (%) | 5.5 | 1.1 | ↑80% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.