Abstract:
The invention relates to a method and a trading system for consolidating messages in intermediate server layers. It is operated in at least one of a data- and telecommunication network. Message distribution is introduced by collecting and distributing them through hold-back time frames, thereby, eliminating transactional overhead and achieving a substantial gain in message throughput time in the trading system.

Description:
TECHNICAL FIELD  
       [0001]     The present invention pertains to a method and a system for consolidating messages in a trading system operated in at least one of a data- and telecommunication network.  
       BACKGROUND ART  
       [0002]     An exchange or other financial institution or organization providing a market place for trading often provides its service using an electronic trading platform. Modern electronic trading systems are often implemented as a three tier layer model, comprising back-end servers, intermediate servers and trading applications.  
         [0003]     The market participants connect to the exchange&#39;s trading platform utilizing a trading application which is either an application provided by the exchange or more often a proprietary application integrated with the participants internal systems.  
         [0004]     Trading servers typically provide services such as processing order requests, order matching, trade capture, settlement and clearing. Very often all trading functionality is not kept in one server; but rather distributed over a set of physical servers.  
         [0005]     The intermediate server layer handles the trading application connectivity. Received incoming request are dispatched to the appropriate back-end server depending on the request. The intermediate layer is also responsible for feeding updates of information back to trading applications.  
         [0006]     In a typical message flow, the trading system receives updates from trading applications, applies these updates to the central servers, and then distributes the updates to all trading applications.  
         [0007]     Participants in an electronic market are financial institutions like banks, broker firms and market maker firms. They either trade on behalf of a retail customer or for themselves, i.e., proprietary trading. The matching process is driven by the participants inserting orders and quotes into the “market”. Orders are often inserted as a result of a retail user requesting a participant to act as intermediary.  
         [0008]     Market makers have an obligation to “make a market”, i.e., they will provide liquidity by almost always providing bids and offers. They change there prices in the market depending on their market belief and other market factors such as market news, their position and other underlying financial factors being changed.  
         [0009]     A major challenge for all exchanges is to provide a well performing and reliable trading system. Each order and quote event requires a significant amount of processing steps to guarantee that the order or quote is processed in a secure, reliable and consistent manner. The overall problem is that incoming orders and quotes have to be received over the network, synchronized with the rest of the order flow, audit and recover logged etc.  
       SUMMARY OF THE INVENTION  
       [0010]     The present invention describes how the matching processing of order and quote in an electronic market can be improved significantly by consolidation of orders and quote streams.  
         [0011]     To achieve its aims and goals the present invention sets forth a method consolidating messages in a trading system operated in at least one of a data- and telecommunication network. Hereby the present invention comprises the following method steps: 
        the messages being consolidated at a consolidation point in a server layer, whereby the messages are collected in multiple concatenated predetermined hold-back time frames; and     the messages consolidated in the time frames being transmitted for processing when a time frame has lapsed in time, thus eliminating transactional overhead and achieving a substantial gain in message processing throughput time in the trading system.        
 
         [0014]     One embodiment of the present invention comprises multiple connected intermediate servers, each possessing the consolidation point.  
         [0015]     In another embodiment the hold-back time frames are adaptive in respect of a threshold value for the intensity of message traffic to the server layer.  
         [0016]     Yet another embodiment comprises that multiple server layers make up a tree like structure, where every layer off-loads the workload for a next layer in a distribution chain of messages before processing.  
         [0017]     Furthermore, the present invention sets forth a trading system consolidating messages in at least one of a data- and telecommunication network. Thereby, the invention comprises: 
        a consolidation point for the messages in a server layer, whereby the messages are collected in multiple concatenated predetermined hold-back time frames; and     a transmitter application, transmitting the messages consolidated in the time frames for processing when a time frame has lapsed in time, thus eliminating transactional overhead and achieving a substantial gain in message processing throughput time in the trading system.        
 
         [0020]     The system of the present invention also provides the embodiments of the above method steps through its attached dependent claims. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0021]     Henceforth the present invention is described together with the attached drawings for a better understanding of its embodiments and given examples, wherein:  
         [0022]      FIG. 1  is illustrating a conventional prior art trading system;  
         [0023]      FIG. 2  is illustrating that a delay in distributing a batch consolidation in accordance with the present invention is directly linear to how efficient the batch would be; and  
         [0024]      FIG. 3  is illustrating a tree like trading consolidation in accordance with one embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS  
       [0025]     Order and quote flow consolidation is an aim and a goal of the present invention. Some exchange operations such as synchronization, receiving data over a network, safe storing information to a disk and the like operations have a relatively high fix resource cost, which is not linear to the amount of information processed. For example, writing data to a disk; most of the time is spent finding the place on disk where the information could be saved; the actual transferring of trade information thus has lost its importance, although being the main task.  
         [0026]     If multiple orders and quotes in a trading application could be received as a single batch the processing cost per order and quote could be decreased due to the fact that the cost for some of the processing steps mentioned earlier are non linear. In order to consolidate the flows of orders and trades there must be a point of consolidation where incoming orders and quotes are batched. This could be accomplished at several places.  
         [0027]      FIG. 1  illustrates a conventional prior art trading system  10 , which can be modified to achieve the aims and goals of the present invention. The trading system  10  comprises a network  12  for data- and/or telecommunication where trading applications  14  transfer orders requests, order matching, trade captures, settlements, clearings and the like financial tasks. These transfers are received at the intermediate servers  16  for further transfer to a trading server  18 .  
         [0028]     An exchange or other financial institution providing a market place for trading often provides its service using an electronic trading platform. Modern electronic trading systems are often implemented as a three tier layer model: back-end servers, intermediate servers and trading applications.  
         [0029]     Moreover, an exchange operates the back-end system and intermediate servers. Market participants connect to the exchange platform using a trading application which is either an application provided by the exchange or other financial institution or more often a proprietary application being integrated with the participants internal systems.  
         [0030]     Trading servers typically provide services such as processing order requests, order matching, trade capture, settlement and clearing. Very often all trading functionality is not kept in one server; it is rather distributed over a set of physical servers.  
         [0031]     An intermediate server layer handles the trading application connectivity. Received requests are dispatched to the appropriate back-end server depending on the request. The intermediate layer is also responsible for feeding updates of information back to trading applications.  
         [0032]     In a typical message flow, the trading system receives updates from trading applications, applies these updates to the central servers, and then distributes the updates to all trading applications.  
         [0033]     Market markers are participants in a system and they are obliged to provide a “market”. The market makers ensure that the market is liquid i.e. that there is a buy and sell interest. There is some sort of economic incitement for market makers to make a market.  
         [0034]     A simple approach would be to allow participants to submit multiple orders and quotes in a single request. This would reduce the number of transaction to a certain degree but the fact that the trading community is constituted of a large number of participants, the consolidation would be limited.  
         [0035]     A more efficient place to perform a consolidation in accordance with the present invention would be to accomplish the consolidation at the intermediate server  16  layer. This since the order and quote at this layer are funneled together. According to the present invention the intermediate server applies a hold-back before sending an order or quote to a central matching process. If other orders and quotes would arrive to the intermediate server while the holdback is taken affect. These orders and quotes will be added to the order and quote batch.  
         [0036]     In  FIG. 2  it is schematically depicted in a diagram graph  20 , with time on the x-axis and batch size on the y-axis that the price paid for consolidating orders and quotes are delayed before the orders and quotes get processed, since they are held back in order to build up batches of orders and quotes in accordance with the present invention. The delay is directly linear to the efficiency of the batching, the longer hold-back the better consolidation. Hence the present invention introduces a hold-back time frame, where a batch of incoming trading applications  14  is built up for transfer to a final matching process  40 , see  FIG. 3 ,  
         [0037]     When a hold-back timer count for a time frame is expired an entire order and quote batch is sent to the matching process  40 , as one large single trading transaction.  
         [0038]     With the approach consolidating the order and quote flow outside the trading server  18 , the matching process reduces the workload in the matching process.  
         [0039]     Now with reference to  FIG. 3  which schematically depicts a tree like configuration for a trading system  30  in accordance with the present invention. This system introduces several layers of consolidation points  32 ,  36 , for example, residing in intermediate servers  16 . Each layer of intermediate servers  16  consolidates and off loads the workload for the next layer.  
         [0040]     In  FIG. 3  messages from trading applications are transferred to a first consolidation point  32  in an intermediate server  16  at participants sites, where they are collected during the first interval of time and sent as batches  34  to the next consolidation point  36 . At consolidation point  36 , the batches  34  are consolidated in another batch  38  and sent to a matching process  40  for orders and quotes in for instance a trading server  18 .  
         [0041]     The price paid for consolidating orders and quotes are delays before an order and quote gets processed since they are held back in order to build up batches of orders and quotes.  
         [0042]     The delay is directly linear to the efficiency of the batching, the longer hold-back the better consolidation as is depicted in  FIG. 2 . The factors to consider when determining the hold-back time frame, are that orders and quotes must not be held-back to the extent that their prices become obsolete, and that orders and quotes are processed within in a reasonable time from a participant perspective. The participant perception must be that orders and quotes are processed without delays. The hold-back must be set to a value that results in an efficient consolidation. The hold-back is adaptive in one embodiment of the present invention. If very few orders and quotes are processed there are no reasons to consolidate the flow, the matching process is able to handle the flow. In case the flow of orders increase, the hold-back time will increase to create a consolidation of the order and quote flow.  
         [0043]     A predetermined threshold or several different threshold values for what is regarded from few to many orders and quotes makes up a basis for a dynamic and adaptive approach of setting first intervals of time through a hold-back-timer. The number of holdback-timers and levels in the tree like structure are dependent on a lot of parameters that are specific for every market place such as the number of members, order and quote flow rates, and other known parameters. There exists normally no dependency between consolidation points in different levels or between hold-back-timers.  
         [0044]     From a matching perspective each consolidated  34 ,  38  batch is treated as one single transaction. The advantage is that the consolidated batch is read as a single message instead of several messages, the consolidated batch is written to audit and recovery file as a single transaction, and the locking in the matching processing is just done once for each batch instead of every order and quote.  
         [0045]     From a consistency and reliability point of view, the matching process  40  handles the consolidated batch of orders and quotes as a single transaction. In case the matching process abnormally terminates all orders and quotes in the batch will be unprocessed or processed.  
       EXAMPLE  
       [0046]     Assuming a matching process is processing  100  transactions per second. This implies that the time for processing a single transaction is 10 milliseconds. Assuming that the different steps in processing are divided into: 
        1) receiving over the network 0.5 ms     2) locking and synchronizing 0.05 ms     3) logging the transaction to the transaction log for recovery purpose 4.95 ms     4) processing the transaction 3 ms     5) broadcasting changes to prices caused by the transaction to the participant community 1 ms     6) send back response to the requestor of the transaction 0.5 ms        
 
         [0053]     If these 100 transactions are consolidated into one single transaction at a pre-consolidation point in accordance with the present invention the following optimization would be gained, the processing of each sub transaction would remain the same i.e. 3 ms. Steps 1, 2, 3, 5 and 6 would basically be just carried out one for each of the 100 sub transaction as they are treated as one single transaction. Assume a doubling of the efforts would result in 14 ms for all 100 sub transactions i.e. 0.14 ms per transaction. This implies an overall cost of 3.14 ms per transaction. A matching engine would then be able to process  318  transactions per second.  
         [0054]     The present invention has been described through non limiting embodiments and examples, thus the attached set of claims define further embodiments of the invention to persons skilled in the art.