Skip to main content
The Arbitrage Executor captures price discrepancies between markets by simultaneously executing buy and sell orders, particularly useful for CEX-DEX arbitrage.

Overview

Configuration

Parameters

How It Works

  1. Validation: Confirms trading pairs are interchangeable
  2. Price Comparison: Monitors prices on both markets
  3. Profitability Check: Calculates profit after all fees
  4. Simultaneous Execution: Places both orders when profitable
  5. Tracking: Records fill prices and actual profit

CEX-DEX Arbitrage

Common use case is arbitraging between centralized and decentralized exchanges:

Token Interchangeability

The executor validates tokens are equivalent:

Profitability Formula

Example: Polygon MATIC Arbitrage

Considerations