Matching Engine
Last updated
Last updated
The Matching Engine is a programmed matching algorithm to execute intent-based orders. It is a key component of the Quotex Intent-Based Architecture, working within the Unified Order Network. Its main function is to find the best routes to execute intent-based transactions.
There are three types of order matching within the Quotex Architecture:
Order-to-Order (Mirror Order). The Automated algorithm of Matching Engine executes opposite orders of different users against each other;
Order-to-Resolver. The Matching Engine proposes an order to a pool of resolvers, who then compete to execute the order at the most favorable price for the user;
Complex Match.This involves two or more resolvers executing the order. Or a mirror order may be executed partially, with one or more resolvers completing the rest of the order.
The logic behind the matching algorithm ensures users enjoy the most favorable conditions for their trades, prioritizing: (i) price; (ii) slippage; (iii) execution time; and (iv) execution integrity. The algorithm takes all these details into account to find the most efficient path for executing intent-based orders.
Based on these priorities, the algorithm typically executes transactions in the following order:
Order-to-Order (Mirror Order). The cheapest, most efficient, and fastest type of trade for users.
Order-to-Resolver. Resolvers compete on price to execute the order, providing the best price for the user.
Complex Orders. These require more than one transaction, resulting in higher execution costs.