Hong Kong Stock Automatic Order Matching System: A Comprehensive Breakdown of AMS/3 and Trade Matching Mechanisms
From AMS/3 to OTP-C: Understand Hong Kong Exchange's automated matching system evolution, price-time priority principles, and order types—auction and enhanced limits—to master HK equity trade mechanics.
TL;DR: Hong Kong's automatic order matching system is responsible for matching buy and sell orders. The third-generation system AMS/3, launched in 2000, was replaced by the Orion Trading Platform - Central (OTP-C) in 2018. However, both systems share the same matching logic, with "price priority, time priority" as the core principle. Understanding how Hong Kong stock order matching works helps investors master order timing and choose the right order types.
Every time you press "buy" or "sell" on an application, a computer system instantly processes numerous buy and sell orders and completes the matching. This is the core of Hong Kong stock order matching: the automatic order matching system. The Hong Kong Exchanges and Clearing Limited (HKEX) launched the third-generation Automatic Order Matching and Execution System (AMS/3) in 2000, which was later replaced by the Orion Trading Platform - Central (OTP-C) in 2018. However, the design philosophy of the matching rules has largely continued to this day. The following section breaks down the background of AMS/3, the matching mechanism, and common order types.
What is an Automatic Order Matching System?
An automatic order matching system is a computer system used by exchanges to process buy and sell orders and match transactions according to preset rules. During the era of open outcry, traders had to announce buy and sell orders in the trading pit using verbal calls or hand signals, which had limited efficiency. As the market scale expanded, the Hong Kong Exchanges and Clearing Limited gradually electronified the trading process, allowing buy and sell orders to be directly input into the system and automatically matched.
Core Functions of the Matching System
The system matches buy orders with sell orders based on the price, quantity, and time input by investors, according to a priority sequence, while also disseminating real-time market quotes to the market.
From AMS to AMS/3
The Hong Kong Exchanges and Clearing Limited first introduced the Automatic Order Matching and Execution System (AMS) in 1993. From 1996 onwards, it allowed brokers to input orders outside the trading pit through office terminals, and upgraded to AMS/3 in October 2000. AMS/3 introduced an open interface that allowed exchange participants to directly connect their internal systems, marking an important milestone in the electronification of Hong Kong stocks (Source: HKEX Trading Hall Fact Sheet).
Development History and Retirement of AMS/3
After its launch, AMS/3 underwent multiple upgrades. The final version, AMS/3.8, was released in December 2011 and could process 30,000 buy and sell orders per second (Source: HKEX Press Release). As trading volume increased, the old system's processing capacity was approaching its limit.
Handover to OTP-C
In February 2018, the Hong Kong Exchanges and Clearing Limited replaced AMS/3.8 with the Orion Trading Platform - Central (OTP-C), stating that this marked the final phase of Hong Kong's securities market infrastructure upgrade project (Source: HKEX Press Release). Currently, Hong Kong stock order matching is handled by OTP-C, and AMS/3 is now a historical concept. However, its matching principles remain the foundation for understanding the current mechanism.
Capacity Doubled
According to HKEX data, OTP-C was initially designed to process up to 60,000 order instructions per second, doubling the capacity of AMS/3.8 (Source: HKEX Press Release).

Matching Mechanism: Price and Time Priority Principle
Whether using AMS/3 or the current OTP-C, the core matching logic is based on "price priority, time priority": buy and sell orders with better prices are matched first. When prices are the same, orders are arranged according to the sequence of input, with earlier input orders fully executed first before the system processes later input orders at the same price (Source: HKEX Trading Mechanism).
Three Trading Sessions
A Hong Kong stock trading day consists of the pre-opening session, the continuous trading session, and the closing auction session. The pre-opening session is primarily for price discovery and only accepts opening/closing auction orders and auction limit orders. The continuous trading session is the main trading period. The closing auction session only applies to designated securities and allows investors to place orders within a range of 5% above and below the closing reference price.
Common Order Types
Opening/Closing Auction Orders and Auction Limit Orders
Opening/closing auction orders are exclusive to the pre-opening and closing auction sessions and have no specified price. They are matched first based on the final reference equilibrium price. Auction limit orders have a specified price and are arranged according to price and time sequence.
Enhanced Limit Orders and Special Limit Orders
The continuous trading session accepts limit orders, enhanced limit orders, and special limit orders. Enhanced limit orders can be matched with up to ten price queues simultaneously. The unexecuted portion is converted to a limit order and continues to wait in queue. Special limit orders can also be matched across multiple price levels, but the unexecuted portion is directly cancelled by the system. For details, please refer to Limit Orders vs. Market Orders: Making Your Choice for Options Execution.
Significance of Matching Mechanism for Investors
Order Timing Affects Execution Efficiency
During the continuous trading session, orders are strictly prioritized by time. Buy and sell orders entered earlier at the same price are processed first. Order placement speed and system latency can both affect execution.
Settlement Cannot Be Overlooked
After buy and sell orders are matched, transactions must be settled on the second business day after the trade date (T+2). Capital movements should take the settlement date into consideration. For basic Hong Kong stock trading rules, please refer to Hong Kong Stock Investment Beginner's Guide.
Tip: The matching mechanism itself does not affect the direction of stock price movements. Price movements are still determined by market supply and demand and investor sentiment. The system is only responsible for fairly and efficiently matching buyers and sellers.
By tracking real-time price changes using market data tools, you can better understand market depth. Longbridge Securities' Market Data Services provide real-time quotes and order book information.
Summary
Hong Kong's automatic order matching system has evolved from the early AMS/3 to the current OTP-C, and has always been the core infrastructure supporting fair market operations. The matching principle of "price priority, time priority" runs throughout. Understanding the characteristics of different order types helps you make order placement choices that better suit your needs. The choice of which tool to use depends on your investment goals, risk tolerance, market outlook, and experience level. You must fully understand its operation mechanism, risk characteristics, and trading rules, and establish a comprehensive risk management plan. You can learn more about investment knowledge through Longbridge Academy or download the Longbridge App.
Frequently Asked Questions
Related Courses
Hong Kong Stock Investment Discipline: A Practical Framework for Developing Effective Trading Plans
From Entry to Exit: A Comprehensive Framework for Hong Kong Stock Trading Plans—Essential Steps and Tools for Stop-Loss and Profit-Taking Management
Identity Documentation Requirements for Opening Hong Kong Stock Accounts: A Comparative Guide for Residents vs. Non-Residents
Decoding Account Opening Procedures: Essential Differences in Identity Documentation, Address Verification, and Account Opening Requirements for Hong Kong and Non-Hong Kong Residents
Hong Kong Stock Account Opening Document Checklist: Essential Credentials and Preparation Guide
Complete Guide to Hong Kong Stock Account Opening: Essential Documentation Checklist from Identity and Address Verification to Bank Account Information - Common Preparation Mistakes to Avoid and How to Expedite Your Application Approval
Hong Kong Stock Joint Accounts Explained: Your Complete Guide to Couples' Investment Process and Key Considerations
Navigating Couples' Joint Hong Kong Stock Investment: Understanding Single and Double Signature Requirements, Account Documentation, and Risk Disclosures
Hong Kong Stock Settlement Fees Decoded: Understanding CCASS Charging Standards
Understanding the Calculation Logic of Hong Kong Stock Settlement Fees: From Central Clearing System Operations to Latest Rate Adjustments
Order Types Explained: Limit Orders and Market Orders—Differences and Strategic Applications
# Decoding Hong Kong Stock Order Types: How Limit Orders, Market Orders, and Auction Orders Work—Make Informed Trading Decisions
