Batch auctions are a classical market microstructure, acclaimed for their fairness properties, and have received renewed interest in the context of blockchain-based financial systems. Constant function market makers (CFMMs) are another market design innovation praised for their computational simplicity and applicability to liquidity provision via smart contracts. Liquidity provision in batch exchanges is an important problem, and CFMMs have recently shown promise in being useful within batch exchanges. Different real-world implementations have used fundamentally different approaches towards integrating CFMMs in batch exchanges, and there is a lack of formal understanding of different design tradeoffs. We first provide a minimal set of axioms that are well-accepted rules of batch exchanges and CFMMs. These are asset conservation, uniform valuations, a best response for limit orders, and non-decreasing CFMM trading function. In general, many market solutions may satisfy all our axioms. We then describe several economically useful properties of market solutions. These include Pareto optimality for limit orders, price coherence of CFMMs (as a defence against cyclic arbitrage), joint price discovery for CFMMs (as a defence against parallel running), path independence for simple instances, and a locally computable response of the CFMMs in equilibrium (to provide them predictability on trade size given a market price). We show fundamental conflicts between some pairs of these properties. We then provide two ways of integrating CFMMs in batch exchanges, which attain different subsets of these properties. We further provide a convex program for computing Arrow-Debreu exchange market equilibria when all agents have weak gross substitute (WGS) demand functions on two assets -- this program extends the literature on Arrow-Debreu exchange markets and may be of independent interest.
翻译:批量拍卖是一种经典的微观市场结构,以其公平性著称,并在基于区块链的金融系统中重新受到关注。常数函数做市商(CFMM)是另一种市场设计创新,因其计算简洁性和通过智能合约提供流动性的适用性而备受赞誉。批量交易所中的流动性供给是一个重要问题,而CFMM近期在批量交易所中展现了应用潜力。不同实际实现采用了根本不同的方法将CFMM集成到批量交易所中,但目前缺乏对不同设计权衡的正式理解。我们首先提出一组最小公理,这些是批量交易所和CFMM公认的基本规则,包括资产守恒、统一估值、限价订单的最优反应以及CFMM交易函数的非递减性。一般而言,许多市场解决方案可能满足我们所有公理。随后,我们描述了市场解决方案的若干经济实用特性,包括限价订单的帕累托最优性、CFMM的价格一致性(以防范循环套利)、CFMM的联合价格发现(以防范并行运行)、简单实例的路径独立性,以及CFMM在均衡中的局部可计算响应(从而在给定市场价格时提供交易规模的可预测性)。我们证明了这些特性中某些组合之间存在根本性冲突。接着,我们提供了两种将CFMM集成到批量交易所的方法,这些方法分别实现了这些特性的不同子集。此外,我们提出了一个凸规划,用于计算当所有代理对两种资产具有弱总替代(WGS)需求函数时的阿罗-德布鲁交换市场均衡——该规划扩展了阿罗-德布鲁交换市场的文献,并可能具有独立的研究价值。