Page tree
Skip to end of metadata
Go to start of metadata

This topic explains the application of matching algorithms during trade execution on the CME Globex platform, which includes:

These matching algorithms support order management functionalities offered to market participants and ensure that each market participant is given the best possible execution at the fairest price.

Algorithmic Matching Process

All CME Globex Matching Algorithms are composed of one or more steps. The steps are followed in a particular order.

In the steps below, Price and Quantity (PQ) sources can be either resting quantity in the aggressed instrument, or implied quantity from a combination of orders in other instruments.

During a trade, quantity is distributed to one or more orders according to the rules of the step as follows:

  1. Apply incoming match quantity to the first step of the algorithm.
  2. Follow the rules of that step to distribute quantity to one or more orders.
  3. If any aggressing quantity remains unmatched, proceed to the next step of the algorithm.
  4. Apply remaining unmatched quantity to this next step of the algorithm.
  5. If any quantity remains unmatched, proceed to the next step of the algorithm and revert to step 4.
  6. Apply steps 4 and 5 as necessary until no unfilled quantity remains.

When the aggressing order quantity is greater than the entire resting quantity at a price level, a simplified algorithm is used for efficiency:

  1. Distribute quantity to resting orders in FIFO order.
  2. Remaining aggressing unmatched quantity becomes a new bid/offer at the appropriate price level.
  3. Remaining unmatched quantity is eligible to become TOP (if TOP conditions are met in a product that supports TOP).

See also:

Matching with Implied Quantity Rules

  1. No algorithm is applied more than once per instrument.
  2. An algorithm, once started, will not stop or reset.
  3. Algorithms follow the Algorithmic Matching Process rules outlined above in order.
  4. Implied quantity will never match with implied quantity.

Predetermination of Aggressing Quantity

A match begins with the entry of a new quote or order into the book of a specific instrument at a specific price, or as a market order. At this point CME Globex applies logic by checking two conditions as follows.

The first condition CME Globex determines is:

Q: Does the aggressing quantity fully satisfy all available quantity at the relevant price level(s)?

  • If YES, there is no need to use an algorithm since all orders will be filled. Distribute quantity to all orders in TIME priority basis.
  • If NO, use of an algorithm is required to distribute aggressing quantity to resting orders.
This check only includes displayed quantity of resting orders.

The second condition CME Globex determines is:

Q: Does the required algorithm include a Pro Rata component?

  • If YES, a predetermination step is required.
  • If NO, the algorithm can proceed without predetermination.

When the predetermination step is required, CME Globex does the following before running the algorithm to allocate lots to individual orders.

  1. Determine all PQ sources potentially eligible for aggressing quantity.
  2. Include the aggressed instrument as a PQ source.
  3. Treat each source as one large order quantity.
  4. Run the aggressing quantity against all steps of the relevant algorithm in order not including Leveling. Residual FIFO (unallocated left over quantity from a pro-rata distribution) is accounted for in step 6 below.
  5. At each step of the algorithm used in step 4, allocate quantity to each source as required. Do not allocate volume to individual orders.
    1. Example - an aggressed market has a Top order good for 20 lots. Remove 20 lots from the aggressing quantity and allocate it to the aggressed instrument source.
    2. Example - a source composed of a spread and an outright contributes 10% of the available volume of an aggressed instrument. During a Pro Rata step, allocate 10% of the aggressing quantity to the source.
  6. Pro Rata allocations are always rounded down, with any remainders getting added to sources on a FIFO basis.
  7. After completing the last step of the predetermination, sum all quantities allocated for each source.
  8. If the source is comprised of two instruments (as in step 5b), the volume is allocated to each instrument in like quantities.
    1. Example - a source composed of a spread and a leg receives 25 lots, therefore both the spread and the leg must each be allocated 25 lots.
  9. Predetermination is now complete.
  10. Now run the full algorithm (all steps, in order) once per instrument using the values calculated in step 5 through 8 as aggressing orders for the relative instruments.
  • No labels