Order matching system: Difference between revisions

Content deleted Content added
PBS (talk | contribs)
mNo edit summary
Adding local short description: "Electronic system in the stock market", overriding Wikidata description "method to execute buy and sell orders from participants in an exchange"
 
(29 intermediate revisions by 24 users not shown)
Line 1:
{{Short description|Electronic system in the stock market}}
An electronic '''order matching system''' matches buy and sell orders for a security on a [[stock market]] or [[commodity market]].
[[File:Deutsche-boerse-parkett-ffm008.jpg|thumb|right|Order matching at the heart of trading systems in [[Deutsche Börse]].]]
An '''order matching system''' or simply '''matching system''' is an electronic system that matches [[order (exchange)|buy and sell orders]] for a [[stock market]], [[commodity market]] or other [[financial exchange]]s. The order matching system is the core of all electronic [[Exchange (organized market)|exchanges]] and are used to execute orders from participants in the exchange.
 
Orders are usually entered by members of an exchange and executed by a central system that belongs to the exchange. The algorithm that is used to match orders varies from system to system and often involves rules around [[best execution]].<ref>{{cite web |url=httphttps://www.cmegroup.com/confluence/display/EPICSANDBOX/Supported+Matching+Algorithms |title=Supported Matching Algorithms |publisher=[http://www.cmegroup.com/ [CME Group]] |accessdateaccess-date=November 20152021-05-13}}</ref>
Electronic order matching was introduced in the early 1980s in the United States to supplement [[open outcry]] trading (for example the then Mid West Stock Exchange (now the [[Chicago Stock Exchange]]) launched the "MAX system, becoming one of the first stock exchanges to provide fully automated order execution" in 1982).<ref>{{cite web |url=http://www.chx.com/chx/history/ |title=History:Chicago Stock Exchange Historical Timeline|accessdate=November 2015}}</ref><ref>''Commodity Exchange Act Cea: Issues Related to the Regulation of Electronic Trading'' by Thomas J. McCool, Cecile O. Trop 2000 ISBN 0-7567-0329-8 page 18</ref>
 
InThe modernorder trading,matching thesystem orderand matchingimplied order system or Implication engine is often part of a larger [[electronic trading]] system which will usually include a [[settlement system]] and a [[central securities depository]] that are accessed by [[electronic trading platform]]s. These services may or may not be provided by the organisation that provides the order matching system.
Orders are usually entered by members of an exchange and executed by a central system that belongs to the exchange. The algorithm that is used to match orders varies from system to system.<ref>{{cite web |url=http://www.cmegroup.com/confluence/display/EPICSANDBOX/Matching+Algorithms |title=Matching Algorithms |publisher=[http://www.cmegroup.com/ CME Group]|accessdate=November 2015}}</ref>
 
The matching algorithms decide the efficiency and robustness of the order matching system. There are two states for a market: continuous trading where orders are matched immediately or auction where matching is done at fixed intervals. A common example when a matching system is used in auction state is at the market open when a number of orders have built up.
In modern trading, the order matching system is often part of a larger [[electronic trading]] system which will usually include a [[settlement system]] and a [[central securities depository]]. These services may or may not be provided by the organisation that provides the order matching system.
 
==History==
Electronic order matching was introduced in the early 1980s in the United States to supplement [[open outcry]] trading. (forFor example the then Mid West Stock Exchange (now the [[Chicago Stock Exchange]]) launched the "MAX system, becoming one of the first stock exchanges to provide fully automated order execution" in 1982).<ref>{{cite web |url=http://www.chx.com/chx/history/ |title=History:Chicago Stock Exchange Historical Timeline|accessdateaccess-date=November 1, 2015}}</ref><ref>''Commodity Exchange Act Cea: Issues Related to the Regulation of Electronic Trading'' by Thomas J. McCool, Cecile O. Trop 2000 {{ISBN |0-7567-0329-8}} page 18</ref>
 
==Algorithms==
There are a variety of algorithms for auction trading, which is used before the market opens, on market close etc. However, most of the time, continuous trading is performed.
 
The trading mechanism on electronic exchanges is an important component that has a great impact on the efficiency and [[Market liquidity|liquidity]] of financial markets. The choice of matching algorithm is an important part of the trading mechanism. The most common matching algorithms are the ''Pro-Rata'' and ''Price/Time'' algorithms.
 
Comparison of Price/Time and Pro-Rata Following are few basic remarks about the two basic algorithms and their comparison.<ref>{{cite CiteSeerX |last1=Janecek |first1=Karel |last2=Kabrhel |first2=Martin |title=Matching Algorithms of International Exchanges |year=2007 |citeseerx=10.1.1.192.6947 }}</ref>
 
===Price/Time algorithm (or First-in-First-out)===
 
* Motivates to narrow the spread, since by narrowing the spread the limit order is the first in the order queue.
* Discourages other orders to join the queue since a limit order that joins the queue is the last.
* Might be computationally more demanding than Pro-Rata. The reason is that market participants might want to place more small orders in different positions in the order queue, and also tend to "flood" the market, i.e., place limit order in the depth of the market in order to stay in the queue.
 
===Pro-Rata algorithm===
 
* Motivates other orders to join the queue with large limit orders. As a consequence, the cumulative quoted volume at the best price is relatively large.
 
==Efficiency==
Large limit orders can be "[[Front running|front-run]]" by "penny jumping". For example, if a buy [[limit order]] for 100,000 shares for $1.00 is announced to the market, many traders may seek to buy for $1.01. If the market price increases after their purchases, they will get the full amount of the price increase. However, if the market price decreases, they will likely be able to sell to the limit order trader, for only a one cent loss. This type of trading is probably not illegal, and in any case, a law against it would be very difficult to enforce.<ref name="Trading and Exchanges">{{cite book|last1=Harris|first1=Larry|title=Trading and Exchanges|date=24 October 2002|publisher=Oxford University Press|___location=New York|isbn=0-19-514470-8|edition=First}}</ref>
 
==See also==
* [[Open outcry]]
* [[Electronic communication network]]
* [[Alternative trading system]]
* [[Dark pool]]
* [[Electronic communication network]]
* [[High-frequency trading]]
* [[Multilateral trading facility]]
* [[Open outcry]]
 
==References==