DZap Documentation
  • 🌐Overview
  • Features
    • Aggregation
      • Usecases
      • Fee Structure
      • Chains, Bridge and Liquidity
      • Different Transaction Status
      • Price Imapct Handling
      • Technical Details
    • DCA
      • Creating Positions
      • Additional Actions
      • Swap properties
      • Fees
      • Supported Tokens
    • Zapping (Coming soon)
      • Use Cases
      • Liquidity Migration
      • Supported Routes
  • Protocol
    • Contract address
    • Dzap Aggregation API
    • Uniswap Permit V2
    • Backend API
  • Terms & Security
    • Troubleshooting & Self Serve Guide
    • Terms
    • Audit Reports
    • Privacy
    • Security
  • Tutorial
    • Batch Swap via DEX Aggregator
    • Batch swap via Bridge Aggregator
    • Minting LST from Any Chain
  • Socials
    • 🌐Website
    • 🐦Twitter
    • 👾Discord
    • Ⓜ️Medium
  • DZap SDK
    • Dollar Cost Averaging (DCA)
      • Overview
      • Installation
      • Quick Start
      • Usage Guide
      • Methods
      • Data Types
Powered by GitBook
On this page
  • Smart Order Routing
  • Multi-path Splitting
  • Pathfinder and Optimization
  1. Features
  2. Aggregation

Technical Details

Smart Order Routing

DZap’s aggregation engine leverages smart order routing to evaluate liquidity pools and trade routes in real-time. This involves sophisticated algorithms that consider multiple factors to ensure the most efficient execution of trades:

  • Price Impact: The algorithm calculates the potential impact of a trade on the price of an asset in a specific liquidity pool.

  • Available Liquidity: By evaluating the available liquidity across different pools, the engine can determine the optimal sources to fulfill an order, thereby reducing slippage and ensuring sufficient liquidity for larger trades.

  • Gas Fees: The algorithm also considers the gas fees associated with executing trades on different platforms, aiming to minimize transaction costs for users

Multi-path Splitting

Orders are dynamically split across multiple exchanges and liquidity sources. This reduces slippage, particularly for large trades, by distributing the trade volume in a way that minimizes the price impact on any single pool. The pathfinder component of DZap’s aggregation engine determines the optimal way to split an order.

Pathfinder and Optimization

The pathfinder component of DZap’s aggregation engine plays a critical role in identifying the most efficient routes for trades. It uses graph algorithms to map out potential paths and optimizes for factors such as execution speed, cost, and liquidity depth.

These technical components ensure that DZap’s aggregation engine provides users with the best possible execution of their trades, optimizing for price, liquidity, and transaction costs while facilitating seamless cross-chain operations.

PreviousPrice Imapct HandlingNextDCA

Last updated 9 months ago