Method and a system related to determining the price of a combination contract
In a combination contract, up to two different prices can be selected for each leg or sub-contract. The number of products for each leg or sub-contract are allocated between the two prices. Allowing each sub-contract to be traded at different price ticks within the spread ensures a correct net price for the combination contract, which can be repeated any number of times.
Latest OMX Technology AB Patents:
- Method of improving replica server performance and a replica server system
- Method and devices for controlling operations of a central processing unit
- APPARATUS, SYSTEM, AND METHOD OF ELASTICALLY PROCESSING MESSAGE INFORMATION FROM MULTIPLE SOURCES
- ORDER LIFE-CYCLE VISUALIZATION
- VISUALIZATION FOR ACCOUNT BALANCE VIEW
The present invention relates to an automated exchange system, and in particular to an automated exchange designed for trading combinations of contracts.
BACKGROUNDWhen trading contracts for commodities, financial instruments or the like at an exchange in is quite common that the parties involved in the trade want to trade a number of different contracts all at the same time. Such an order involving a number of simultaneous trades of different products usually is given the precondition that the combined price for all the different subcontracts is equal or better than a predetermined price.
An order involving a number of different simultaneous trades of contracts is usually referred to as a combination order or a combination contract order. For example, a person may wish to buy 7 contracts A and sell 6 contracts B and not pay more than $100 for the whole combination contract. The amount that the person pays or receives when a combination order is traded is referred to the net price of the combination order.
Furthermore, when a combination contract (or a number of them) is to be executed at a given net price, it is often necessary to determine the price for each product/sub-contract of the combination order. The price for each sub-contract, sometimes referred to as a“leg,” must be set so that when executing all the legs of a combination contract, the total price of all legs will equal the net price of the combination.
However, the prices for the sub-contracts can not be set arbitrarily. The reason for this is the price structure of most existing exchanges. The price for a given contract is generally traded at a discrete price. In other words, the contract price has to be at a valid price tick, i.e. an integer times the tick size. Also, there is a restriction that the net price has to be a valid price tick. For each product at each particular time, there will also be a valid “interval” corresponding to the price gap between the best selling price and best buying price (bid/ask), which is termed the “spread.”
When trading combination contracts, it is always desired and in some cases required that the price for each sub-contract/leg be within the spread at the time when the combination order is traded.
However, today there exist no way of ensuring that all legs are traded within the spread for each product traded in the combination contract. The problem arises from the fact that the sub-contracts are all traded at discrete prices. Thus, the prices for the individual legs in some cases are hard to find regardless of which multipliers the legs in the combination have, regardless of the different spreads, regardless of the tick size, regardless of the combination quantity, and regardless of the net price at which the combination order is matched.
An additional problem relates to the calculations carried out in an automated exchange system when trying to determine the prices for the individual legs. Such calculations using a conventional algorithm are extensive, and use much processor power. Even then, conventional calculations still may fail to deliver prices for the individual legs that are within the spread. The practical result is to let one or more of the legs be traded at a price outside the current spread or to reject the combination order.
Hence, there is a need to find a way to ensure that all combination orders can be traded regardless of which multipliers the legs in the combination contract have, regardless of the different spreads, regardless of the tick size, regardless of the combination quantity and regardless of the net price. The solution should preferably also reduce the processor load.
SUMMARYIt is an object of the present invention to provide an improved computerized trading system for trading combination orders that determine the prices for the individual legs regardless of which multipliers the legs in the combination have, regardless of the different spreads, regardless of the tick size, regardless of the combination quantity, and regardless of the net price at which orders are matched.
It is another object of the present invention to provide a computerized trading system for trading combination orders that uses less processor power for calculating and determining the prices for the individual legs of a combination order by reliably providing a solution with a correct net price.
These objects and others are obtained by the present invention. For each leg, up to two different prices are selected. The number of products that the multiplier states are allocated between the two prices. Allowing each sub-contract to be traded at, at least, two different ticks within the spread ensures a correct net price for each combination contract, which can be repeated any number of times (combination quantity).
The present invention will now be described in more detail by way of non-limiting examples and with reference to the accompanying drawings, in which:
-
FIG. 1 is a general view of an automated exchange system.FIG. 2 is a flow chart illustrating different steps carried out when determining the prices for individual legs in a combination contract.
In
When trading a combination order in the system shown in
Thus, given a combination contract, a tick size, and a valid price interval for the product of each leg, there will be a valid price interval for the net price. If the net price is outside that interval, there is no valid solution. Such an order will not matched in the system.
In
For the current leg, the percentage determined in step 203 is applied to the multiplier times the spread of that product, which gives an optimum price, step 205. Two valid prices are then selected in a step 207, with one tick apart so that one is above and one below (or at) the optimum price divided by the multiplier.
Depending on where the optimum price is compared with the two selected prices, the number of products given by the multiplier is allocated between the two prices so that the average price comes as close as possible to the optimum price, step 209. When the prices for the first leg are determined, their contribution is subtracted from the net price, step 210 and the calculations are repeated as indicated in step 211 for the remaining legs using the residual net price in the calculations. The procedure is repeated until there are no more legs in the combination contract and the procedure then ends in a step 213.
For example, assume that two products, called A and B are traded at the automated exchange shown in
Thus in this example, the minimum allowed net price is 6 (5*4−2*7=6) and maximum allowed net price is 13 (5*5−2*6=13). In this example, the net price is set to 9; i.e. the combination contract is to be traded at the price 9. If the price for A is selected to 4, the price for B would have to be 5.50, which cannot be handled, since the tick size is 1 and which also is outside the spread. The other allowed price for A is 5, and then the price for B would have to be 8 to give the correct net price, which is outside the spread.
Using the algorithm as described herein the prices for the individual legs would be 3 contracts A at the price 4 and 2 contracts A at the price 5, and 1 contract B at the price 6 and 1 contract B at the price 7. This gives the correct net price for each combination contract and it can thus be multiplied with any combination quantity.
Below an exemplary computer program for implementing the algorithm described in conjunction with
Furthermore, it is quite common that the tick size varies over the whole price interval. This can also be handled by the algorithm as described herein provided that the combination tick size is an integer times each tick size. When the two valid prices are selected one tick apart, it is preferred to use the tick size that is valid at the optimum price divided by the multiplier.
Typically, when the tick size varies over the price interval, the combination tick size will equal the smallest tick size. Such cases can also be handled by the algorithm as long as all tick sizes are a multiple of the combination tick size (vice versa can also be combined). First of all, the legs with non-zero spread are preferably sorted so that the legs with the smallest tick size are calculated last. A change in the algorithm is also required. It should not to round the value for the last leg (marked in the pseudo code above). Then under certain circumstances, two selected volumes will in many cases be non-integers. By converting those to fractional numbers, it can be determined which combination quantities that will still yield an integer value for the number of products at each price. It the smallest tick size equals the combination tick size, the solution will always be integer values and it will thus provide a result for any combination quantity. A common example is that the larger tick size is twice the smaller and that the combination tick size equals the smaller tick size. In this case if the net price is an odd number of small ticks and the tick size for each leg is the larger value, then the combination quantity must be an even number for the problem to have a valid solution.
In the examples above, it is assumed that there is a requirement that all prices determined must be at valid ticks and within certain interval. If in certain applications such requirements do not exist, the algorithm can of course still be used.
If it for some reason is determined that the spread for a particular leg is zero, that violates one of the initial assumptions for the algorithm. But this case can nonetheless be handled. In that case, the legs are only given one valid price, no spread are calculated first, and the legs are assigned only the valid price. Their contribution is then first subtracted from the net-price, and the algorithm is then applied to the remaining legs. If the spread is negative, it is impossible to assign a valid price, and the combination can thus not be priced.
None of the above description should be read as implying that any particular element, step, range, or function is essential such that it must be included in the claims scope. The scope of patented subject matter is defined only by the claims. The extent of legal protection is defined by the words recited in the allowed claims and their equivalents. No claim is intended to invoke paragraph 6 of 35 USC §112 unless the words “means for” are used.
Claims
1. A method of determining the price of individual sub-contracts in a combination contract for different products in an automated exchange including a central computer having a CPU and a memory, the automated exchange being programmed to execute the method comprising the steps of:
- receiving a signal transmission from a remote terminal configured to communicate with the automated exchange, the signal transmission including the combination contract which specifies a first number of sub-contracts for a first product, a second number of sub-contracts for a second product and a net-price, wherein the first of the products in the combination contract has a non zero price spread;
- for the first product, selecting a plurality of different prices for the first number of sub-contracts;
- determining the price of the individual sub-contracts based on the plurality of different prices; and
- providing the combination contract for matching in the automated exchange using the determined individual sub-contract prices.
2. A method according to claim 1, wherein the prices for the individual sub-contracts are calculated product-by-product.
3. A method according to claim 1, wherein when at least one product in the combination contract has a zero-spread, the method further comprises the step of deducing the price contribution from the zero spread product(s) before determining the prices for the remaining product(s).
4. A method according to claim 1, wherein when a tick size varies over the valid price interval of a product, the method further comprises selecting a tick size valid at an optimal price divided by a multiplier which specifies a number of sub-contracts for the product.
5. A method according to claim 1, wherein when a tick size of a product varies over the valid price interval and a corresponding product combination tick size is equal to a smallest tick size, the method further comprises sorting the sub-contracts with non-zero spread so that the sub-contracts with the smallest tick size are calculated last.
6. A method according to claim 1, wherein when at least one sub-contract has only one valid price, the method further comprises first deducting the price of said at least one sub-contract having only one valid price from a net price of the combination contract before determining prices of remaining sub-contracts of the combination contract.
7. An automated exchange comprising:
- means for receiving a signal transmission from a remote terminal configured to communicate with the automated exchange, the signal transmission including the combination contract which specifies a first number of sub-contracts for a first product and a second number of sub-contracts for a second product and a net-price, at least the first of the products in the combination contract having a non-zero spread;
- means for selecting a plurality of different prices for the first number of sub-contracts for at least the first product; and
- means for determining the price of the individual sub-contracts based on the plurality of different prices.
8. A system according to claim 7, comprising means for calculating prices for the individual sub-contracts product-by-product.
9. A system according to claim 7, further comprising means for deducting a price contribution from zero-spread product before determining prices for a remaining product when at least one product in the combination contract has a zero-spread.
10. A system according to claim 7, further comprising means for selecting a tick size valid at an optimal price divided by a multiplier which specifies a number of sub-contracts for the product when the tick size varies over a valid price interval of a product.
11. A system according to claim 7, further comprising means for sorting sub-contracts with non-zero spread so hat sub-contracts with a smallest tick size are calculated last when a tick size of a product varies over the valid price interval and a corresponding product combination tick size is equal to the smallest tick size.
12. A system according to claim 7, further comprising means for initially deducting a price of any sub-contract having only one valid price from a net-price of the combination contract before determining prices of remaining sub-contracts of the combination contract.
13. The system according to claim 7, further comprising means for providing the combination contract for matching in the automated exchange using the determined individual sub-contract prices.
14. A program product embodied in a computer readable medium for use in an automated exchange, comprising computer executable instructions for:
- receiving a signal transmission from a remote terminal configured to communicate with the automated exchange, the signal transmission including the combination contract which specifies a first number of sub-contracts for a first product and a second number of sub-contracts for a second product and a net-price, at least the first of the products in the combination contract having a non-zero spread;
- selecting a plurality of different prices for the first number of sub-contracts for at least the first product; and
- determining the price of the individual sub-contracts based on the plurality of different prices.
15. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for calculating prices for the individual sub-contracts product-by-product.
16. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for deducting a price contribution from a zero-spread product before determining a price for a remaining product when at least one product in the combination contract has a zero-spread.
17. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for selecting a tick size valid at an optimal price divided by a multiplier which specifies a number of sub-contracts for the product when the tick size varies over a valid price interval of a product.
18. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for sorting sub-contracts with non-zero spread so that sub-contracts with a smallest tick size are calculated last, when the tick of a product varies over a valid price interval and a corresponding product combination tick size is equal to the smallest tick size.
19. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for initially deducting a price of any sub-contract having only one valid price from a net price of the combination contract before determining a price of a remaining sub-contract of the combination contract.
20. A program product embodied in a computer readable medium according to claim 14, further comprising instructions for providing the combination contract for matching in the automated exchange using the determined individual sub-contract prices.
3581072 | May 1971 | Frederick |
4412287 | October 25, 1983 | Braddock, III |
4503503 | March 5, 1985 | Suzuki |
4674044 | June 16, 1987 | Kalmus et al. |
5063506 | November 5, 1991 | Brockwell et al. |
5383129 | January 17, 1995 | Farrell |
5546564 | August 13, 1996 | Horie |
5950176 | September 7, 1999 | Keiser et al. |
6035287 | March 7, 2000 | Stallaert et al. |
6226625 | May 1, 2001 | Levenstein |
Type: Grant
Filed: Jun 15, 2001
Date of Patent: Aug 15, 2006
Patent Publication Number: 20030004899
Assignee: OMX Technology AB (Stockholm)
Inventor: Johan Bergenudd (Stockholm)
Primary Examiner: John W. Hayes
Assistant Examiner: Rutao Wu
Attorney: Nixon & Vanderhye P.C.
Application Number: 09/881,209
International Classification: G06F 17/00 (20060101); G06G 7/00 (20060101); G06Q 40/00 (20060101); G06Q 99/00 (20060101);