This patent relates to co-pending U.S. patent application Ser. No. 11/729,578, titled “SYSTEM AND METHOD OF ALLOCATING AN INCOMING ORDER TO STANDING ORDERS”, filed on Mar. 29, 2007, the content of which is incorporated herein in its entirety for all purposes.
This patent further relates to co-pending U.S. patent application Ser. No. 12/246,775, titled “SYSTEM AND METHOD FOR MATCHING ONE OR MORE INCOMING ORDER TO A STANDING ORDER BASED ON MULTIPLE ORDER PRIORITY”, filed contemporaneously herewith; co-pending U.S. patent application Ser. No. 12/246,796, titled “SYSTEM AND METHOD FOR MATCHING ONE OR MORE INCOMING ORDER TO A STANDING ORDER BASED ON MULTI-LEVEL ALLOCATION”, filed contemporaneously herewith; co-pending U.S. patent application Ser. No. 12/246,818, titled “SYSTEM AND METHOD FOR MATCHING ONE OR MORE INCOMING ORDER TO A STANDING ORDER BASED ON MULTIPLE ORDER PRIORITY ALLOCATION”, filed contemporaneously herewith; a d co-pending U.S. patent application Ser. No. 12/246,832, titled “SYSTEM AND METHOD FOR MATCHING ONE OR MORE INCOMING ORDER TO A STANDING ORDER BASED ON TIME ORDER PRIORITY ALLOCATION”, filed contemporaneously herewith, the contents of which are incorporated herein in their entirety for all purposes.
An exchange provides one or more markets facilitating and/or enabling the purchase and sale of various types of products including financial instruments such as stocks, bonds, futures contracts, options, cash, and other similar instruments. Agricultural products and commodities are also examples of products traded on such exchanges. A futures contract is a product that is a contract for the future delivery of another financial instrument such as a quantity of grains, metals, oils, bonds, or cash. Generally, each exchange establishes, for each market provided thereby, a specification that defines at least the product(s) traded in the market, minimum quantities that must be traded, and minimum changes in price (e.g., tick size). For some types of products (e.g., futures or options), the specification further defines a quantity of the underlying product represented by one unit (or lot) of the product, and delivery and expiration dates.
Products on an exchange are traded in an environment where the exchange provides a location for buyers and sellers to meet and negotiate a price for a quantity of a product. This environment may be an open outcry or on an electronic trading platform (e.g., an electronic exchange) where traders use software to send an order to the trading platform, or a combination of both. The order identifies the product, the quantity of the product the trader wishes to trade, a price at which the trader wishes to trade the product, and a direction of the order (i.e., whether the order is a bid to buy or an offer to sell). The trading platform may, in turn, allocate resting orders against: aggressor orders; stop orders; market orders; limit orders and/or any other type of known or foreseeable orders. Other products are traded in an over-the-counter market (e.g., where products are not listed on an exchange).
In an electronic trading platform, a trading host on the trading platform monitors incoming orders and attempts to identify (i.e., match) one or more previously received orders stored in an order book database, wherein each identified order is contra to the incoming order and has a favorable price relative to the incoming order. In particular, if the incoming order is a bid then the identified order is an offer at a price that is identical to or less than the bid price. Similarly, if the incoming order is an offer at a particular price, the identified order is a bid at a price that is identical to or greater than the offer price. Unmatched orders are placed in an open order book to await receipt of a contra order, these waiting order are said to be “resting orders”.
In one embodiment, the trading host calculates an open price or “indicative opening price” for a given product based on the overlap of orders (both bids and offers) present within the trading system prior to the market open. The mean price or indicative price will be updated periodically, i.e., every minute, every thirty seconds, every two minutes, etc. If the volume of the orders present within the trading system prior to the market open is such that the open price could be one of two prices, the price closest to the previous settlement price is selected to be the open price. If the trading host determines that overlap exists between bids and offers in a contract, the trading host totals the respective bids and the respective offers within the determined overlap range. The totaled bids are then analyzed by the trading host to determine where and at what price the highest total quantity on the bid “flips” or changes to a higher total quantity of the offer. The identified price is selected to be the indicative opening price. As previously discussed, this indicative opening price will be updated periodically, i.e., every minute, every thirty seconds, every two minutes, etc., until the opening of the market upon which the indicative opening price become the open price.
Upon identification (matching) of a contra order, a minimum of the quantities associated with the identified order and the incoming order is matched and at least the minimum quantities of each of the identified and incoming orders become two halves of a matched trade that is sent to a clearinghouse. The trading host considers each identified order in this manner until either all of the identified orders have been considered or all of the quantity associated with the incoming order has been matched. If any quantity of the incoming order remains, an entry is created in the order book database and information regarding the incoming order is recorded therein.
Traders access the markets on a trading platform using trading software that receives and displays at least a portion of the order book for a market, enables a trader to provide parameters for an order for the product traded in the market, and transmits the order to the trading platform. The trading software typically utilizes a graphical user interface to display at least a price and quantity of some of the entries in the order book associated with the market. The number of entries of the order book displayed is generally preconfigured by the trading software, limited by the trading platform, customized by the user or some combination thereof. Some graphical user interfaces display order books of multiple markets of one or more trading platforms. The trader may be an individual who trades on his/her behalf, a broker trading on behalf of another person or entity, a group, or an entity. Furthermore, the trader may be a system that automatically generates and submits orders.
Regardless of the specific configuration of a particular trading platform, each of the trading platforms will typically include one or more matching algorithms, methods and schemes for allocating incoming orders to other incoming or resting orders. Because incoming orders will rarely be identical to, i.e., have the same quantities, prices and other variables, the other incoming or resting orders, the algorithms, methods and schemes are, for example, intended: to allocate orders to promote and/or reward market makers; to assure an equitable distribution of the incoming order; and to regulate the trading volume.
I. First-In First-Out (FIFO) Algorithm
If the trading host identifies multiple orders having an identical price and which are contra to the incoming order, assuming that the price of the multiple orders is favorable to the price of the incoming order, the trading host allocates the quantity of the incoming order among such identified orders in accordance with prioritization and allocation algorithms as defined in the product specification. A time priority algorithm such as a first-in first-out (FIFO) allocation principle or algorithm considers each identified order sequentially in accordance with when the identified order was received. The quantity of the incoming order is matched to the quantity of the identified order received earliest, then quantities of the next earliest, and so on until the quantity of the incoming order is exhausted.
II. Pro-Rata Algorithm
Some market specifications define the use of a pro-rata allocation algorithm or principle, wherein a quantity of an incoming order is allocated proportionally to each of plurality of identified orders.
Some trading platforms provide a priority to certain standing orders in particular markets. An example of such an order is the first order that improves a price (i.e., improves the market) for the product during a trading session. To be given priority, the trading platform may require that the quantity associated with the order is at least a minimum quantity. Further, some trading platforms cap the quantity of an incoming order that is allocated to a standing order on the basis of a priority for certain markets. In addition, some trading platforms may give a preference to orders submitted by a trader who is designated as a market maker for the product. Other trading platforms may use other criteria to determine whether orders submitted by a particular trader are given a preference. Typically, when the trading host allocates a quantity of an incoming order to a plurality of identified orders at the same price, the trading host allocates a quantity of the incoming order to any orders that have been given priority. The trading host thereafter allocates any remaining quantity of the incoming order to orders submitted by traders designated to have a preference, and then allocates any still remaining quantity of the incoming order using the FIFO or pro-rata algorithms.
III. Price Priority Algorithm
IV. Pro-Rata/Minimum Allocation Quantity Algorithm
Pro-rata algorithms and principles utilized in some markets may require that an allocation provided to a particular order in accordance with the pro-rata algorithm must meet at least a minimum allocation quantity. Any orders that do not meet or exceed the minimum allocation quantity are allocated to on a FIFO basis after the pro-rata allocation (if any quantity of the incoming order remains). In the example illustrated in
The pro-rata allocation algorithm may further include priority order functionality. Priority orders are orders that better a side of the market (a.k.a. market turner). Only one order per side of the market (buy side or sell side) can be a Priority order priority, although it is possible for neither side of the market to have a Priority order associated therewith. If a Priority order is present and the price elected or associated with the Priority order is selected, then the initial allocation is made to the Priority order. Once the quantity associated with the Priority order has been filled, the pro-rata allocation algorithm distributes the remaining orders as discussed in connection with
V. Lead Market Marker (LMM) Allocation Algorithm
In other embodiments a Lead Market Maker (LMM) allocation algorithm is disclosed. The LMM designation is given to individuals chosen to make a two-sided market in an assigned contract. The LMM designation conveys a guaranteed allocation percentage of incoming orders to the identified individuals as well as pricing concessions in return for satisfying market obligations. The LMM allocation algorithm has two versions: with and without Priority order functionality.
VI. LMM Allocation Algorithm with Priority Order Functionality
As previously discussed, Priority orders are orders that better a side of the market (a.k.a. market turner). Only one order per side of the market (buy side or sell side) can be a Priority order priority, although it is possible for neither side of the market to have a Priority order associated therewith. If a Priority order is present and the price elected or associated with the Priority order is selected, the Priority order is matched first regardless of whether or not the order belongs to a designated LMM. If the Priority order belongs to an LMM, the order will be matched first and will not be included in the following calculations: (1) if the LMM has a single order at an elected price level, it will match an LMM's allocation percentage N % of the remaining incoming order quantity. However, the matched quantity will not exceed the LMM's order quantity. (2) If the LMM has multiple orders at an elected price level, then the LMM quantity is aggregated and will match N % of the remaining incoming order quantity. Multiple LMM orders are matched on time priority basis until N % quantity allocation is fulfilled. All remaining resting orders at an elected price level (LMM as well) are matched according to time priority. In an embodiment, a user can lose their order priority (for Priority orders) when the order is changed under any one of the following scenarios: (i) an increase in quantity; (ii) a change in price; and (iii) a change in account number.
VII. LMM Allocation Algorithm Without Priority Order Functionality
In another embodiment, if the LMM has a single order at an elected or associated price level, the LMM will match an LMM's allocation percentage N % of the incoming order quantity. However, the matched quantity will not exceed the LMM's order quantity. Alternatively, if the LMM has multiple orders at an elected price level, then the LMM quantity is aggregated and will match N % of the incoming order quantity. Multiple LMM orders are matched on Time Priority basis until N % quantity allocation is fulfilled. However, the LMM's allocated match quantity cannot exceed their aggregated order size quantity. All remaining resting orders at an elected price level (LMM included) are matched according to Time Priority. LMM allocation will not apply until after the market opening sequence is complete, with opening matching occurring on a FIFO basis. The opening price is calculated by maximizing match quantities in relation to buy/sell pressure.
In other embodiments, an order matching algorithm may include a distributed allocation strategy that utilizes time priority elements for market-making orders and/or orders within a tick of the market (provided no resting orders remain at the same price). In operation, orders are initially processed on a time priority basis, the remaining resting orders are then allocated according to the following process: (1) each resting order at a given price receives a one lot allocation unless there is insufficient quantity and then the one lot allocation is conducted randomly; (2) the remaining resting orders are filled based on quantity allocation; and (3) any remaining quantity are allocated to the largest outstanding order or orders.
U.S. Pat. No. 7,225,153 discloses digital options having demand-based, adjustable returns, and trading exchange therefor. In particular, the patent discloses methods and systems for trading and investing in groups of demand-based adjustable return (“DBAR”) contingent claims, including digital options, and for establishing markets and exchanges for such claims. The advantages of the discloses methods and systems, as applied to the establishment and operation of a DBAR digital options exchange, include the ability to offer investments whose profit and loss scenarios are comparable to those for digital options or other derivatives in traditional securities markets, without the need for options or derivatives sellers or order-matching of conventional markets. A DBAR digital options exchange of the disclosed methods and systems can also offer conditional investments, or limit orders, in which an investment in a state of a DBAR contingent claim (such as the price of an underlying asset or index) can be executed or withdrawn in response to the implied probability of the occurrence of that state.
U.S. Pat. No. 7,233,923 discloses systems and methods for matching desired purchases and sales of mismatched items. The disclosed systems and methods compare the requirements of potential buyers and sellers of items against those of sets of other potential buyers and sellers of items to construct transaction sets that will enable an optimal transaction or set of transactions for the parties involved. The disclosed systems and methods may be used to match purchases and sales of any items, such as goods, services, financial instruments, and property interests (e.g., ownership interests in real property, possessory interests in personal property, etc.).
Allocation algorithms used by the trading host for a particular market may affect the liquidity of the market. Specifically, some allocation algorithms may encourage traders to submit more orders, where each order is relatively small. Other allocation algorithms may encourage a trader to use an electronic trading system that can monitor market activity and submit orders on behalf of the trader very quickly and without intervention. As markets and technologies available to traders evolve, the allocation algorithms used by trading hosts must also evolve accordingly to enhance liquidity and price discovery in markets.
The present disclosure relates to systems, methods, process and devices for matching and allocating orders in an electronic trading environment.
I. First-In First-Out (FIFO)/Pro-Rata Split
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a combination of FIFO and pro-rata principles. For example, a portion of an incoming order may be allocated based on FIFO principles while the remainder of the incoming order may be allocated based on pro-rata principles.
At block 504, in response to receiving an order, the incoming order may be validated by the FIFO matching algorithm 500. Typically, validation includes verifying that the trader submitting the received order is authorized to trade in the market in which the product is traded, and that the incoming order conforms to the specifications for the market in which the product trades.
At block 506, in response to a determined invalid order, the FIFO matching algorithm 500 posts an error to the trading software utilized by the trader submitting the order. At this point, the FIFO matching algorithm 500 and the trading host returns to the block 502 to wait for another incoming order.
At block 508, in response to a determined valid order, the FIFO matching algorithm 500 checks or queries a database (which may be the database 2116 shown in
At block 510, the FIFO matching algorithm 500 may create a new order book for the market. At block 514, the FIFO matching algorithm 500 may create an entry in the newly created order book for the incoming order. The FIFO matching algorithm 500 and/or the trading host thereafter returns to the block 502 to wait for another order to arrive.
At block 512, the specifications for the market such as, for example, traded product, delivery month, strike price, etc., may be obtained or determined. For example, the FIFO matching algorithm 500 queries or reads information such as the specifications for the market from a database (see database 2116 shown in
At block 516, the FIFO matching algorithm 500 sets a value Qremaining to equal the quantity of products specified in the incoming order received at block 502.
At block 517, the FIFO matching algorithm 500 queries the order book, which may have been established at block 510, to determine the existence of any orders, having a favorable price, contra to the incoming order. If no such orders are identified, the FIFO matching algorithm 500 proceeds to the block 514 and creates an entry for the incoming order in the order book. If an existing order having a favorable price, contra to the incoming order is identified, then the FIFO matching algorithm 500, at block 518 may set a FIFO percentage FIFOpercent that represents the percentage of the incoming order that should be allocated using FIFO principles.
The FIFO matching algorithm 500 may determine the value FIFOpercent by querying the database (see
At block 518, the FIFO matching algorithm 500 may utilize the criteria of the market specification to determine the value of FIFOpercent. For example, in some embodiments, the FIFO matching algorithm 500 may set a first, large value of FIFOpercent when there are many orders in the market, and a second, low (or lower) value of FIFOpercent when there are few orders in the market. In an embodiment, a high value of FIFOpercent may be utilized if the sum of the quantities associated with the orders in the market at the best price is high; otherwise, a relatively low value of FIFOpercent may be utilized. In another embodiment, the FIFOpercent may be determined dynamically as the number of orders in the market or the quantities associated with the orders varies. It will be understood, that other metrics and indicators of market activity may be utilized in other embodiment to determine the value of FIFOpercent.
At block 520, the FIFO matching algorithm 500 may determine QFIFO, that is the quantity of the incoming order that is to be allocated using a FIFO algorithm, by multiplying Qremaining with FIFOpercent. It should be apparent that if FIFOpercent is one-hundred percent (100%) then the FIFO matching algorithm 500 implemented by the trading host exclusively utilizes FIFO principles to allocate the quantity of the incoming order. In addition, if the value of FIFOpercent is zero percent (0%) then none of the quantity the incoming order is allocated utilizing the FIFO algorithm and the entire quantity is allocated using pro-rata principles and/or algorithms described above or other algorithms designated for the market.
At block 522, the FIFO matching algorithm 500 identifies and selects all of the orders from the order book that have the best price and that have not had any quantity of the incoming order allocated thereto.
At block 524, the FIFO matching algorithm 500 allocates Qremaining the quantity of the product specified by the incoming order. Upon completion of the allocation, Qremaining is updated to reflect the allocated quantity.
At block 526, the FIFO matching algorithm 500 updates the order book corresponding to each of the identified and selected orders discussed in connection with block 522 to reflect the allocated allocation received from the incoming order.
At block 528, the FIFO matching algorithm 500 and the trading host reports, for each of the identified and selected orders to which a portion of the incoming order was allocated, a match between the selected order and the incoming order to the clearinghouse, the trader who submitted the selected order, and the trader who submitted the incoming order. In an embodiment, the match may be recorded in a database maintained by the trading platform.
At block 530, the FIFO matching algorithm 500 may check to determine if the order quantity represented by Qremaining is greater than zero. If the determined value of Qremaining is greater than zero (i.e., the quantity of the incoming order has not been exhausted) then, the FIFO matching algorithm 500 proceeds to the block 517 to determine the existence of any remaining orders, having a favorable price, contra to the incoming order. If the determined value of Qremaining equals than zero (0), then the FIFO matching algorithm 500 may proceed to block 502 to wait for another incoming order.
A. Price Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a price priority criterion in conjunction with FIFO and pro-rata principles. For example, an incoming order or a portion of an incoming order may be identified as having a best or high price and may, in turn, be designated as a price priority order. Lots may then be initially allocated based on the price priority while the remainder of the incoming order may be allocated based on, for example, a preference criterion, FIFO and/or pro-rata principles.
At block 602, the price allocation algorithm 600 may determine whether more than one (1) order has been selected. If a single order is selected, then at block 604 the price allocation algorithm 600 determines a quantity of the incoming order that is to be matched Qmatched to the contra or resting order. Qmatched may be calculated determining the minimum of the quantity of product specified by the selected order Qorder and the quantity of the incoming order that remains to be allocated Qremaining.
At block 606, the price allocation algorithm 600 updates the value Qremaining by subtracting the value Qmatched.
At block 607, the price allocation algorithm 600 updates the quantity of the selected order that remains Qorder by subtracting Qmatched. Upon completion of the processing represented by the block 607, it will be apparent one of the values Qmatched or Qremaining will equal zero (0). The price allocation algorithm 600 may proceed to block 610 where the matching or allocation to the selected order is complete and other orders may be considered.
At block 611, the price allocation algorithm 600, allocates the quantity of the incoming order Qremaining to the selected orders in accordance with any priority criteria defined by the market specification for the product.
At block 612, the price allocation algorithm 600, determines if any quantity of the incoming order represented by Qremaining remains unfilled. If none remain, the price allocation algorithm 600 may proceed to block 610 where the matching or allocation to the selected order is complete and other orders may be considered.
At block 613, the price allocation algorithm 600, if Qremaining is greater than zero, allocates the remaining quantity to standing orders submitted by traders designated to have a preference.
At block 614, the price allocation algorithm 600 determines if any quantity of the incoming order represented by Qremaining remains to be allocated. If none remain, the price allocation algorithm 600 may proceed to block 610 where the matching or allocation to the selected order is complete and other orders may be considered.
At block 616, the price allocation algorithm 600 allocates the remaining quantity of the incoming order in a number of lots up to the value QFIFO of the incoming order to the selected orders using the FIFO algorithm. Upon completion of the allocation, the price allocation algorithm 600 adjusts the values QFIFO and Qremaining accordingly.
At block 618, the price allocation algorithm 600 determines if any quantity of the incoming order represented by Qremaining. If none remain, the price allocation algorithm 600 may proceed to block 610 where the matching or allocation to the selected order is complete and other orders may be considered.
At block 620, the price allocation algorithm 600 allocates the remaining quantity Qremaining utilizing the pro-rata algorithm.
At the block 610 the price allocation algorithm 600 returns to the implementing block or point, in the present example block 524 shown in
B. Alternate Price Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a preference criterion in conjunction with FIFO and pro-rata principles. For example, an incoming order or a portion of an incoming order may be identified as having a best or high price and may, in turn, be designated as a price priority order. Lots may then be initially allocated based on the price priority while the remainder of the incoming order may be allocated based on a preference criterion associated with, for example, a preferred trader, and the remainder of the incoming order may be allocated based on FIFO and/or pro-rata principles.
At block 634, the alternate price allocation algorithm 630 may determine if any quantity of the incoming order represented by Qremaining. If none remain, the alternate price allocation algorithm 630 may proceed to block 610 when the matching or allocation to the selected order is complete and other orders may be considered as illustrated in
At block 636, the alternate price allocation algorithm 630 allocates any quantity of the incoming order represented by Qremaining on the basis of priority. The alternate price allocation algorithm then proceeds to block 614 illustrated in
C. Pro-Rata Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a combination of pro-rata principles and FIFO principles. For example, an incoming order or a portion of an incoming order may be initially allocated based on pro-rata principles while the remainder of the incoming order may be allocated based on FIFO principles.
At block 652, the pro-rata allocation algorithm 650 determines a value of Qprorata that is to be allocated using the disclosed pro-rata algorithm or scheme. In an embodiment, Qprorata may be the difference between Qremaining and QFIFO. In another embodiment, Qprorata may be developed in a manner similar to the development of the value QFIFO described herein above.
At block 654, the pro-rata allocation algorithm 650 allocates a quantity equal to Qprorata of the incoming order to the selected orders using the pro-rata algorithm.
At block 656, the pro-rata allocation algorithm 650 determines if any quantity of the incoming order remains and, if any quantity does remain, the algorithm may proceed to block 658. If none remain, the pro-rata allocation algorithm 650 may proceed to block 610 when the matching or allocation to the selected order is complete and other orders may be considered as illustrated in
At block 658, the pro-rata allocation algorithm 650 allocates the remaining quantity Qremaining to the selected orders using the FIFO algorithm and may proceed to block 610 illustrated in
D. Priority Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a price priority criterion in conjunction with FIFO and pro-rata principles. For example, an incoming order or a portion of an incoming order may be designated as a price priority order if it is determined to be one of the first three (3) orders that improve the price, and lots may be allocated a function of the price priority.
At block 704, priority allocation algorithm 700 sets a value of a counter i to 1.
At block 706, the priority allocation algorithm 700 identifies any orders among the selected orders (e.g., those orders selected or identified block 522 illustrated in
At block 708, the priority allocation algorithm 700 sets a value to the number N of the priority orders identified at block 706.
At block 710, the priority allocation algorithm 700 determines if there are additional priority orders to be considered (i<=N) and if there is a remaining quantity of the incoming order to allocate (Qremaining>0). If additional priority orders do not exist and/or no quantity of the incoming order remains to be allocated, the priority allocation algorithm 700 proceeds to block 714 to continue allocating the remaining quantity of the incoming order.
At block 712, the priority allocation algorithm 700, upon determining the existence of additional orders and quantities to allocate, sets a value Qorder to equal the quantity requested by the ith priority order. In an embodiment, the priority orders are selected sequentially in accordance with the time when each priority order was received. In another embodiment, the priority orders are selected in accordance with trader status. Other methods, scheme or algorithms of selecting the priority orders may be apparent to those with skill in the art.
At block 713, the priority allocation algorithm 700 determines if the value of Qorder is greater than or equal to a minimum quantity minpriority necessary to have a portion of the incoming order allocated in accordance with the priority. The value of minpriority is typically defined by the market specification. If the value of Qorder is at least minpriority then processing proceeds to a block 716; otherwise processing proceeds to the block 717.
At block 716, upon determining that Qorder is greater than or equal to the minimum quantity minpriority the priority allocation algorithm 700 determines a value of Qmatched to allocate to the ith priority order. Qmatched is determined by calculating the minimum of the quantity of the ith priority order and the quantity that remains of the incoming order.
At block 718, Qmatched is subtracted from Qorder to calculate the quantity of the ith priority order that remains.
At block 720, the priority allocation algorithm 700 calculates the remaining quantity Qremaining of the incoming order by subtracting Qmatched from the Qorder.
At block 722, the priority allocation algorithm 700 sets the quantity remaining Qremaining of the ith priority order to equal Qorder.
At block 717, the value of the counter i is incremented.
E. Alternate Priority Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate an incoming order according to a priority criterion based on a quantity value. For example, if the priority criterion is based on a quantity of five orders, lots may be allocated to each of the five orders according to FIFO, pro-rata or any other allocation principle or algorithm.
At block 802, that alternate priority allocation algorithm 800 determines, queries a database or otherwise looks up the value of Qpriority that may be allocated in accordance with the priority. In an embodiment, the alternate priority allocation algorithm 800 and the trading host tracks the number of lots within a market and during a trading session that may be allocated based on a priority. The value of Qpriority may be stored in a database of the trading host. The value of Qpriority may be decremented as incoming orders are allocated to orders in accordance with a priority. In another embodiment, the alternate priority allocation algorithm 800 and/or the trading host sets Qpriority to a predetermined value defined by the trading platform for a particular market.
At block 804, the alternate priority allocation algorithm 800 initializes the value of a counter i to 1.
At block 808, the alternate priority allocation algorithm 800 sets the value of a variable N to equal to the number of orders identified as having a priority associated therewith.
At block 810, the alternate priority allocation algorithm 800 determines: (1) the existence of any remaining priority orders (i<=N); (2) existence of any predetermined quantity of unallocated priority orders (Qpriority>0); and (3) existence of any remaining quantity Qremaining of the incoming order to be allocated.
If any of the conditions (1) to (3) are false or otherwise do not occur and/or exist, the alternate priority allocation algorithm 800 proceeds to block 814 and stores the quantity of Qpriority
If all three conditions are true, the alternate priority allocation algorithm 800 proceeds to block 812 and sets the value of Qorder to the quantity of the ith priority order. In an embodiment, priority orders are considered in the order in which each priority order was received. In other words, the first priority order that may be selected by the alternate priority allocation algorithm 800 may be the priority order received earliest.
At block 813, the alternate priority allocation algorithm 800 compares the value of Qorder with the value minpriority to determine if the value of Qorder is sufficient to be considered for allocation. If the value of Qorder is less than minpriority, then at block 817 the counter i increments.
If the value of Qorder is at least minpriority then processing proceeds to a block 816; otherwise processing proceeds to a block 817.
At block 816, upon determination that the value of Qorder is at least minpriority, the alternate priority allocation algorithm 800 calculates a matched quantity Qmatched that is the amount of the remaining quantity Qremaining to allocate to the ith priority order without exceeding Qpriority.
At blocks 818, 820, and 822, the alternate priority allocation algorithm 800 subtracts the value Qmatched from the values Qorder, Qremaining and Qpriority, respectively to reflect the quantity allocated to the ith order.
At block 824, the alternate priority allocation algorithm 800 sets the quantity of the ith order to Qorder.
At block 817, the alternate priority allocation algorithm 800 may increment the counter i and proceeds to the block 810.
At block 814, the alternate priority allocation algorithm 800 stores the quantity of Qpriority and allocation of the remaining quantity Qremaining of the incoming order to the selected orders on the basis of priority is completed.
F. Preferred Trader Allocation Algorithm
In one embodiment a matching algorithm may be configured to identify orders received from a preferred trader as priority orders. For example, if an incoming order is recognized as an order from a trader identified as a preferred trader, then lots may be allocated to the priority orders according to FIFO, pro-rata or any other allocation principle or algorithm.
At block 902, the preferred trader allocation algorithm 900 sets a counter value i to 1.
At block 904, the preferred trader allocation algorithm 900 identifies orders submitted by traders who are provided with, assigned or otherwise earn and/or acquire a preference and/or a priority status.
At block 906, the preferred trader allocation algorithm 900 sets the value of number of orders N to equal the identified orders at block 904.
At block 908, the preferred trader allocation algorithm 900 sets the value of the quantity variable Q to equal Qremaining.
At block 910, the preferred trader allocation algorithm 900 analyzes the order book to determine if orders from one or more preferred traders remain and the quantity of the incoming order remains. If no further orders from preferred traders remain and/or none of the quantity of the incoming order remains then, at block 914, the preferred trader allocation algorithm 900 continues allocating any remaining quantity of the incoming order.
At block 912, the preferred trader allocation algorithm 900 sets a value of the variable Qorder to equal the quantity of the ith order identified at block 904.
At block 916, the preferred trader allocation algorithm 900 identifies a value for a variable (R) that represents a predetermined portion of the incoming order to which the preferred trader is entitled and that may vary from trader to trader. In an embodiment, if the preferred trader has submitted multiple orders at the same price, the trading host and/or the preferred trader allocation algorithm 900 insures that the total allocation to the preferred trader does not exceed the predetermined portion by adjusting the value of the variable R accordingly.
At block 918, the preferred trader allocation algorithm 900 determines a value that represents the quantity of the incoming order to be matched to the ith order matched quantity Qmatched by calculating the minimum of the quantity of the ith order and the product of the value of the variable R and the value of the variable Q.
At blocks 920 and 922, the value of the matched quantity Qmatched may be subtracted from the values Qorder and Qremaining, respectively.
At block 924, the preferred trader allocation algorithm 900 sets the value of the ith order to equal the value stored by the variable Qorder and updates the order database to reflect the match.
At block 926, the preferred trader allocation algorithm 900 increments the value of the counter i and processing may return to the analysis step represented the block 910.
G. Selected Order FIFO Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate lots to selected orders according to FIFO principles. For example, the matching algorithm may identify a number of orders based on a predefined criterion. Lots may, in turn, be allocated to the identified orders according to FIFO principles up to, for example, a given quantity.
At block 1002, the FIFO allocation algorithm 1000 sorts the selected orders in accordance with the time each order was received.
At block 1004, a counter variable i may be set or assigned a value equal to one (1).
At block 1006, the FIFO allocation algorithm 1000 may set a value of the number of orders (N) variable to equal the actual, selected number of orders.
At block 1008, the FIFO allocation algorithm 1000 sets a value of the quantity of the product specified Qorder variable to equal the actual quantity of the product specified in ith order of the sorted and selected orders.
At block 1010, the quantity of the product specified calculates the quantity of the incoming order to allocate to the ith order using a FIFO algorithm. For example, the FIFO allocation algorithm 1000 sets the matched quantity Qmatched to equal the minimum of the quantity of the incoming order that remains to be allocated (Qremaining), the quantity of orders that may be allocated using the FIFO algorithm (QFIFO), and the quantity of the ith order (Qorder).
At blocks 1012, 1014, and 1016, the FIFO allocation algorithm 1000 subtracts the value of matched quantity Qmatched from the values of Qorder, Qremaining, and QFIFO respectively, to reflect the quantity of the incoming orders that is allocated to the ith order.
At block 1018, the quantity that remains of the ith order may be set to Qorder.
At block 1020, the FIFO allocation algorithm 1000 may increment the value represented by the counter variable i by one (1) thereby allowing the FIFO allocation algorithm 1000 at the block 1008 to select the next order received for allocation.
At block 1022, the FIFO allocation algorithm 1000 may branch or continue to the block 1008 if any quantity of the incoming order remains that can be allocated using the FIFO algorithm (QFIFO>0) and if another selected order need to be considers (i<=N). If these conditions are not satisfied, the FIFO allocation algorithm 1000 returns to the calling block (e.g., the block 616 shown in
H. Selected Order Pro-Rata Allocation Algorithm
In one embodiment a matching algorithm may be configured to allocate lots to selected orders according to pro-rata principles. For example, the matching algorithm may identify a number of orders based on a predefined criterion. Lots may, in turn, be allocated to the identified orders according to pro-rata principles up to, for example, a given quantity.
At block 1102, a sum of the quantities of selected orders Qsum may be calculated based on an actual/determined sum of the quantities of the selected orders.
At block 1104, the number of selected orders N may be determined and assigned.
At block 1106 a counter variable i is set or assigned a value equal to one (1).
At block 1108, the selected order pro-rata allocation algorithm 1100 may determine the quantity of the ith selected order.
At block 1110, the selected order pro-rata allocation algorithm 1100 may calculate a proportion that the quantity of the ith selected order comprises of the total of the quantities of the selected order Qportion.
At block 1112, the counter variable i may increment or increase the counter value by one (1).
A block 1114, the selected order pro-rata allocation algorithm 1100 may compare the counter variable i to the number of selected orders N and, if the value of counter variable i is less than the value of the selected orders N continues, branches or returns to the block 1108. However, if the value of the counter variable i is greater than the value of the selected orders N, the selected order pro-rata allocation algorithm 1100 may proceed to the block 1116 (see
At block 1120, the selected order pro-rata allocation algorithm 1100 sets the value of the variable matched to equal zero (0).
At block 1122, the value of a matched quantity Qmatched which equals the quantity of the incoming order to be allocated to the ith selected order may be calculated by multiplying the proportion of the i selected order (Qportion[i]) and the value of the pro-rata quantity Qprorata. In an embodiment, the product of Qportion[i] and Qprorata may be rounded down to the nearest integer by truncating any fraction portion thereof. In another embodiment, the product may be rounded up to the next higher integer if the fractional portion of the product is greater than 0.5 and down to the preceding lower integer otherwise. Other rounding schemes that may be used are known to those skilled in the art.
At block 1124, the value of the matched quantity Qmatched may be compared to a value of the minimum allocation quantity (MAQ) that is defined for the market. For example, the value of the MAQ may be defined in the specification for the market. If the matched quantity Qmatched is greater than the value of the MAQ then at block 1126, the selected order pro-rata allocation algorithm 1100 may set Qorder to equal the quantity associated with the ith order. Alternatively, if the value Qmatched is less than the value of the MAQ, then the selected order pro-rata allocation algorithm 1100 may proceed to block 1136.
At block 1128, the selected order pro-rata allocation algorithm 1100 adds the value of Qmatched to the value of the variable matched which was initialized at block 1120.
At block 1130, the value of the variable Qmatched may be subtracted from the value of the variable Qorder.
At block 1132, the selected order pro-rata allocation algorithm 1100 may set the quantity of the ith order to equal the value of the variable Qorder.
At block 1134, the counter variable i may increment or increase the counter value by one (1).
At block 1136, the selected order pro-rata allocation algorithm 1100 may determine or evaluate if the value of the variable matched is less than the value of the variable Qprorata, and if the value of the counter variable i is less than or equal to the number of selected orders (N). If both comparisons are determined to be true, then the selected order pro-rata allocation algorithm 1100 proceeds to block 1122 to continue allocating the incoming order to the remaining selected orders. If one or both of the comparisons false (or un-true), then the selected order pro-rata allocation algorithm 1100 may proceed to block 1138 (see
At block 1140, the selected order pro-rata allocation algorithm 1100 may sort the selected orders. In an embodiment, the selected orders may be sorted in accordance with the time when each order was received. In another embodiment, the selected orders may be sorted in accordance with the portion of the sum of the quantities of all of the selected orders represented by the quantity of each selected order.
At block 1142, the counter variable i may be reset to a value of one (1).
At block 1144, the selected order pro-rata allocation algorithm 1100 may evaluate if any quantity of the variable remainder needs to be allocated (i.e., that the value remainder is greater than 0), and if all of the selected orders have been considered (i.e., that value of the counter i is less than or equal to the value N). If both evaluations are true, the selected order pro-rata allocation algorithm 1100 may proceed to block 1146. However, if one or more are false (or un-true), then the selected order pro-rata allocation algorithm 1100 may proceed to block 1148. At block 1148, the selected order pro-rata allocation algorithm 1100 may calculate the remaining quantity Qremaining of the incoming order after the allocation process discussed in connection with the blocks 1102 to 1156. For example, the value of the variable Qremaining which represents the remaining quantity, may be decreased by the value of the variable matched and the value of the variable remainder. Thereafter, process may resume with the selected order pro-rata allocation algorithm 1100 returning to point at which the pro-rata allocation algorithm was initiated, e.g., the block 620.
At block 1146, the value of the variable Qorder may be set to equal to any remaining quantity of the ith order (as sorted by the block 1140).
At block 1149, the value of the variable Qmatched may be calculated or determined based on the minimum of the value of the variable Qorder and value of the variable remainder.
At block 1150, the value of the variable Qmatched may be subtracted from the value of the variable Qorder and the result, in turn, may be set as the value of Qorder.
At block 1152, the selected order pro-rata allocation algorithm 1100 may set the value of the variable remainder to equal the result of subtracting the value Qmatched from the current value of the variable remainder.
A block 1154 set the quantity associated with ith order to the value Qorder.
At block 1156, the counter variable i may increment or increase the counter value by one (1) and the selected order pro-rata allocation algorithm 1100 may proceed to block 1144.
II. Multiple Order Priority
A. Priority for Orders that Improve a Market
In one embodiment a matching algorithm may be configured to designate a predefined number of orders as priority orders if the orders are determined to improve the market and/or satisfy a minimum order quantity.
Some embodiments allow more than one order to have priority.
Column 1202 indicates the time of receipt of each order. Columns 1204 and 1206 show the price and quantity requested by each order listed in column 1202, respectively. As shown in the column 1204, each of the orders has an identical price and this example assumes this is the best price for the market.
Column 1208 shows a quantity of each order filled based on priority. Although the earliest received order is order A, no portion of order A may be filled based on priority because this order does not meet the minimum quantity criterion of twenty (20) lots. Orders B to D are given priority because these are the first three orders to improve the market and that meet the minimum quantity criterion. Furthermore, up to fifty (50) lots of the orders C and D may be allocated based on priority.
B. Priority as a Function of Min/Max Quantity
In one embodiment a matching algorithm may be configured to designate a predefined number of orders as priority orders if the orders are determined to improve the size and/or volume of the market.
Column 1211 identifies when each order A to E was received. Column 1212 shows the price associated with each of the orders A to E. Column 1214 shows the quantity requested by each of the orders A to E. Column 1216 shows the distribution and/or allocation of the 120 lots to the prioritized orders A to E. Specifically, order A does not receive any priority because order A does not meet the minimum requirement. Thirty (30) lots of order B may be allocated on the basis of priority. A maximum quantity of fifty (50), out of the ninety-five (95) lots requested by order C, may be allocated on the basis of priority because fifty (50) is the maximum. All of the thirty (30) lots requested by order D may be allocated on a priority basis. Of the fifty (50) lots requested by order E, only ten (10) lots may be allocated based on priority because the quantity available for priority is exhausted. Note, if the trading host receives a second or subsequent matching incoming (sell) order having a quantity of at least one-hundred (100) lots, the trading host may allocate forty-five (45) lots of the incoming order to order C, forty (40) lots to order E, and then the remaining fifteen (15) lots to order A.
C. Retention of Priority for Orders that Improve a Market
In one embodiment a matching algorithm may be configured to designate an order as a priority order if the order is determined to improve the market, and the priority is maintained even if another order is received and is designated a priority order.
Some embodiments may allow orders that are designated as priority orders for improving the market, may retain the designated priority even if the market is further improved by subsequent orders.
Column 1302 shows the time of receipt of each order. Columns 1304 and 1306 show the price and quantities of each order, respectively. In this example, the price of each of the orders A to D is identical. Column 1306 shows the quantity of each of the orders A to D that is eligible to be allocated based on priority. In particular, column 1308 shows orders B to D are designated as priority orders while order A does not satisfy the minimum quantity requirement and is therefore not designated a priority order. Thus, orders B to D may be allocated up to the maximum quantity of fifty (50) lots assuming that the initial contra order(s) includes a sufficient quantity for this allocation.
Column 1312 shows the quantities of the orders B, C, and E that may be filled based on priority. While the orders B and C may retain their designated priority, the trading host may first fill standing orders at a better price before filling the orders B and C even if such standing orders do not have priority.
D. Aging of Order Priority
In one embodiment a matching algorithm may be configured to designate an order as a priority order if the orders are determined to improve the market, and the priority is maintained and associated with the resting order for a predetermined period of time before expiring.
In an embodiment, orders may be designated priority orders for a period of time or a specific duration or until the occurrence of a predefined event such as, for example, the close of the market. After expiration of the period of time, the designated priority may be revoked. In another embodiment, priority designations for all orders may be revoked after a period of time or duration. For example, the period of time may begin when an initial (first) order is designated as a priority order. The period of time may be fixed for the market (e.g., 30 seconds, 10 milliseconds) or may be dynamic and adjusted in accordance with market activity. Alternatively or in addition to, the period of time may vary by market and in some markets the period of time may be a sub-second interval.
E. Priority Including FIFO/Pro-Rata and Min/Max Quantity
In one embodiment a matching algorithm may be configured to designate an order as a priority order if the order is determined to improve the market and/or satisfy a minimum order quantity. The priority order may have lots allocated to it according to FIFO principle up to a maximum quantity.
For example, turning to the table 1500 shown in
Column 1502 indicates that orders A and B are designated priority orders and are allocated fifty (50) and thirty (30) lots, respectively, of the incoming order. Order A requests eighty (80) lots, however the market caps priority allocations to fifty (50).
The quantity of the incoming order that remains after the priority allocation is four hundred and twenty (420) lots. Therefore, orders C and E are allocated forty-two (42) lots and twenty-one (21) lots, respectively, because of the provided ten-percent (10%) and five-percent (5%) allocations (see column 1504).
The quantity of the original incoming order remaining after the preference allocation is three hundred and fifty-seven (357) lots. Of the three hundred and fifty-seven (357) lots, the FIFOpercent of thirty percent (30%) or one-hundred and seven lots (107) may be allocated utilizing a FIFO algorithm. In this example, the FIFOpercent of lots to be allocated is rounded down. It will be understood that the FIFOpercent of lots to be allocated may be rounded up (to one-hundred and eight lots (108) in this example).
Column 1506 shows the allocation to each order A, C and D (order B was completely filed via the priority allocation). Column 1508 shows that three hundred and twenty-eight (328) lots remain to be filled. The quantity of the incoming that remains to be allocated is two hundred and fifty (250) lots. Column 1510 shows the allocation of three hundred and twenty-eight (328) lots represented by the quantity allocated to each order D to G. Column 1512 shows the allocation of the remaining two hundred and fifty (250) lots in accordance with the pro-rata proportion. Because the pro-rata algorithm used by this market rounds down fractional allocation quantities, 2 lots remain to be allocated and these are allocated on a FIFO basis to order D as shown in a column 1514.
Although the embodiments and examples described above illustrate the use of a FIFOpercent value to determine the number of contracts that are allocated using the FIFO algorithm, it should be apparent that a ProRatapercent value may be used instead to determine the number of contracts that are allocated using the pro-rata algorithm. Furthermore, an incoming order may be allocated in accordance with the pro-rata algorithm first and then any quantity that remains thereafter may be allocated using the FIFO algorithm. In addition the incoming order may be allocated to standing contra orders using a combination of FIFO, pro-rata, multiple priority and multiple preferencing algorithms. Such algorithms may be combined with other allocation and order selection algorithms that may be apparent to those with skill in the art.
III. Inner/Outer Market Allocation
In one embodiment a matching algorithm may be configured to identify an inner market and an outer market. Incoming orders within a market parameter, e.g., five (5) ticks, are identified as inner market orders and have lots allocated to them based on FIFO principles. All remaining orders are identified as outer market orders and have lots allocated to them based on pro-rata principles.
The identified orders, in turn, may be designated as priority orders which represent an inner market. All other, undesignated orders may represent the outer market. The inner market parameter IMparameter may be adjusted or defined based, for example, on market volatility. In a volatile market, IMparameter may be a large value to account large changes in the market. Conversely, in a stable or more stable market, IMparameter may be a smaller value because the changes may be less severe. Alternatively, IMparameter may be adjusted throughout a period of time, for example, a trading session, in response to the volume of the market.
In another embodiment, the inner market parameter IMparameter may be the two (2) orders with the highest bid or value resting within the order book. In this example, the orders corresponding with the two highest bids may be designated as priority orders. As the highest bid changes over time, the two (2) orders allowed by IMparameter may change and vary. Regardless of the value or variable represented by the inner market parameter IMparameter, the inner/outer market allocation algorithm 1600 may be configured to allocate lots to inner market orders according to FIFO principles, while allocating lots to the remaining or outer market orders according to pro-rata principle.
Returning to
At block 1604, the quantity of lots remaining to be filled or allocated Qremaining may be set to include or equal the plurality of lots Qorder plus any residual lots associated with Qremaining. The quantity Qremaining may include any quantity of lots remaining from previous implementations of the inner/outer market allocation algorithm 1600.
At block 1606, the price associated with Qorder may be evaluated against the inner market parameter IMparameter that may be, for example, two (2) ticks between the bid and offer spread of contra orders. If the price associated with Qorder is within the range defining the inner market, then the inner/outer market allocation algorithm 1600 may proceed along the path indicated by the arrow A. Alternatively, if the price associated with Qorder is outside the range defining the inner market, then the inner/outer market allocation algorithm 1600 may proceed along the path indicated by the arrow B.
At block 1608, a predetermined number of incoming orders may be identified and designated priority orders based on the price associated therewith. In particular and for example, the first five orders that fall within two (2) ticks of the bid/order spread.
At block 1610, the quantity of lots remaining to be filled or allocated Qremaining may be allocated to the designated priority orders utilizing FIFO principles. The number of lots allocated to all of the designated priority orders, i.e. all of the inner market orders, may be identified as QFIFO.
At block 1612, the quantity of lots remaining to be filled or allocated Qremaining may be updated by subtracting the number of lots allocated utilizing FIFO principles QFIFO from the original quantity of lots remaining to be filled or allocated Qremaining set at block 1604.
At block 1614, received orders having a price associated with Qorder that is outside the range defining the inner market less than or equal to the current high market price (as determined at block 1606) and/or the quantity of lots remaining to be filled or allocated Qremaining, may be allocated to the remaining orders within the order book according to pro-rata principles.
At block 1616, the inner/outer market allocation algorithm 1600 may wait for new incoming orders and proceed along the path indicated by the arrow C to the block 1602 upon receipt of a new order.
The bids, at time interval 1, associated with orders D and E may be designated priority orders because at prices 111.05 and 111.04, respectively, they are within two (2) ticks of the nearest offer, i.e., they are within two (2) ticks of bid/offer spread. As new orders are received, the designated priority orders D and E may be filled or otherwise allocated lots according to FIFO principles. The remaining unallocated quantity Qremaining from the example above, may be allocated according to pro-rata principles.
The bids, at time interval 2, associated with orders F and G may designated priority orders because at prices 111.03 and 111.02, respectively, they are within two (2) ticks of the nearest offer, i.e., they are within two (2) ticks of bid/offer spread. As new orders are received, the designated priority orders F and G may be filled or otherwise allocated lots according to FIFO principles. The remaining unallocated quantity Qremaining from the example above may be allocated according to pro-rata principles.
It will be understood that many variations and alterations may be implemented to further refine the allocation of lots according to the inner/outer market allocation algorithm 1600. For example, the priority designation may or may not be a time-sensitive priority designation. If, for example, the priority designation associated with orders D and E were not a time-sensitive priority designation, these orders will retain priority over, and be allocated lots before, the priority designation associated with orders F and G. Thus, in operation, the priority orders D and E may be receive a priority allocation according to FIFO principles and orders F to H may receive an allocation according to pro-rata principles. The priority orders D and E may retain this priority until they have been filled or otherwise received their maximum allocation, and then the priority orders F and H may begin to receive their priority allocation until they have been filled or otherwise received their maximum allocation. In another variation, the FIFO principles utilized to allocate lots to priority orders may include, for example, FIFOpercentage to limit or otherwise govern the maximum volume or quantity allocated.
If, for example, the priority designation associated with orders D and E were a time-sensitive priority designation, these orders will retain priority over, and be allocated lots before, for a given period and then may lose their priority designation to the orders F and G. At this point, and Qremaining associated with orders D and E may be, unless re-designated priority at a later time period, be allocated according to pro-rata principles. In yet another variation, a minimum order volume or limit Qmin may be established at, for example, five (5) lots. In this example, the order D may no longer be eligible for FIFO allocation and may, instead, be allocated according to pro-rata principles.
The bids, at time interval 1, associated with orders D and F may designated priority orders because at prices 111.05 and 111.03, respectively, they represent the best or highest, i.e, the orders representing the greatest risk, standing bids within the order book. As new orders are received, the designated priority orders D and E may be filled or otherwise allocated lots according to FIFO principles. The remaining unallocated quantity Qremaining from the example above, may be allocated according to pro-rata principles.
The bids, at time interval 2, associated with orders E and F may be designated priority orders because at prices 111.04 and 111.03, respectively, they now represent the best or highest standing bids within the order book. As new orders are received, the designated priority orders E and F may be filled or otherwise allocated lots according to FIFO principles. The remaining unallocated quantity Qremaining from the example above may be allocated according to pro-rata principles.
IV. Priority Pro-Rata with Multiple Order Priority
In one embodiment a matching algorithm may be configured to designate a predefined number of orders as priority orders and lots may be allocated to these priority orders according to pro-rata principles.
Returning to
At block 1704, the total number of lots or contracts Qtotal pending within an order book for a given market may be updated. For example, the plurality of lots Qorder may be added to the current total number of lots or contracts Qtotal to determine a new value for Qtotal. The value of Qtotal represents the total number of lots, regardless of the associated orders, that satisfy a given criterion such as price, time, etc.
At block 1706, the priority pro-rata allocation algorithm 1700 may evaluate the total number of lots or contracts Qtotal with respect to a maximum volume or quantity cap or limit Qcap. For example, Qcap may be defined to equal one-thousand (1000) lots or contracts. Thus, if Qtotal is greater than Qcap, that is, if total number of lots or contracts in an order book exceeds one-thousand, then the priority pro-rata allocation algorithm 1700 may proceed along the path indicated by the arrow A to the block 1716. If Qtotal is less than or equal to Qcap, then the priority pro-rata allocation algorithm 1700 may proceed to the block 1708.
At block 1708, the priority pro-rata allocation algorithm 1700 may evaluate the total number of lots or contracts Qtotal with respect to a minimum order volume or limit Qmin. If Qorder is less than Qmin, that is, if number of lots or contracts in the received order books is less than a minimum amount, then the priority pro-rata allocation algorithm 1700 may proceed along the path indicated by the arrow B to the block 1716. If Qorder is greater than or equal to Qmin, then the priority pro-rata allocation algorithm 1700 may proceed to the block 1710.
At block 1710, the lots of contracts, under the one-thousand lot limit, in the received order Qorder may be identified or designated as priority lots or contracts.
At block 1712, priority orders, i.e., orders in include the first one-thousand lots or contracts may be filled first according to pro-rata principles Qprorata. If any lots or contracts within one or more of the orders remain unfilled after the pro-rata allocation, these lots or contracts may retain priority until they are filled.
At block 1714, the quantity of lots remaining to be filled or allocated Qremaining may be updated by subtracting the number of lots allocated utilizing pro-rata principles Qprorata from the original quantity of lots remaining to be filled or allocated Qremaining.
At block 1716, the quantity of lots remaining to be filled or allocated Qremaining may be allocated to the remaining orders within the order book according to FIFO, pro-rata or any other known allocation principles or variations thereof.
At block 1718, the priority pro-rata allocation algorithm 1700 may wait for new incoming orders and proceed along the path indicated by the arrow C to the block 1702 upon receipt of a new order.
V. Multi-Level Allocation
In one embodiment a matching algorithm segment all of the resting orders and each segment may, in turn, be allocated lots according to a different principle. For example, one segment may be allocated lots according to FIFO principles, another segment according to pro-rata principles.
At block 1802, the multi-level allocation algorithm 1800 may receive a new order which in this present embodiment may be an offer to sell a plurality of lots Qorder.
At block 1804, the existing order book may be evaluated and organized, for example, any quantity of lots remaining to be filled or allocated Qremaining may be set to include or equal the plurality of lots Qorder. The quantity Qremaining may include any quantity of lots remaining from previous implementations of the multi-level allocation algorithm 1800. The existing order book may be further evaluated and organized into multiple levels or segments. For example, in one embodiment, (I) the first five (5) orders at a new high market price may be assigned to a first (1st) segment or level; (II) the remaining received orders or standing orders Qremaining having a minimum order volume or limit Qmin above a predetermined quantity may be assigned to a second (2nd) segment or level; and (III) all other orders not allocated to first and second segments may be assigned to a third (3rd) segment or level. It will be understood that orders may be segmented based on a variety of criteria, for example, orders may be assigned to second segment if they are orders having a price within a predefined number of ticks bid/order spread; if they are orders for a given quantity of lots; if they were received within a given time period, etc.
At block 1806, the first segment may be evaluated to determine if Qremaining associated therewith is greater than zero (0) indicating existence of orders within the first segment waiting to be filled, e.g., receive an allocation of lots. If Qremaining is greater than zero, at block 1808, the orders within the first segment may be designated as priority orders and allocated lots according to the priority. The allocation may be accomplished according to any known allocation principle, algorithm or technique. At block 1810, Qremaining may be updated to reflect the allocation of orders.
At block 1812, the second segment may be evaluated to determine if Qremaining associated therewith is greater than zero (0) indicating existence of orders within the first segment waiting to be filled, e.g., receive an allocation of lots. In particular, if Qremaining equaled zero (0) at block 1806 or another value at block 1810, then the value of Qremaining may be evaluated at block 1812. If Qremaining is greater than zero (0), at block 1814, the orders within the first segment may be designated as priority orders and allocated lots according to the pro-rata principles. Alternatively, the allocation may be accomplished according to any know allocation principle, algorithm or technique. At block 1816, Qremaining may be updated to reflect the allocation of orders.
At block 1818, the third segment may be evaluated to determine if Qremaining associated therewith is greater than zero (0) indicating existence of orders within the first segment waiting to be filled, e.g., receive an allocation of lots. In particular, if Qremaining equaled zero (0) at block 1812 or another value at block 1816, then the value of Qremaining may be evaluated at block 1818. If Qremaining is greater than zero (0), at block 1820, the orders within the first segment may be designated as priority orders and allocated lots according to the FIFO principles. Alternatively, the allocation may be accomplished according to any know allocation principle, algorithm or technique.
At block 1822, Qremaining may be updated to reflect the allocation of orders.
At block 1824, the multi-level allocation algorithm 1800 may wait for new incoming orders and proceed to the block 1802 upon receipt of a new order.
VI. Multiple Order Priority Allocation
In one embodiment a matching algorithm may be configured to designate a predefined number of orders as priority orders if the orders are determined to improve the market.
At block 1902, the multiple order priority algorithm 1900 may receive a new order which in this present embodiment may be an offer to sell a plurality of lots Qorder.
At block 1904, the existing order book may be evaluated and organized, for example, any the quantity of lots remaining to be filled or allocated Qremaining may be set to include or equal the plurality of lots Qorder. The quantity Qremaining may include any quantity of lots remaining from previous implementations of the multiple order priority algorithm 1900. In one embodiment, for example, the first five (5) orders at a new high market price may be identified and designated as priority orders. It will be understood that orders may be identified based on a variety of criteria, for example, orders may be identified based on the value of Qorder; a period of time in which the order was received, etc.
At block 1906, the orders within the order book may be evaluated to determine whether or not each order has been designated as a priority order. If, for example, Qremaining includes one or more of the designated priority orders, then at block 1908, the priority orders (the first five (5) orders at a new high market price in the present example, may be allocated lots according to the priority. The allocation may be accomplished according to any know allocation principle, algorithm or technique. At block 1910, Qremaining may be updated to reflect the allocation of orders.
At block 1912, if Qremaining did not include one or more of the designated priority orders or includes another value provided by the block 1810, then the lots associated with Qremaining may be allocated in accordance with pro-rata principles.
At block 1914, Qremaining may be updated to reflect the allocation of orders.
At block 1916, the multiple order priority algorithm 1900 may wait for new incoming orders and proceed to the block 1902 upon receipt of a new order.
VII. Timed Order Priority Allocation
In one embodiment a matching algorithm may be configured to designate a predefined number of orders as priority orders if the orders are received within a given period of time. Order that are not received within the given period of time are distributed according to pro-rata principles.
At block 2002, the timed order priority algorithm 2000 may receive a new order which in this present embodiment may be an offer to sell a plurality of lots Qorder.
At block 2004, the quantity of lots remaining to be filled or allocated Qremaining may be set to include or equal the plurality of lots Qorder. The quantity Qremaining may include any quantity of lots remaining from previous implementations of the timed order priority algorithm 2000.
At block 2006, the price associated with Qorder may be evaluated to determine if it represents the new low price for the market. If the price is determined to be the new low market price, then at block 2008, Qorder may be designated as a priority order and a may be activated. The timer may be set for any time or priority period, for example, thirty (30) seconds, one (1) minute, etc.
At block 2010, the timed order priority algorithm 2000 may allocate new lots from contra received orders to satisfy or fill Qorder. For example, during the time or priority period, the timed order priority algorithm 2000 may allocate lots based on FIFO principles.
At block 2012, Qremaining may be updated to reflect the allocation of orders.
At block 2014, the predefined time or priority period may be evaluated against the elapsed time (initiated at block 2008) to determine if the priority period has ended. If the priority period has not ended, timed order priority algorithm 2000 may return to the block 2010.
At block 2016, if Qorder was not associated with a new low market price as determined at block 2006 or the priority period has ended as determined at block 2014, then any lots associated with Qremaining may be allocated in accordance with pro-rata principles.
At block 2018, Qremaining may be updated to reflect the allocation of orders.
At block 2020, the timed order priority algorithm 2000 may wait for new incoming orders and proceed to the block 2002 upon receipt of a new order.
The trading methods, allocation algorithms and variants thereof generally relate to information processing and optimization. In particular, the disclosed trading methods and allocation algorithms embody methods and processes for allocating resources based on criteria such as, for example, price, quantity, time of receipt, etc.
The processor 2124 may be a general purpose processor configured to execute the disclosed trading methods and allocation algorithms. Alternatively, the processor 2124 may represent one or more application specific processor or modules 2124a to 2124c. For example, the module 2124a may be a FIFO allocation module or processor; the module 2124b may be a pro-rata allocation module or processor; and the module 2124c may be a tracking module or processor for processing and updating the order status associated with each method and/or algorithm.
It should be understood that various changes and modifications to the presently preferred embodiments described herein will be apparent to those skilled in the art. Such changes and modifications can be made without departing from the spirit and scope of the present invention and without diminishing its intended advantages. It is therefore intended that such changes and modifications be covered by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5077665 | Silverman et al. | Dec 1991 | A |
5832462 | Midorikawa et al. | Nov 1998 | A |
7089206 | Martin | Aug 2006 | B2 |
7110975 | Marks de Chabris et al. | Sep 2006 | B2 |
7165048 | Heppenstall, Jr. | Jan 2007 | B2 |
7225153 | Lange | May 2007 | B2 |
7233923 | Wallace et al. | Jun 2007 | B1 |
7246093 | Katz | Jul 2007 | B1 |
7472087 | Keith | Dec 2008 | B2 |
7496533 | Keith | Feb 2009 | B1 |
7742977 | Borsand | Jun 2010 | B1 |
7765134 | Pazner | Jul 2010 | B1 |
7827092 | Chait et al. | Nov 2010 | B2 |
8001036 | Brown et al. | Aug 2011 | B2 |
8032437 | Tanpoco | Oct 2011 | B2 |
20020013753 | Marks de Chabris et al. | Jan 2002 | A1 |
20020026429 | Lostis et al. | Feb 2002 | A1 |
20020099647 | Howorka et al. | Jul 2002 | A1 |
20020107748 | Boies et al. | Aug 2002 | A1 |
20030009414 | Furbush et al. | Jan 2003 | A1 |
20030088501 | Gilbert et al. | May 2003 | A1 |
20030110113 | Martin | Jun 2003 | A1 |
20030126066 | Nunes et al. | Jul 2003 | A1 |
20030177086 | Gomber et al. | Sep 2003 | A1 |
20030225672 | Hughes et al. | Dec 2003 | A1 |
20030225673 | Hughes et al. | Dec 2003 | A1 |
20040044611 | Heppenstall, Jr. | Mar 2004 | A1 |
20040059666 | Waelbroech et al. | Mar 2004 | A1 |
20040088242 | Ascher et al. | May 2004 | A1 |
20040111358 | Lange et al. | Jun 2004 | A1 |
20040172337 | Spoonhower et al. | Sep 2004 | A1 |
20040172338 | Spoonhower et al. | Sep 2004 | A1 |
20040210511 | Waelbroech et al. | Oct 2004 | A1 |
20040260640 | Crosthwaite et al. | Dec 2004 | A1 |
20050091142 | Renton et al. | Apr 2005 | A1 |
20050154660 | Sturm et al. | Jul 2005 | A1 |
20050171889 | Daley et al. | Aug 2005 | A1 |
20050171890 | Daley et al. | Aug 2005 | A1 |
20050240510 | Schweickert et al. | Oct 2005 | A1 |
20060015448 | Burkhardt et al. | Jan 2006 | A1 |
20060036448 | Haynie et al. | Feb 2006 | A1 |
20060069633 | Breslow et al. | Mar 2006 | A1 |
20060069639 | Kalt | Mar 2006 | A1 |
20060080219 | Lutnick et al. | Apr 2006 | A1 |
20060106708 | Abushaban et al. | May 2006 | A1 |
20060149659 | Carone et al. | Jul 2006 | A1 |
20060218071 | Sweeting | Sep 2006 | A1 |
20060259402 | West et al. | Nov 2006 | A1 |
20060259403 | Monroe et al. | Nov 2006 | A1 |
20070067231 | Marks de Chabris et al. | Mar 2007 | A1 |
20070083453 | Heppenstall, Jr. | Apr 2007 | A1 |
20070100732 | Ibbotson et al. | May 2007 | A1 |
20070130050 | Claus et al. | Jun 2007 | A1 |
20070162378 | Lutnick et al. | Jul 2007 | A1 |
20070174162 | Lutnick et al. | Jul 2007 | A1 |
20070263233 | Mei et al. | Nov 2007 | A1 |
20070294160 | Brown et al. | Dec 2007 | A1 |
20080010186 | Weimer et al. | Jan 2008 | A1 |
20080046354 | Olsson et al. | Feb 2008 | A1 |
20080243576 | Czupek et al. | Oct 2008 | A1 |
20090125431 | Armstrong et al. | May 2009 | A1 |
20090276348 | Kessler et al. | Nov 2009 | A1 |
20120303513 | Buck | Nov 2012 | A1 |
Entry |
---|
Golden Lion Fund Ltd. (a St. Vincent and the Grenadines international business company); Feb. 14, 2007; www.regent.vc/fund.../Golden—Lion—Fund—Ltd—Offering—Memo.pdf; 50 pages. |
AtosEuronext MarketSolutions, Functional Definition of LIFFE Connect, 2005; 234 pages. |
Matching Algorithms of International Exchanges; Karel Jane cek & Martin Kabrhel RSJ Invest a.s. Prague, Dec. 1, 2007; 21 pages. |
Look Before You Leap Into over-the-counter securities. (1952). Changing Times (Pre-1986), 6(7), 15-15. Retrieved from http://search.proquest.com/docview/199147968?accountid=14753. |
Jarrow, R., & Purnanandam, A. (2007). The valuation of a firm's investment opportunities: A reduced form credit risk perspective. Review of Derivatives Research, 10(1), 39-58. doi: http://dx.doi.org/10.1007/s11147-007-9012-8. |
International Preliminary Report on Patentability in International Patent Application No. PCT/US2009/058181, dated Apr. 12, 2011, 5 pages. |
International Preliminary Report on Patentability in International Patent Application No. PCT/US2009/058926, dated Apr. 12, 2011, 6 pages. |
International Preliminary Report on Patentability in International Patent Application No. PCT/US2009/057986 dated Apr. 12, 2011, 5 pages. |
Chicago Mercantile Exchange, “CME Globex Functionality”, http://www.cme.com/trading/get/abt/functionality/matching.html. |
Chicago Mercantile Exchange, “Lead Market Maker (LMM) Allocation Algorithm”, http://www.cme.com/trading/get/abt/functionality/lmm.html. |
Chicago Mercantile Exchange, “NYMEX LMM Allocation Algorithm”, http://www.cme.com/trading/get/abt/functionality/nymex.html. |
Chicago Mercantile Exchange, “Allocation (Pro-Rata) Algorithm for CME Eurodollar Futures”, http://www.cme.com/trading/get/abt/functionality/allocation.html. |
Chicago Mercantile Exchange, “Allocation Algorithm for CME Eurodollar Options” http://www.cme.com/trading/get/abt/functionality/edo.html. |
Chicago Mercantile Exchange, “FIFO Matching Algorithm”, http://www.cme.com/trading/get/abt/functionality/fifo.html. |
Chicago Mercantile Exchange, “CME and Tullett Liberty to Join Forces to Introduce Innovative Matching and Clearing Capabilities for OTC Markets”, http://files.shareholder.com/downloads/CME/0x0x114937/270df748-2498-4589-810a-c148642b7780/CME—News—2004—3—17—General.pdf. |
“A/c/e, Alliance/CBOT/Eurex, Business Requirements” Jan. 2002. |
CME Group, “Client System Impact: CBOT and CBOT Hosted Exchange Products on CME Globex,” Version 2.0, Jan. 15, 2008, http://www.cme.com/files/cbotclientimpact.pdf. |
The Federal Register Notices, “Self-regulatory organization; Proposed Rule Changes:” Jun. 28, 2007, http://www.thefederalregister.com/d.p/2007-07-05-E7-12940. |
“GL Trade, User Guide for Globex2” Apr. 1999. |
Globex, “User Guide” Jan. 1997, Reuters Financial Media Professional. |
EDGAROnline, Investment Technology Group Inc.—ITG Annual Report (10-K)—Mar. 15, 2006, http://64.233.167.104/search?q=cache:WI51bZluYtMJ:sec.edgar-online.com/2006/03/15/0001104659-06-016833/Section2.asp+%22match+algorithm%22+exchange+nyse+trade&hl=en&ct=clnk&cd=2&gl=us (website currently unavailable). |
“Project A Customer Information Statement, Before You Trade Through Project A” 1992. |
“Project A, User Manual”, Version 1.0, Sep. 1994, Ceres Trading Limited Partnership. |
Chicago Mercantile Exchange, OneChicago, “CME User Reference Guide,” V 5.0, http://www.cmegroup.com/cmegroup/clearing/files/UserReferenceGuide5.pdf. |
Atos Euronext Market Solutions, Functional Definition of LIFFE Connect®, Version 9.0, dated 2005. |
Chicago Board of Trade, How the e-bot® Market Works, 2003. |
London Stock Exchange “Guide to Trading Services” Apr. 2003, www.londonstockexchange.com/cmsattach/1645.doc. |
U.S. Appl. No. 11/729,578, filed Mar. 29, 2007. |
U.S. Appl. No. 12/246,775, filed Oct. 7, 2008. |
U.S. Appl. No. 12/246,796, filed Oct. 7, 2008. |
U.S. Appl. No. 12/246,818, filed Oct. 7, 2008. |
U.S. Appl. No. 12/246,832, filed Oct. 7, 2008. |
Functional Definition of LIFFE Connect, LIFFE Connect Version 9.0, issued version 2.0, 2005. |
Functional Definition of LIFFE Connect for the Chicago Board of Trade, LIFFE Connect version 7.1, CBOT, issued version 2.6, Dec. 2003. |
International Search Report and Written Opinion in International Patent Application No. PCT/US08/03538, dated Jun. 12, 2008. |
Canadian Examiner's Report, from Canadian Application No. 2,739,738, dated Aug. 1, 2013, CA. |
Number | Date | Country | |
---|---|---|---|
20100088212 A1 | Apr 2010 | US |