This application for letters patent contains material that is subject to copyright, mask work, and/or other intellectual property protection. The respective owners of such intellectual property have no objection to the facsimile reproduction of the disclosure by anyone as it appears in published Patent Office file/records, but otherwise reserve all rights.
The present inventions disclosed herein relate generally to apparatuses, methods, and systems for electronic trading and/or auction. More particularly, the present inventions relate to a system and method for a semi-lit market.
Consumers use auction-based systems to bid for and offer goods of value. Such auction-based systems can include an online shopping site, an online ticket booking system, electronic market, or any other trading exchange.
In the field of financial investments, individual investors and traders can buy or sell securities (such as stocks and bonds), foreign currencies, and financial derivative products over an electronic trading platform. Well known electronic trading platforms, such as NASDAQ, NYSE Arca, Globex, London Stock Exchange, BATS Direct Edge, Chi-X Global, TradeWeb, ICAP, and Chicago's Board of Trade, provide virtual marketplaces comprising an information technology infrastructure for buyers and sellers to bid on financial instruments. Typically, a trader submits a bid to an electronic trading platform via an electronic terminal such as a personal computer user interface; and the electronic trading platform transmits bid and ask information that reflects real-time pricing of a financial instrument via a communication network to computer terminals of different trading entities.
There have been efforts made in the financial community to improve the efficiency and fairness of electronic trading systems at market centers and exchanges such that the buy-side investors can route and execute their trade orders without being taken advantage of by other players in the market such as high frequency traders. Many investors are not well informed about predatory trading practices in the security market and may not realize that they could exert some control over their trade orders that used to be completely entrusted to brokers or brokerage firms.
Furthermore, the existing private and public market centers or exchanges tend to distribute too little or too much trade information to market participants. As a result, there is a lack of transparency with some marketplaces while an oversupply of market data in others, both of which create opportunities for unfair trading practices against investors and could lead to their distrust of the marketplaces.
Existing electronic trading platforms also lack an efficient mechanism to help brokers or brokerage firms mitigate risks in certain situations when they have to take on risky positions in providing services to their investor clients. Many such services and related trades are still handled manually and/or on an ad hoc basis, potentially exposing the brokers or brokerage firms to market risks longer than necessary.
In view of the foregoing, it may be understood that there are significant problems and shortcomings associated with current tools and methods for electronic trading.
To overcome the above-mentioned and other problems and shortcomings in the prior art, the present application discloses a number of techniques for improving electronic trading.
According to some embodiments of the present invention, an electronic trading system may selectively disclose to, or withhold from, trade participants order book data depending on whether each participant's trade order meets a predetermined threshold price and/or threshold size or other parameter(s).
The present invention will now be described in more detail with reference to exemplary embodiments thereof as shown in the accompanying drawings. While the present invention is described below with reference to exemplary embodiments, it should be understood that the present invention is not limited thereto. Those of ordinary skill in the art having access to the teachings herein will recognize additional implementations, modifications, and embodiments, as well as other fields of use, which are within the scope of the present invention as described herein, and with respect to which the present invention may be of significant utility.
In order to facilitate a fuller understanding of the present invention, reference is now made to the accompanying drawings, in which like elements are referenced with like numerals. These drawings should not be construed as limiting the present invention, but are intended to be exemplary only.
Transmission Latency Leveling (TLL) & TLL Portal
Embodiments of the transmission latency leveling technology (hereinafter “TLL”) provides an electronic trading order management infrastructure, such as a “point-of-presence” or “POP,” which receives and routes electronic trading orders from different trading entities at a network access point via a transmission medium to create a certain amount of transmission latency before the trading orders could arrive at and be executed by electronic market centers to reduce order book arbitrage that may be exploited by high frequency trading participants. The TLL/POP infrastructure may also impose some amount of transmission latency on outgoing market data updates in order to reduce such unfair trade practices as latency arbitrage.
In some implementations, the TLL allows an investor to elect various order handling instructions from an application (website, desktop, etc.) which then creates a custom specification (e.g., in accordance with Financial Information eXchange (FIX) protocol for electronic trading) such that those elections can be sent over any medium to a broker (or vendor). The instructional videos, behind a secure login (or not), provide context for the order handling elections. The types of elections and/or order handling instructions could be extensive, but minimally include order routing preference and sequence, and a preference on a percentage allocation of resting order flow to a given trading venue.
In some implementations, the TLL provides for technical functions within the trading system relating to sequencer, memory management, and resiliency/redundancy. In some embodiments, the TLL may provide web form with a series of educational videos to help (A) inform investors about certain practices in the market generally, and (B) to let investors then select from a series of options to help them generate a set of instructions to help request tailored order routing and algorithm configurations from their broker(s).
In one implementation, a Point-of-Presence (POP) access point may be installed and configured to receive trading orders from market participants and pass on the orders to a data exchange for execution; the transmission to and from POP may lead to additional transmission latency, which may be the location of the market participant (e.g., transmission distance, etc.), transmission medium (e.g., cable, microwave, etc.), circuit resistance, other information technology infrastructure advantage and/or other transmission speed advantage, and/or the like. For example, the length of the cable required to connect the POP and a data exchange or market participant terminal may be utilized to create a transmission latency. Such transmission latency may be controllable by adjusting the length of the transmission cable.
In one implementation, the POP may comprise a piece of non-intelligent network hardware including at least one communication link with an input port for receiving orders, and another communication link with an output port for transmitting the received orders to a data exchange and/or other entities. In another implementation, the POP may comprise a computer readable medium storing computer executable instructions to perform a series of instructions by a processor.
It should be noted that although the examples discussed herein often include market data centers and data exchanges for financial instrument trades, the TLL may be applied to any auction-based systems or electronic markets, such as, but not limited to trading exchanges or dark pools for securities, currencies, or other financial instruments, alternative trading systems, Electronic Communication Networks (ECNs), matching engines, advertising exchanges (display, mobile, radio, search, video, and/or the like), online flight ticket/hotel booking systems, online auction shopping systems, electronic markets, virtual world in-game markets such as those found in massively multiplayer online role- playing games (MMORGs), and/or the like.
Further, the TLL may be applied to any electronic messaging systems where latency and/or access to resources is a consideration. For example, in an online video game where the speed at which players receive and submit messages determines how quickly they are able to understand and respond to conditions in the game, and where a player is able to react and register actions ahead of other players, gains an advantage that may result in said player winning the game. As such, the TLL may provide institutionalized fair access to information and resources with an auction-based system.
Typically, the market center or electronic exchange served by the TLL/POP infrastructure do not receive trading orders or execution instructions directly from investors but have to receive the orders/instructions through the brokers or brokerage firms who may or may not be interested in or capable of providing flexibility to the investors in order routing or trading strategy. In order for them to take full advantage of the efficiency and fairness of the TLL/POP infrastructure, it may be advantageous to provide investors with an informational and educational portal that not only explains the risks from predatory trading behavior and available countermeasures but also assists the investors to configure their routing and trading preferences. According to some embodiments, the TLL portal may collect an investor's trading preferences and then generate instructions for the investor to convey to a broker who executes the investor's trades. Alternatively, according to other embodiments, the trade routing and execution configurations may be set by an investor directly on the TLL system, as described below in connection with
The investor's configurations may include order routing and trading preferences and/or sequence, such as routing to lit (public) markets versus dark pools, pinging an order versus resting an order versus split-resting an (with balanced re-allocation), the percentage allocation of resting order flow to a given trading venue, whether to perform market checks for rest order fulfillment before order routing, and so on.
For example, trading markets may be exchanges such as lit markets and/or dark pools. In some cases, participants may customize trading algorithms to their preferences. For example, the market participant may choose a strategy of either pinging or resting an order in the trading market. In some implementations, when a participant chooses to ping markets, an order is sent to markets blindly to find a trade. But, in these embodiments, the participant's order may be faced with other investors looking to trade in size and/or employing predatory strategy of using some number of shares, such as 100 shares, as bait for a trading signal. With the average size of trades in most markets being less than 200 shares (according to Financial Industry Regulatory Authority (FINRA). ATS Transparency Data. FINRA, 18 Aug. 2014), in these embodiments it is likely the other investors are employing the aforementioned predatory (high-frequency trading) strategy. In some implementations, a participant may choose to rest an order in markets, i.e., place an order in the markets and wait for trades to take place. In some embodiments, the TLL may provide for trusted markets, where the impact of predatory strategies is reduced. In some embodiments, if other market participants such as investors and brokers rest in same trusted markets, the probability of natural trading participants (for example, participants that are not employing predatory strategies) finding each other may increase, and the exposure to predatory strategies is reduced.
In some embodiments, an order may be split-rested between multiple different markets. For example, an investor's broker may have a preferred market where the broker places resting orders, and an order may be split-rested between a trusted market, such as one provided by the TLL, and a broker's preferred market. In some implementations, a market participant may benefit from the best markets by reallocating orders from markets where the resting orders are not executing to ones where they are executing. For example, a balanced re-allocation method may be utilized to split-rest an order into two or more trading markets, and when an order receives a complete fill and executes in any of the selected markets, the remaining marketable shares may be immediately sent to that market in an attempt to trade the remaining shares. In some implementations, after a reasonable amount of time passes, the remainder of the order may be redistributed in a balanced manner among the selected markets. As another example, the resting order may be evenly split and allocated amongst the selected markets, and some of the resting order in one market may receive a fill. In these embodiments, the remaining shares may be evenly reallocated amongst the markets.
As shown in
In Step 1002, educational content may be presented to an investor visiting or logging into the TLL portal. The educational content may be presented via an interactive user interface and may include one or more textual, audio, and/or video materials explaining the fairness and transparency advantages of the TLL trading platform and the danger of predatory trading activities and HFT players. For example, the TLL portal may show or have links to user guides, white papers, testimonials, cartoons, and video clips describing the TLL/POP methodology and available routing and trading strategies.
In Step 1004, the investor's answers to a series of questions on routing preferences and/or trading strategies may be collected by the TLL system. The series of questions may be presented in a more interactive Q&A session or could be listed a less interactive questionnaire form. For example, the investor may be prompted to select a percentage of his/her passive non-displayed orders to rest at a TLL-facilitated market center. The investor may further specify whether to rest orders using a limit price that is consistent with the investor's original order limit. For another, the investor may also be prompted to decide whether to use a balanced re-allocation method for an order split-rested in two or more pools. The investor could request a configuration where, if an order in any of the selected pools receives a complete fill, all remaining marketable shares are immediately sent to that pool in an attempt to trade additional shares. The investor may further choose to use market checks function as described in more detail below in connection with
Then, in Step 1006, the investor's answers (and choices) may be synthesized into a set of trade configurations which the TLL system may record in its database in association with the investor and/or his/her trade orders in Step 1010. While the questions and answers on the TLL portal user interface may be more colloquial, the synthesized trade configurations are typically in more accurate, somewhat technical terms for investment professionals. For example, the configurations may be formulated according to the FIX (Financial Information eXchange) protocol or other digital data exchange format.
Next, in Step 1008, one or more instruction sheets or specification documents may be generated for the investor to provide the trade configurations to the investor's broker or brokerage firm. For example, through the click of an on-screen button, the investor may cause an instruction sheet or specification document to be generated. The instruction sheet or specification document may be in the form of a portable document format (PDF), extensible markup language (XML), or other format.
As mentioned above, the investor's interaction with the TLL portal also allows the investor-specific trade configurations to be recorded in a database. Subsequently, based on the recorded configurations, the TLL system may be able to confirm in Step 1012 whether the investor's trades are routed and/or executed in accordance with the pre-set trade configurations.
In some implementations, a market participant's routing strategy may contain a combination of dark market and lit market routings. In some implementations, an investor and/or broker may include the TLL's check with his/her regular routing process and allow oneself to access the liquidity that is made available by the TLL. For example, a broker and/or investor may utilize the TLL's check before routing aggressive orders to lit markets and any external liquidity destination, including a broker's own pool if one is available. In some implementations, the broker may use the TLL at the broker's own discretion. In some embodiments, as other market participants such as investors and brokers route passive and aggressive order through the TLL, the probability of natural trading participants' orders (for example, participants that are not employing predatory strategies) meeting may increase, and their exposure to predatory strategies reduced. In some embodiments, the TLL Smart Order Router will be connected to the lit exchanges (for example, the 11 available) only and is best used for taking liquidity aggressively on the lit markets. Other embodiments may include access to non-displayed liquidity sources.
In some implementations, the TLL may provide for a composite process that allows for fulfillment of an incoming order by compositing resting orders that are smaller than the incoming order to satisfy the minimum quantity requirement of the incoming order. In some embodiments, the compositing of small orders may promote order interaction and also protect a market from predatory strategies that employ small orders to search for trading signals.
In some embodiments, the TLL may increase order interaction by matching resting orders with a minimum quantity instruction by a participation process. For example, a 1000 share minimum quantity buy order may be in the same pool as a 200 share one with a time priority over the 1000 share. In this example, if a 1000 share sell order comes into the pool, the incoming 1000 share sell order will trade first with the 200 share order and be left with 800 shares. In some implementations, the TLL may allow the 800 share sell order to trade with the resting 1000 share buy order, since the 800 share sell order fulfills the minimum quantity requirement of the 1000 share buy order. In such embodiments, the TLL allows traders' wish to be selective about contra-side trading interests while increasing trading opportunities.
For example, in one implementation, locations where orders from market participants are executed may also be the location where orders are accepted, from which reports of quotations, executed trades, and other market data are disseminated to the public. By locating its trading entity at the same place (e.g., co-locating) and/or within close proximity to a market center, one market participant may be able to receive market data updates ahead of other market participants to whom the data dissemination may take a longer time. In one implementation, such market data transmission advantage may be caused by a variety of factors, such as, but not limited to the location advantage (e.g., shorter transmission distance, etc.), transmission medium (e.g., cable, microwave, etc.), circuit resistance, other information technology infrastructure advantage and/or other transmission speed advantage, and/or the like.
In one implementation, the market data may include quotations, last trade feeds, and/or other market information. In one implementation, the market center 120 may comprise any kind of exchange, market data publisher, alternative trading system, Electronic Communication Network (ECN), dark pool, and/or the like. In one implementation, the market center may comprise a data exchange that may execute a trading order. In further implementations, the market center may comprise a matching engine and a smart router that may match, route and/or re-route any orders to one or more data exchanges, which may be affiliated with the market center, or located at another market center.
Market participants, such as, but not limited to, high frequency trading (HFT) participants may take advantage of the faster data transmission advantage to engage in strategies known as “latency arbitrage.” As shown in
In one implementation, the TLL infrastructure may provide a “point of presence” (POP) structure 110 to alleviate the latency arbitrage and allow a wider range of participants access to a fair market. For example, as shown in
In one implementation, the POP 110 may comprise a hardware access point which may comprise a processor, a memory unit, one or more data I/O ports, and/or the like (e.g., see
In further implementations, cable length, circuit resistance, and/or other hardware parameters of a POP access point may be adjustable, e.g., via a user interface, etc., so that the transmission latency created by the POP access point may be adjustable.
In one implementation, the TLL/POP structure may reduce the advantage of co-location by HFT participants 102c. A HFT participant 102c that locates its trading systems at the point of presence may receive a data feed delayed by the round-trip latency from the point of presence 110 to the market center 120. Thus, an HFT strategy (e.g., 104) based on the advantage of a lower-latency feed may no longer be certain that they will execute trades based on market data before other participants 102a-b even receive the data, e.g., 108, etc.
In a further implementation, as further illustrated in
For example, many market centers may allow participants to place orders with a “midpoint peg,” whose limit price is dynamically adjusted by the market center to always be halfway between the national best bid and offer prices (the NBBO), e.g., 121. The midpoint peg order is intended to only execute at the midpoint price of the present NBBO. For example, when the order is priced based on out-of-date NBBO data, the order price may not be the midpoint of the most up to date NBBO, and could result in the order not trading or trading a price inferior to the then up-to-date midpoint price.
For example, in market A, the NBBO is calculated as $0.10×$0.12 (i.e., NBB is at $0.10 and NBO is at $0.12) and the midpoint is $0.11. When the market moves up to a new NBBO $0.11×$0.13, the new midpoint is $0.12 and the trading order data may need to be updated accordingly in order to be an effective midpoint peg strategy. If the HFT participant gets the new midpoint ($0.12) before market A has time to update, the HFT participant may potentially buy shares at market A for $0.11 and instantly/simultaneously sell them on another market for $0.12 locking in a “risk free” arbitrage of $0.01. Such scenario may be different from an order that is repriced (e.g., under the U.S. Securities and Exchange Commission's Regulation NMS (“Regulation NMS”) or similar laws), wherein in market A, the NBBO is calculated as $0.10×$0.12., market A also has a bid at $0.09. If the market moves and the new NBBO is $0.09×$0.11 and market A doesn't update in time, it may not allow a sell order for $0.09 to match with the resting buy order for $0.09 (because Regulation NMS prohibits trading through the $0.10 bid). Alternatively, when there is an order pegged to the bid on market A and the NBBO is calculated at $0.10×$0.12, if the market moves and the new NBBO is $0.09×$0.11 and market A doesn't update in time, it may still have the order pegged to the bid $0.10; in this way, the HFT participant may sell at $0.10 and immediately look to buy on another market at $0.09.
In one implementation, the pegged limit price is determined by the market center with reference to the market data to which it has access. When the market center uses the consolidated market data feed to determine the NBBO while an HFT participant 102c, which may be co-located with the market center, uses proprietary market data feeds (from proprietary or 3rd party ticker plants, such as Exegy, Redline, Wombat, and the like), the HFT participant 102c may be able to process an NBBO update, submit an order, and execute against a midpoint pegged order (e.g., see 114, etc.) before the market center has processed the NBBO update.
For example, if the NBBO has changed from $0.10×$0.12 to $0.08×$0.10, the HFT participant 102c may execute its order book strategy 130 by immediately sending mid-point limit sell orders looking to execute at $0.11 (the midpoint of the original NBBO). If a market center with slower data feeds still does not know the NBBO has changed, it may trade a mid-point peg buy order against the HFT 102c midpoint sell order, at a price that is inferior to the latest NBBO. Thus, the pegged order may be executed outside the present NBBO, frustrating the intent of the order. If the market center had the same updated NBBO as the HFT participant, the pegged order would have been re-priced to the midpoint of the new NBBO ($0.09) as well, and the HFT participant would not have been able to execute against the pegged order. This arbitrage strategy may similarly be used to take advantage of other order types, such as “hidden” orders that are priced more aggressively than the updated NBBO but were previously within the NBBO.
In one implementation, the TLL may adopt a similar infrastructure as shown in
For example, if ta, represents the time that it takes for the HFT participant 121 to receive and process a market data update 135, tb is the time for the HFT participant 121 to submit its arbitrage-strategy order to the market center, and tc is the time for the market center to receive and process the market data update, HFT participant 102c may enjoy arbitrage whenever the inequality ta+ta<tc holds. There are various methods by which the HFT participant 102c may reduce ta and tb relative to tc. For example, market data may be disseminated through a consolidated market data feed including data from all market centers, but many market centers also offer proprietary data feeds of the center's own trade and quote data. Due to the nature of the consolidation process, the consolidated market data feed may generally be delayed relative to the proprietary feeds. Thus, if the market center is using the consolidated market data feed while the HFT participant 102c uses proprietary feeds, ta will lack the delay and may be significantly less than tc. The third term, tb, may also be reduced through “co-location”, e.g., the HFT participant 102c places its servers in locations physically close to the market center, thus reducing the latency in transmission time.
In one implementation, the market center may attempt to decrease t, to reverse the inequality that allows the arbitrage strategy to take place, by using proprietary feeds and faster technology, but the fast pace of technological advancement may simply create a never-ending “arms race” in which participants and market centers would continue to reduce their latencies beyond the latest advancement by their counterparts. Thus, this may not be a cost-effective business strategy for a market center, so many do not attempt to compete with HFT participants' technologies. In an alternative implementation, the TLL provides an infrastructure, e.g., via the POP, to remove the arbitrage opportunity by increasing tb instead of any costly technological competition to reduce tc.
In one implementation, tb may be increased by the latency from the point of presence 110 to the market center, so that ta+tb>tc and thus the arbitrage strategies such as the order book arbitrage strategy discussed in
For example, when a broker 125 submits a trading order 131 to exchange 122a at the data center 1120a on behalf of their client 130 (e.g., a non-HFT trading entity), and a second order 132 to exchange 122b at the data center 2120b. Due to the physical location advantage, the HFT 121 may receive the market data 135 including order execution information 131 with regard to the order 131 submitted by the broker 125 from exchange A 122a. The HFT 121 may internally synchronize such information and react to the market data, e.g., the HFT 121 may generate an order 3 and/or cancel any pending orders 133 at exchange B 122b based on the obtained information related to the execution of order 131. Therefore, due to the physical distance between the broker 125 and data center 2120b, the HFT 121 may be able to act on the updated market information after the order 1131 has been executed, before the order 2132 arrives at exchange B 122b, rendering the order 2132 an uncompetitive trading order based on out-of-date market data (e.g., prior to order 1 is executed, etc.).
In another implementation, with the TLL POP infrastructure as shown at
In one implementation, if the HFT 121 TLL obtains the updated market data 135 reflecting execution of order 1131 via POP 110, even if HFT 121 reacts to the market change immediately, HFT 121 may then route the order to the exchange 122b at datacenter 2120b. As such, the extra transmission time, e.g., from HFT 121 at data center 1 to HFT 121 at data center 2, may increase latency of HFT orders; by the time HFT 121 at data center 2120b may be able to submit and/or cancel an order 3133 based on market data 135 reflecting order 1 execution 131, the broker's 125 order 2132 may have arrived at data center 2120b (e.g., order 2132 may be submitted directly to data center 120b because it is not intended to be executed at TLL, etc.), and has been executed at exchange B 122b. Thus, the order 3 may not have any advantage in terms of updated market data over order 2132.
For example, the transmission time of order 2132 from broker 125 to the data center 2120b may be 89ms; and the transmission time latency (e.g., additional cable length, circuit resistance, etc.) caused by the POP access point 110 may comprise the time transmission of Market Data 135 from TLL 122a to the POP 110 to HFT 121, e.g., 30ms, and the time transmission from the HFT 121 to data exchange B 122b, e.g., 60ms, which may result in a total latency of 90ms. In one implementation, the POP and/or TLL may not need to estimate, measure and/or signal the timing when an order is sent and/or received; instead, the physical configuration of POP may incur the additional latency as discussed above. Therefore, any order 3 may arrive at Exchange B after order 2 has arrived.
In another implementation, as shown at
It is worth noting that although the examples given in
In one embodiment, various market participants 202a-n may communicate with a market center 240 for trading orders such as a bidding and/or offering request 201a-b. In one implementation, such market participants may include, but not be limited to individual traders, brokers, portfolio managers, and/or the like. In one implementation, such order data 201a-b may not be directly submitted from the market participant 202a-b to the market center 240, but may be routed via the POP 210, as will be discussed below.
In one implementation, the market center 240 may comprise one or more centralized and/or distributed electronic trading platform and/or market exchange, such as but not limited to NASDAQ, NYSE, BATS, Direct Edge, Euronext, ASX, and/or the like. In one implementation, the market center 240 may obtain and update bidding/offering data feeds 204, and provide such market data updates 206 to participants. In one implementation, such market data update 206 may comprise proprietary feeds, which are directly provided to HFT participant 202x. Exemplary real-time market data feeds may comprise a CSV file format, via the ITCH protocol, and/or other electronic trading protocols, including data feeds from various financial data vendors, such as but not limited to Google, Knoema, Netfonds, Oanda, Quandl, Yahoo, Xignite, and/or the like. In one implementation, the HFT participant 202x may parse the CSV file to obtain market data information. An example of the pseudo-code segment to test the CSV file from Quandl may take a form similar to the following:
In another implementation, the market center 240 may generate a (Secure) Hypertext Transfer Protocol (“HTTP(S)”) POST message including market data feeds for the HFT participant 202x in the form of data formatted according to the XML. An example listing of market data feeds 206, substantially in the form of a HTTP(S) POST message including XML-formatted data, is provided below:
In one implementation, the HFT participant 202x, upon obtaining market data feeds 206, may generate a trading order 207 based on their trading strategy, e.g., a bidding request based on the most-up-to-date bid and offer price, etc., and to find/query a POP for order submission. For example, in one implementation, the TLL may route the trade order to a POP based on the participant's geo-location, intended trading exchange type, and/or the like. For example, the HFT participant 202x may issue PHP/SQL commands to query a database table (such as
The HFT participant 202x may submit a bidding/offering request 209, and such request is delivered to the POP 210. For example, the trading order including the bidding/offering request 209 may be entered by an individual via an electronic trading user interface, e.g., see
In one implementation, the POP 210 may be housed at the same place with a market center 240, e.g., based on geo-location proximity, etc. In another implementation, the POP 210 may be integrated with a centralized TLL server 220, e.g., all trading orders may be routed to a remote POP/TLL server prior to routing to the market center 240 for execution.
In one implementation, the POP 210, upon receiving a bidding/offering request 209 from the HFT participant 202x (and/or other participants), may pass on the order request 211 to TLL 220, which may route the order request to the market center 240 for execution. In one implementation, other market participants 202a-n, e.g., whose physical location is further from the market center 240, and/or receive a relatively slower consolidated market feeds, etc., may receive the market data updates 212a-b. In one implementation, the market participant 202n may similarly submit a bidding/offering request 214, which may be routed to the POP 210.
In one implementation, the POP 210 may receive the received bidding/offering requests (e.g., 209, 214, etc.), e.g., via a communication link such as a cable connection, etc., and submit the trade orders including the bidding/offering data 215 to the TLL 220 for execution, and/or being routed from TLL to the market center (e.g., another exchange, etc.) 240 for execution. In one implementation, such trade orders 215 may be sent in a batch, e.g., in a pseudo-synchronized manner, etc. In another implementation, the POP 210 may not need to “hold” and/or estimate the “time” to submit bidding/offering data 215 to the market center 240 for execution, as the re-routing via a transmission medium (e.g., cable, microwave, etc.) at POP 210 has inherently created latency so that trading orders 209 from the HFT participant 202x may not have arbitrage over trading orders 214 from other participants 202a-n.
In one implementation, the TLL 220 and/or a market center 240 may execute the received orders 216, e.g., to facilitate a transaction if any bidding/offering matches. In one implementation, the TLL may generate a transaction record 218 (e.g., trades executed at the TLL 220, and/or information relating to trades executed at other market center 240, etc.) for the TLL server 220 to store at the TLL database 219. In one implementation, the POP 210 may place a timestamp on the transaction record 218 as the trading order being passed on via POP. For example, such transaction record 218 may include timing parameters with regard to the HFT orders and orders from other market participants 202a-n for the TLL server 220 to analyze whether the arbitrage has been successfully reduced. Such record 218 may be generated periodically, intermittently and constantly, and/or upon requests from the TLL server 220.
An example listing of a transaction record 218 substantially in the form of XML-formatted data, is provided below:
In one implementation, the market center may provide data feeds to various market participants, including HFT participants, and/or other non-HFT participants. In one implementation, as discussed in
In another implementation, other market participants, e.g., non-HFT participants, may receive market updates, e.g., via consolidated market data feeds 313, which may have relative latencies. In one implementation, the market participant may generate a trading order and provide such order including a bidding/offering request 314 to the TLL POP. In alternative implementations, for non-HFT market participants who do not enjoy a close physical location to the market center, the TLL may or may not request such participants to submit trading orders to the POP.
In one implementation, upon the TLL/POP releasing a trading order 312, the market center may receive and execute the order 315. For example, the market center may parse the order to retrieve the financial instrument ID, bidding/offering price, and determine whether it constitutes a successful bid 316. If yes, the market center may facilitate order transaction, and update the current bid and offer price listing based on the new transaction 317.
In one implementation, the TLL/POP may generate a POP record 318 (e.g., see 218 in
For example, the TLL may set up different POP entities for the TLL administrator. For example, the TLL may allocate a POP located in New Jersey to the HFT participant for any orders intended for NYSE 417; or a POP located in New York for any orders intended for NASDAQ 418, and/or the like. In one implementation, the TLL may allow the administrator to test the allocation, e.g., by showing the estimated transmission time from the allocated POP to the intended data exchange, etc.
With reference to
For example, a customer may wish to set conditions on the execution of an order placed with a broker. Although a broker may need to generally abide by its customer's instructions, in present markets brokers may have a certain degree of discretion as to how the customer's order is executed, thus allowing the market to execute an order which may be different from the ultimate customer's instructions at the brokers' discretion.
In one implementation, the TLL may provide an UI to allow a broker's customer to set discretionary settings 407 directly with the market. These settings may indicate when the customer intends to trade based on one or more of the following factors: symbol, market capitalization, current spread as compared to historical spread, displayed liquidity, correlated instrument pricing, strategy type, average daily volume, order size as compared to average daily volume, minimum fill size, notional value, price, minimum trade size, discretionary price, and/or urgency, order type and/or the like.
In one implementation, the customer may then instruct the broker to route orders to the market with an indication identifying the customer. The market may recognize the indication, match the order to the discretionary settings previously set by the customer, and follow the customer's discretionary settings in executing the order, which may eliminate the ability of brokers to deviate from customer order instructions where technicalities create ambiguities and the resulting order handling potentially runs contrary to the customer's instructions to the broker or the customer's best interest.
For example, a customer may configure a “synthetic all or none” order type via the settings 416-418. In one implementation, the electronic trading order may be executed in an “all-or-none” (AON) manner, which may only execute when there is sufficient liquidity on the market to fill the entire order. If there is sufficient liquidity to fill only part of the order, an order marked AON may not be executed at all, while an order not marked AON may execute against the liquidity and remain partially unfilled. In one implementation, a limitation of this order type is that it may only execute against liquidity on a single market. For example, such AON order may not be filled with liquidity from more than one market.
In one implementation, the TLL may execute a “Synthetic AON” order type. For example, with this order type, a market participant may specify a minimum quantity to be executed and a price at which the participant would execute the order. The TLL may determine if the minimum quantity can be executed against the total of displayed and non-displayed liquidity on the TLL itself and displayed liquidity on all other trading venues to which the TLL routes orders. If there is sufficient combined liquidity to execute the order at a price no less favorable to the market participant than the specified price, the order may be partially executed at the TLL and partially routed to other trading venues such that the minimum quantity will be filled by the executed part of the order and the routed part of the order. It is possible the one or more of the routed orders will be partially filled, or not filled at all, so unlike the traditional AON order type, the Synthetic AON order is executed on a “best efforts” basis. To minimize the impact of the initial trade executed by the TLL on routed order executions and the ability of other participants to take advantage of the Synthetic AON order type by using the TLL execution as a signal and racing the TLL routed orders to other market centers, the TLL will, when routing the order(s), ensure that no market participant will receive information about the TLL order execution until the routed orders have travelled sufficiently far as to eliminate the possibility of being raced to their destination. This process may include use of the point of presence facility described above. In one implementation, the POP structure may improve the effectiveness of the Synthetic AON orders, although there may not be any general guarantee of a full fill.
In further implementations, the TLL may match and/or prioritize orders according to a variety of factors, e.g., price, display, broker, time priority, etc. The best priced order in the Order Book may have precedence over all other orders. At the same price, displayed orders may have precedence over non-displayed orders. At the same price and display status, a broker's resting orders may have precedence over other brokers' orders, when that broker's order is testing against the Order Book. Among a broker's own orders, orders marked as Agency may have precedence over orders marked Principal. Among all orders competing at the same priority level, the oldest order will have precedence. Among all displayed orders at a given price, precedence may be given first to orders marked Agency, in time priority, and then to orders marked Principal, in time priority, belonging to the same Subscriber as the order being processed, and then to all other displayed orders at that price in time priority; the oldest orders having the higher precedence. Among all non-displayed orders at a given price, precedence may first be given to orders marked Agency, in time priority, and then to orders marked Principal, in time priority, belonging to the same Subscriber, and then to all other non-displayed orders at that price in time priority; the oldest orders having the higher precedence. In one implementation, specific order condition parameters, such as Minimum Quantity, may be elected for non-displayed orders and Immediate Or Cancel (“IOC”) orders. In the event that a resting order having precedence on the TLL's Order Book may not be executed due to its specific conditions, that resting order will surrender its precedence in the Order Book for the duration of that processing cycle.
In one implementation, each time the TLL initiates a re-pricing, display refresh, book recheck or routing action (collectively, “Book Action”) on an order resting on the Order Book, it may do so in price/time priority, with the timestamp of the portion of the order upon which the action is taken being used to determine time priority, and with the order's, or portion of the order's, resting price on the Order Book being used to determine price priority.
In one implementation, each time the TLL re-prices a displayed order, or displayed portion of a reserve order, the TLL will assign a new time stamp to the order (or portion of the order), for the determination of time in price/time priority of the Order Book.
For example, TLL subscribers 510 may electronically send orders to buy and sell securities traded on the TLL (e.g., acting as a data exchange itself, etc.) through the use of the FIX API. In one implementation, direct access to the TLL may be available to subscribers at an Internet Protocol (“IP”) address via communications that are compliant with the FIX API provided by the TLL.
In one implementation, a sequencer 506 may parse the data and send data to a trading engine 515. Exemplary data message packet structure 519c is provided in
In further implementations, the TLL may provide a variety of routing options to route orders to another market center (e.g., see 134 in
For example, the TLL may implement a Route to Take protocol, e.g., a routing option under which the system checks an order against the order book for available shares and routes any remaining unexecuted shares as an immediate-or-cancel orders to destinations on the system routing table. If shares remain unexecuted after routing, they are posted on the order book. Once on the order book, should the order subsequently be locked or crossed by another accessible market center, the System may route the order or portion of the order to the locking or crossing market center if marked re-routable by the Subscriber (e.g., the client, an investor, etc.)
As another example, the TLL may implement a Route to Rest protocol, under which the TLL System may check an order against the Order Book for available shares and routes any remaining unexecuted shares as immediate or cancel orders to destinations on the System routing table. If shares remain unexecuted after routing, the System will split the display size of the order between the Order Book and another venue, as determined by the TLL routing table. For any execution to occur on the TLL during the Pre-Market Session or the Post-Market Trading Session, the applicable order price must be equal to or better than the highest Automated Quotation Bid or lowest Automated Quotation Offer (“NBBO”), unless the order is marked ISO or an Automated Quotation Bid is crossing an Automated Quotation Offer (or unless the execution falls within another condition, e.g., as analogous to an exception set forth in Rule 611(b) of Regulation NMS).
In one implementation, unless otherwise specified by Subscriber order instructions, incoming orders may first be tested for execution matches against the Order Book, and any unexecuted shares will be cancelled, posted on the Order Book, or routed executions may occur when an order to buy and an order to sell match on the Order Book and may occur when an order routed to an away venue is matched by that venue. The System will process incoming orders to the System in the sequence in which they are received, including unexecuted orders or portions of orders returning from orders routed to away venues. While orders or portions of orders are routed to away venues, those orders or portions of orders are not part of the System incoming order process queue, allowing the process of subsequent sequential orders to take priority.
In executing orders submitted to the Order Book, the System may not distinguish between orders submitted by Subscribers for their own accounts and orders submitted by Subscribers for their customers, with the exception of Broker Priority functionality. Within Broker Priority, priority is given to resting Agency orders over resting Principal orders for a given broker.
In one implementation, Subscribers may submit orders to the System from remote locations and have equal access to orders residing on the Order Book. Similarly, because orders on the TLL may be executed automatically, no Subscriber may have the ability to control the timing of execution other than to change or cancel an order prior to execution. An order to buy submitted to the Order Book may be automatically executed by the System to the extent that it is priced at an amount that equals or exceeds any order to sell for the same security submitted to the Order Book, and that any specific conditions elected on such order by the submitting Subscriber are satisfied. Such order to buy may be executed at the price of the lowest-priced order to sell having precedence on the Order Book.
In one implementation, an order to sell submitted to the Order Book may be automatically executed by the System to the extent that it is priced at an amount that equals or is less than any order to buy for the same security submitted to the Order Book, and that any specific conditions elected on such order by the submitting Subscriber are satisfied. Such order to sell shall be executed at the price of the highest-priced order to buy having precedence on the Order Book. In the event that less than the full size of a resting order is executed, whether displayed or non-displayed, the unexecuted size of the order may continue to reside on the Order Book, consistent with the Subscriber's instructions, and if displayed, may be redisplayed at such price. Such partially executed orders retain priority and precedence at the same price. Upon a change to the Order Book, the NBBO, or as part of the processing of inbound messages, the System may test orders on one or both sides of its market against the contra side of the Order Book to determine if new executions can occur as a consequence of the change in the TLL inside market or NBBO. Non-displayed resting orders with minimum quantity conditions, and/or more aggressive limits than the prices at which they are currently resting on the Order Book may be eligible to trade against orders in the updated Order Book, which were ineligible, or did not satisfy the orders' conditions, when they were originally booked. Resting orders are rechecked according to the booked price/time priority of each. Orders rechecking the Order Book may not trade through Protected Quotations, or resting orders on the contra side of the Order Book.
In the case where TLL does not have eligible shares priced equal to or better than the NBBO, or all such eligible shares have been exhausted and unexecuted shares remain, the System may process incoming orders based on routing eligibility. For orders marked eligible for routing and are marketable against the NBBO, the System may route to away Trading Centers displaying superior priced Protected Quotations in a manner consistent with Subscriber order instructions, order type and routing strategy definitions, and the “TLL routing table”.
In one implementation, an investor 614 may want to purchase 3,000 shares of XYZ at $10.00 and may subsequently send an order to broker 615 to buy 3,000 XYZ at $10.00. Upon receiving investor's order, broker 615 may route a buy order A 613a to Exchange 1605a to purchase 1,000 shares of XYZ at $10.00 and buy order D 613d to Exchange 2605b to purchase 2,000 shares of XYZ at $10.00. Orders A 613a and D 613d may have different latencies due to physical distance (and thus different transmission time along the physical transmission medium such as cable, microwave, etc.) of Exchange 1605a and Exchange 2605b from the broker 614; other factors such as connectivity, network equipment, information technology infrastructure, network circuit resistance, and a variety of other reasons may cause different latencies in transmission time as well.
In one implementation, broker order A 613a may arrive at Exchange 1605a and the investor 614 (e.g., through broker 614) indicating purchases of 1,000 shares on Exchange A at $10.00. In one implementation, HFT may receive a trade report B 613b from Exchange 1605a. In one implementation, co-location allows HFT to receive that trade report B 613b in “tens of microseconds”. In one implementation, HFT may then send order revision C 613c (of its previously entered order to sell 2,000 XYZ at $10.00) to Exchange 2605b in an attempt to profit from knowledge that a trade has occurred on Exchange 1605a in XYZ at $10.00, for example by anticipating that another buy order (D) is en route to
Exchange 2605b and adjusting order C 613c upward to a price of $10.01. In this example order D 613d with a limit to buy at $10.00 may not execute, and broker may be forced to send another order to buy at $10.01. The net result is that if a new buy order is executed on Exchange 2605b, the investor 614 may end up paying $20.00 more to buy the remaining 2,000 shares of XYZ ($0.01*2000=$20.00). The latency of order C 613c may be determined by connectivity and method of information transportation (e.g. microwave vs. fiber). As such, if latencies (transmission time of A+transmission time of B+transmission time of C) <transmission time of D then the broker 615 (on behalf of investor 614 ) may not be able to execute their buy order of 2,000 shares of XYZ at $10.00 at Exchange 2605b. As a result, the order may go unfilled at that moment in time, or the investor 614 may have to pay a higher price to purchase their remaining 2,000 shares.
The broker 615's order A 613a arrives at Exchange 1605A and the investor 614 (through the broker 615) purchases 1,000 shares on Exchange 1605A at $10.00. HFT 606 receives trade report B 613b from POP 610. The EBOM POP Architecture POP 610 allows any EBOM subscriber (including HFT 606) to receive trade information (transmission time of Aii+transmission time of B) in “hundreds of microseconds”.
In one implementation, HFT 606 may then send order revision C 613c of its previously entered order to sell 2,000 XYZ at $10.00) to Exchange 2605b in an attempt to profit from knowledge that a trade has occurred on Exchange 1605A in XYZ, for example by anticipating that another buy order (D) is en route to Exchange 2605b and adjusting order C upward to a price of 10.01. In this example order D with a limit to buy at $10.00 would not execute, and the broker 615 may be forced to send another order to buy at $10.01. The net result is that if a new buy order is executed on Exchange 2605b, the investor may pay $20.00 more to buy the 2,000 remaining shares of XY XYZ ($0.01*2000=$20.00). The latency of order C may be determined by connectivity and method of information transportation (e.g. microwave vs. fiber).
However, the EBOM POP Architecture POP 610 may allow a BSOR the opportunity to protect the client's order from latency arbitrage adding latency (through distance or medium) to the amount of time before HFT 606 may receive trade report B and use it as a signal because (transmission time of A+transmission time of Ai+transmission time of Aii+transmission time of B+transmission time of C) >transmission time of D. In this instance, the broker 615 (on behalf of the investor 614) may have enough time to execute buy order D 613d of 2,000 shares of XYZ at $10.00 on Exchange 2605b prior to HFT 606's order revision C 613c reaching Exchange 2605b. As a result, the order A 613a may be completely filled at the limit price and the investor 614 may not have to pay a higher price to purchase their remaining 2,000 shares via a new buy order as shown in
In one implementation, the broker 615's order A 613a may arrive at Exchange 1605a and the investor 614 (through the broker 615) may purchase 1,000 shares on Exchange 1605a at $10.00. After executing the order, Exchange 1605a then routes the buy order D 613d to Exchange 2605b for the remaining 2,000 shares using Exchange 1605a' s ESOR.
In one implementation, HFT 606 may receive trade report B 613b from Exchange 1605a. In one implementation, co-location allows HFT 606 to receive that trade report B 613b in “tens of microseconds”. HFT 606 may then send order revision C 613c (of its previously entered order to sell 2,000 XYZ at $10.00) to Exchange 2605b in an attempt to profit from knowledge that a trade has occurred on Exchange 1605a in XYZ, for example by anticipating that another buy order (D) is en route to Exchange 2605b and adjusting order C upward to a price of 10.01. In this example order D 613d with a limit to buy at $10.00 may not execute, and the broker 615 may be forced to send another order to buy at $10.01. The net result is that if a new buy order is executed on Exchange 2605b, the investor may pay $20.00 more to buy the 2,000 remaining shares of XY XYZ ($0.01*2000=$20.00). The latency of order C 613c may be determined by connectivity and method of information transportation (e.g. microwave vs. fiber).
In one implementation, if latencies (transmission time of A +transmission time of B +transmission time of C) <transmission time of D then the broker 615 (on behalf of the investor 614) may not be able to execute their buy order of 2,000 shares of XYZ at $10.00 at Exchange 2605b. As a result, the order may go unfilled at that moment in time, or the investor 614 may have to pay a higher price to purchase their remaining 1,000 shares via a new buy order.
In one implementation, the investor 614 wants to purchase 3,000 shares of XYZ at $10.00 and sends an order to the broker 615 to buy 3,000 XYZ at $10.00. In one implementation, the broker 615 may want to use Exchange 1605a's Smart Order Router (ESOR) and after receiving the order, routes the entire order A 613a to buy 3,000 shares of XYZ at $10.00 to Exchange 1605a. Exchange 1605a is now responsible for routing buy order D 613d for the remaining 2,000 shares on behalf of the broker 615.
In one implementation, the broker 615's order A 613a arrives at Exchange 1605a and the investor 614 (through the broker 615) purchases 1,000 shares on Exchange 1605a at $10.00. After executing the order, Exchange 1605a then routes the order D 613d to Exchange 2605b using Exchange 1605a's ESOR. HFT 606 receives trade report B 613b from Exchange 1605a. In one implementation, co-location allows HFT 606 to receive that trade report B 613b in “tens of microseconds”. HFT 606 may then send order revision C 613c (of its previously entered order to sell 2,000 XYZ at $10.00) to Exchange 2605b in an attempt to profit from knowledge that a trade has occurred on Exchange 1605a in XYZ, for example by anticipating that another buy order (D) is en route to Exchange 2605b and adjusting order C 613c upward to a price of 10.01. In this example order D 613d with a limit to buy at $10.00 may not execute, and the broker 615 may be forced to send another order to buy at $10.01. As such, the investor 614 may end up paying $20.00 more to buy XYZ ($0.01*2000=$20.00). The latency of order C may be determined by connectivity and method of information transportation (e.g. microwave vs. fiber).
However, the EBOM POP Architecture POP 610 allows an ESOR the opportunity to protect the client's order from latency arbitrage by adding latency (through distance or medium) to the amount of time before HFT 606 may receive trade report B 613b and use it as a signal because (transmission time of A+transmission time of Ai +transmission time of Aii+transmission time of B+transmission time of C) >transmission time of D. In this example, the broker 615 (on behalf of the investor 614) may have enough time to execute buy order D 613d of 2,000 shares of XYZ at $10.00 on Exchange 2605b prior to HFT 606's order revision C 613c getting to Exchange 2605b. As a result, the order may be completely filled and the investor 614 may not have to pay a higher price to purchase its remaining 2,000 shares via a new buy order as was the case in
In one implementation, HFT 606 may receive the quote update B 613b so knows the new NBBO ($10.01×$10.02) on Exchange 2605b. HFT 606 also knows that its order A 613a to buy 1,000 at $10.00 remains on Exchange 1605a. Anticipating that a slower market participant (e.g. the broker 615) might try to sell XYZ on Exchange 1605a at $10.00 because it has not received the most up to date market information Bii, HFT 606 leaves its buy order A 613a unchanged at $10.00.
In one implementation, if the broker 615 enters sell order C 613c to sell 1,000 shares of XYZ at $10.00 to Exchange 1605a based on the previous NBBO ($10.00×$10.02) following a quote change B, Bi, Bii before the broker 615 has received Bii, and before Exchange 1605a has received Bi, it is possible that order C 613c may receive an inferior priced execution ($10.00 vs. $10.01). In an example where Exchange 1605a has an obligation to protect orders on its order book from trading at prices inferior to orders quoted on other markets (for example in the U.S. in compliance with Regulation NMS), Exchange 1605a may receive quote update B 613b, know that there is a better priced bid ($10.01), and therefore not permit sell order C 613c to trade at $10.00 (an execution at $10.00 would be considered a “trade through” under Regulation NMS).
However, in a scenario where Exchange 1605a receives sell order C 613c prior to receiving quote update B 613b, Exchange 1605a may allow sell order C 613c to execute at $10.00 (because it is unaware of the quote change), a price inferior to the then current best bid of $10.01. In this case the investor 614 receives $10.00 less for the sale of XYZ (1,000*0.01=$10.00).
As such, during the interval after HFT 606 receives quote update B 613b 613b and leaves its order A 613a unchanged, HFT 606 may potentially buy XYZ at $10.00 and immediately sell at $10.01 on Exchange 2605b making a profit at the expense of the investor 614.
In one implementation, HFT 606 may receive the quote update B 613b so knows the new NBBO ($10.01×$10.02). HFT 606 also knows that its order A 613a to buy 1,000 at $10.00 remains on Exchange 1605a. Anticipating that a slower market participant (e.g. the broker 615) might try to sell XYZ on Exchange 1605a at $10.00 because it has not received the most up to date market information Bii, HFT 606 leaves its buy order A 613a unchanged at $10.00 on Exchange 1605a.
In one implementation, the broker 615 may then enter sell order C 613c on behalf of the investor 615 to sell 1,000 at $10.00 to Exchange 1605a. In an example where Exchange 1605a has an obligation to protect orders on its order book from trading at prices inferior to orders quoted on other markets (for example in the U.S. in compliance with Regulation NMS), Exchange 1605a may receive quote update Bi 618a, knowing that there is a better priced bid ($10.01), and therefore not permit sell order C 613c to trade at $10.00.
In one implementation, the EBOM POP Architecture POP 610 may ensure that Exchange 1605a may receive quote change Bi 618a, before the broker 615's order D 613d reaches Exchange 1605a. Therefore Exchange 1605a may know the most up to date market is $10.01×$10.02 and may not allow sell order C 613c to trade at $10.00.
As such, if HFT 606 receives quote update B 613b and leaves its order A 613a unchanged, the EBOM POP Architecture POP 610 may potentially prevent the investor 614 from trading on stale quote information and HFT 606 profiting at the expense of the investor 614.
In one implementation, the broker 615, HFT 606, Exchange 1605a and Exchange 2605b may know the NBBO of XYZ to be $10.01×$10.03. the broker 615 enters order A 613a with Exchange 1605a on behalf of the investor 614 to buy 1,000 shares of XYZ pegged to the NBBO midpoint ($10.02). The market updates on Exchange 2605b to $10.00×$10.02 and a quote update B 613b, Bi 618a, and Bii 618b is sent to HFT 606, Exchange 1605a, and the broker 615, respectively. The new NBBO becomes $10.00×$10.02, and the new midpoint becomes $10.01. Because of the distance between them Exchange 1605a and Exchange 2605b now know different NBBO and midpoint calculations: Exchange 1605a ($10.01×$10.03 with midpoint $10.02) and Exchange 2605b ($10.00×$10.02 with midpoint $10.01).
In one implementation, HFT 606 may receive the quote update B 613b so knows the new NBBO and midpoint ($10.00×$10.02 and $10.01). HFT 606 also knows that a midpoint order on Exchange 1605a may still be priced based on the previous NBBO ($10.01×$10.03 and $10.02). HFT 606 sends a sell order C 613c to Exchange 1605a at the old midpoint of $10.02 and trades with the broker 615's order A 613a at an inferior midpoint price costing the investor 614 $10.00 (1,000*$0.01=$10.00).
Therefore if (transmission time of B +transmission time of C) <transmission time of Bi HFT 606 may immediately sell XYZ at $10.02 on Exchange 1605a and potentially immediately buy XYZ at the midpoint of $10.01 on Exchange 2605b making a profit at the expense of the investor 614.
Additional embodiments of the TLL may include:
Within embodiments, the TLL may be a marketplace for matching and executing orders to sell and buy securities from buyers and sellers, and may route such orders to other marketplaces for execution when a match is not available on the TLL. The TLL may be focused on serving buyers and sellers of cash equity securities issued in the United States; however, the principles of the system's organization may be applicable to the buying and selling of other securities, financial instruments, things of value, and/or the like in the United States and other national, geographic, and/or regulatory regions
The TLL may comprise several components running on computer hardware including, but not limited to a client FIX gateway, matching engine, routing engine, exchange/venue FIX gateway, market data ticker plant, order and trade database(s) clearing, billing, surveillance systems and interfaces, and/or the like, which may communicate with one another via an internal message bus, and externally with other exchanges, vendors, securities brokers, etc. Below, we describe elements of the components and the system as a whole that are novel and useful.
The TLL may counter the advantages of certain trading strategies within the methods known as “high-frequency trading” (HFT) in transacting on existing trading venues.
The TLL may deploy a client/server model, wherein a “client” may be a program that uses a service provided by other program(s), and the programs that provide the service may be called “servers.” Servers may function by responding to client requests with data, status information, and/or the like. In some embodiments, a client may connect to a server that performs business process logic before interacting with other back-end services for more processing or storage, and/or responding to the server, which in turn may respond to the client.
TCP-to-Multicast (T2M) may be a way in which messages are distributed from a single front-end server to multiple back-end servers. In some embodiments, this may optimize resource utilization, maximize throughput, increase fault tolerance, and achieve other security and quality assurance (QA) benefits, etc.
T2M may be a component that may connect on a port where external clients connect to access services on the back-end. The program may maintain a connection from the client as per the TCP protocol and may transmit the data payload to back-end services via multicast (UDP protocol) delivery. Whereas TCP protocol may provide one-to-one communication, multicast may provide one-to-many communication allowing for multiple back-end services to receive the original data payload simultaneously from a single source before processing and/or transmitting to further back-end/downstream services.
One-to-many communication via T2M may allow a client to make a single TCP connection that may then fan out communication with N number of back-end resources. This one-to-many communication may be invisible to the client but achieves many benefits. Specifically, it may allow for at least one of: minimized deployment risk due to abstraction of business logic from architecture logic; duplication of client communication sessions over multiple servers; independent scaling of back-end services from front-end services; client does not make a direct connection to back-end services which hides the internal network structure and kernel network stack, resulting in higher system security; intraday capacity scaling, and load balancing without compromising client port connections; real-time seamless failover of client communication layers within a datacenter, or across datacenters that increases fault tolerance, resiliency, and disaster recovery capabilities; independent parallel stream for real-time QA analysis using original production data payload; and/or the like.
Transmitting data from distinct geographical locations to a central point may require different lengths of time depending on the time and distance of the transmission. As a result, data submitted at the same time at two geographical locations to the central point arrives at different times. In some embodiments, this correction may be done using software, but such systems may be complicated, error-prone, and inaccurate.
Transmission of data across various channels may be limited by various constraints. For example, in one embodiment, this may be done by fiber-optic channels, and here, transmission speeds may be limited by the speed of light through the medium of the channel. In such an embodiment, the time to travel is calculated by dividing the distance that must be traversed by the speed of light through the medium. Accordingly, the time to travel can be equalized by adding additional length to the medium or changing the medium. Equalizing the length of the medium of transmission by adding length to the shorter channels may allow for simultaneous delivery of information. In some embodiments, this may guarantee simultaneous delivery within nanoseconds.
Many trading systems utilize optical technologies to transmit information to trading systems physically located in geographically distinct locations. At least partly because of the geographic distinctiveness of the trading systems involved combined with present telecommunications methodologies and regulations, there is no perfectly equidistant point from all target trading systems. As a result, many trading systems may target information delivery on a temporal plane, and, as a result, they may be forced to utilize complicated, error-prone, and inaccurate software-driven methods to accomplish this task.
As noted, the underlying information may actually sent via photonic transmission along multiple fiber-optic channels to each location, and receipt may be acknowledged along a separate fiber-optic channel following the same path, both of which may be subject to the limitations on the speed of light through the medium used in the fiber-optic channel. In some embodiments, the distance (d) traversed over the fiber-optic channel divided by the speed of light through the medium(s) of the channel determine the time to travel (t) required for information from its source to its destination. Without a perfectly equidistant point to to/from all target trading systems, the distance traversed over fiber optic channels of different lengths (but of the same medium) will be different, and therefore the information traveling from a source system will arrive at destination systems at different times.
Simultaneous delivery of information may be made possible by equalizing the distance information must traverse by adding additional length of fiber-optic cabling to each transmission-side fiber-optic channel, changing the medium of the channel, and/or the like, such that the delivery time of information (d/s=t) is equivalent across all channels. In one embodiment, by measuring the distance of a set of channels as provided by a telecommunications provider and equalizing the length by adding cable length to the shorter channel, delivery of information may be substantially simultaneous, i.e., for example, within nanoseconds, as opposed to milliseconds with some software-driven methods.
Bufferbloat may be viewed as the introduction of non-deterministic latency into networked applications by the use of excessively large buffers. In some embodiments, this may be achieved by setting latency targets and working to maintain those targets for a particular latency measurement. These techniques may only be used in systems utilizing TCP sockets, and have two important limitations: 1) they are incapable of effectively handling large fanout applications, and 2) they are also opaque to the application.
These two limitations—opacity and ineffective fanout—make TCP with the CoDel algorithm insufficient to handle the problems of bufferbloat within large distributed systems. Since such distributed systems are typically hosted on private networks where operators have complete control over proprietary applications, it may be more effective to directly publish information on the buffer utilization of each application to both upstream and downstream applications within a particular data path.
By publishing buffer utilization as, for example, a simple number from 0-255, each application may be made aware of the load on its immediate neighbors, and may make intelligent decisions about further data transmissions. For example, when buffer utilization reaches a predefined threshold, an application may stop transmitting additional data over the wire. This “pause” may cause an increase of buffer utilization of the paused application, which may in turn be published to upstream applications, and so on. By providing explicit notification of buffer utilization to applications, those applications may stop transmitting, preventing packet loss that may occur when an application continues to transmit data to downstream applications after their buffers become full and cannot accept new data. This may also avoid the excessive retransmission delays that may result when application attempt to recover the lost packets. Further, explicit buffer utilization notification may also ensure the end-to-end latency experience of the distributed system will oscillate at around 50% of the delay necessary to drain a single application's buffer.
The TLL may be an active/passive system including a feature where a set of actions may be required for the promotion of a passive system member to become the new active system member. In one embodiment of an active/passive system, only one member may be active and processing data at any given time while another is passively waiting to become active. Due to the nature of an active/passive system, the TLL may make a successful termination of activities by the “active” system during a failover. This termination, colloquially known as “shoot the other node in the head,” or STONITH, may ensure that only one member remains active after a failover. This may help to ensure that the previous master does not attempt to re-assert control of the system or continue to operate as a second master, which may cause issues such as the incorrect duplication of messages due to the nature of an active/passive system.
STONITH may be accomplished either automatically, where a secondary node negotiates a shutdown with the primary system; or manually, where an administrator logs into the current active (master) node and executes a command to terminate the active node's operations. However, there are some situations where this methodology can fail.
In order to properly terminate an active node, the TLL may remotely terminate the connections to the hardware (e.g. server) upon which the offending node is running, at the far-side of the connections. When combined with strict cabling standards, the location of an active member of an active/passive system may algorithmically determined by passive members, regardless of the state of the active member. When a passive member detects the failure of an active node, the passive node may communicate directly with network devices to which the active node is connected and may disable any network ports to which the active node is connected. The active node may also, if desired, communicate directly with networked power distribution units and similarly remove power from the formerly active node. These two actions may prevent a formerly active node from attempting to re-assert itself as the active member of the system.
Many trading system interfaces with external FIX clients may have difficulties dealing with order identifiers (FIX field ClOrdId) sent to the trading system. These identifiers are often only unique to an external system (e.g. system 1 and system 2 may both send an order with id =ABCD to the trading system) and largely vary between the many external systems in length and content. In some embodiments, to uniquely identify these orders, a solution may be to address the external system's order internally by combining an identifier for the customer (FIX field SenderCompID) plus the order id provided (e.g. system 1's order A=‘Customer1−ABCD’). While this is a valid approach, it presents a potential performance problem, as many systems must use a large string to uniquely identify external system orders in the system and create a cross-reference file which is stored in either a database, file system, or cached memory. This may create significant overhead for processes needing access to that ID and create technical challenges if ever needing to recover from a failed process.
In an alternative embodiment, the TLL may replace the external system's order identifier (ClOrdId) with a uniquely generated identifier based on an internal system format (IexID) and may expose the cross-referenced information on a multicast message stream. The external system original ClOrdID may be preserved so the mapping between the external systems id and IexID may be saved into the TLL, in some embodiments, using a different message called “luggage”. The TLL may send non-critical “luggage” data outside the main data path. Certain destination endpoints such as the client FIX gateway itself or other reporting systems may also collect the “luggage” messages to decode (unmap) the IexID back into the ClOrdId as needed but largely, the system may not see the original external system order identifier. In some embodiments, this may allow for more efficient data processing in the system. The uniquely generated IexID may be done in a known efficient format known by all listeners on the multicast message stream, which may allow for consistent handling throughout and may expose the IexID to all systems interfacing with the message stream, as necessary.
In a multi-process, multi-machine system, creating unique IDs can be a challenge. Simple approaches of using a counter may not be viable since it may result in the same ID being generated in multiple places, and some kind of state must be stored so that duplicate IDs are not generated if a process is restarted. In one embodiment, this may be solved by adding qualifiers to the IDs from where they are generated. For example, machine01.process.02.session 01.[counter]. While this is relatively simple and there is no centralized point of failure, the identifier may be larger than it needs to be, tracking a session at restart may be difficult, and machines and processes may need to be uniquely named. In another embodiment, central ID generation may be used, where an identifier may be from a dedicated process, such as a service, database, and/or the like. While this is simple and allows for centralized control, the overhead of retrieving IDs and central point of failure and contention are potential problems.
In yet another embodiment, a message sequence number provided by the system's proprietary multicast middleware may be used as a unique identifier. All messages received by the TLL may have a guaranteed day-unique, monotonically increasing number on them. No additional call to a centralized ID system (database, file, or memory) may be needed. Additionally, the ID may provide a reference into the current system state at a state in time. This technique is utilized in several places in the TLL, but most notably when creating a unique customer order chain ID.
For example, configurations 1 to 10 may be sent through the TLL, where sequence number =10, and market data quote 1 to 3 may be sent through the TLL, where sequence number =13. Customer order 1 may arrive, sequence number =14. The TLL may create an order chain that may require a system unique ID. While the TLL may generate one or ask a central service for a new ID, the TLL uses the sequence number of the customer order message that caused the TLL to create the order chain. Order Chain ID =Sequence number =14. By so doing, the ID is unique and compact, and may not require additional computation. This sequence number may also represent a point in time in the state of the system, such that the TLL may determine the most current market data at the time the order was placed.
The speed and volume of equities market data in any trading system may be challenging, as there are hundreds of millions of data updates per day, and data may be most valuable when consumed immediately—old data may have less value. Trading systems may be designed to split processing between many processes and functions, such as by indicating Trading Engine 1 only looks at symbols starting with “A,” or they may have applications that independently consume market data. Splitting the market data may introduce a problem with determinism, because processes interested in market data state may have different state from each other because they may be independently looking at the data and the system state may become inconsistent between processes. For example:
Market Data (MSFT)→Process 1→Process 1 processing order #2 knows MSFT @ $10.01;
Market Data (MSFT)→Process 2→Process 2 processing order #2 knows MSFT @ $10.02.
The TLL may, instead, send all the market data through middleware to be sequenced/serialized so the state of the market will be identical in each application across the entire system at any given time. For example:
Market Data (MSFT)→Sequencer→Process 1→Process 1 processing order #2 knows MSFT @ $10.01
Process 2→Process 2 processing order #2 knows MSFT @ $10.01
Identical state of the market data known throughout the TLL has multiple benefits. For example, on certain transactions like trades, the TLL may label the market data state on the trade message by noting the message identifier (sequence number) of the market data state update on the trade. (e.g. Trade 15 happened and Quote 52 represents the current market state). This may be a convenient and efficient way to identify the market state at a particular time. In the absence of sequencing market data, other solutions may include writing out the current market state at each consumer (inefficient) or doing time-based derivation of market state (imprecise and/or inaccurate).
The TLL Trigger Framework may enable complex business logic to be deployed in a tightly controlled, highly transparent, and uniform manner. In one embodiment, the goal is to build modularized logic that allows developers to focus on a specific task and can be re-used by many applications. The trigger framework may comprise 2 types of components: Conditions and Actions.
These two components may be arranged as a binary decision tree where conditions form the body and actions are the branches.
A condition may be an individual class that evaluates the current state of an object within the application and returns either true or false to express whether that particular condition has been met. The object may be a transient message such as a FIX Protocol NewOrderSingle request or a state-based data structure such as a ParentOrder object.
An action may be an individual class that executes business logic in response to a condition being met. In general, an action class may produce messages in response to a specific change in its state. The action may modify the object that was being evaluated and/or interact with other objects or applications.
Conditions and actions may be written as modularized components, and may be stitched together in a decision tree through a configuration file (e.g. in JSON format). Such a framework achieves efficiencies through extensive reusability of components, debugging, maintenance, and visual comprehension of the logic.
In an example workflow, a message may enter an application. That message may be added to a trigger queue, and/or the message may cause other objects to be added to a trigger queue. One by one, objects may be pulled from the trigger queue and evaluated. When an object is evaluated, if it is a state-based object, a relevant condition tree may be pulled based on its state; otherwise the default tree for that type of object may be loaded. The conditions in the relevant tree may then be evaluated, starting from the top. For example, if the condition evaluates to true, the ifTrue branch is followed and vice versa. The condition tree may be traversed until an action is reached and performed. Performing the action may cause state changes to be performed on the triggered object or other objects; it may create other objects; it may cause other objects to be added to the trigger queue; it may cause one or several messages to be published; or any combination of the above. Once the trigger queue is fully evaluated, the application may then process the next inputted message.
A condition may be evaluated on many different types of objects. For example, a condition that checks if an object's relevant security symbol is halted may be evaluated on a NewOrderSingle FIX message, a market data update message, a Parent Order object, a router object, etc.
The test harness may allow testing personnel to perform automated testing on applications. It may load an application to be tested and connect the harness to the application's input and output valves. A list of pre-written inject and expect messages, for example in JSON format, may be loaded. The inject messages may then be input into the application, which may result in output messages. As messages are outputted by the application, the output messages may be compared against a pre-loaded list of expect messages. In some embodiments, the test may have failed if the output messages do not match the expect messages, if the output messages are out of order, or if expected output messages have not been outputted by the test harness. Otherwise, the test may have been passed.
In some embodiments, the test harness may implement Message templates. The user may create message templates which can be reused across tests. When creating a test, each message may be designated by the test creator to simply reference a template to use, and the test harness may parse the message and automatically load up all of the values in the called template's fields. Additionally, if any field values are specified in the test, those specific values may override the values copied over from the template. This may simplify creation and modification of tests, as only the relevant fields on a message relating to a given test must be specified/modified. All other fields may be defaulted per the template design, saving time and effort.
In some embodiments, the test harness may allow for selective field validation on expect messages. Expect messages used for validation in the tests may not need to be full-formed messages; they may include any number of fields. Only the specified fields will be validated, and all other fields on the output message may be ignored. This feature allows the expect test to focus on validating specific fields, where more efficient, versus validating an entire message and may be particularly useful for dealing with dynamic fields such as timestamps which cannot be predicted effectively.
In some embodiments, the test harness may allow selective message validation on expect messages. A user may specify a list of message types to validate on a given test. All other message types output by the application may be ignored. This may filter out messages not relevant to the test, such as heartbeat messages.
In some embodiments, the test harness may allow for case creation. The test harness may have a mode which only consumes a list of inject messages, and injects them one by one into the application. Then, all messages that the application outputs may be collected and a new test case file is generated from both lists.
In some embodiments, the test harness may allow for mass case creation. The test harness may have a mode which consumes a list of setup inject messages as well as a list of independent individual messages. The test harness may load up the application to be tested, may inject the setup messages into the application, and may inject one message from the independent messages list. The test harness may then collect all the output from the application and may create a full-formed test case. Next, the test harness may restart the application and repeat the load >inject setup message >inject independent message >collect >create cycle with the next message from the independent messages list. This process may be repeated to until a test file has been created for each message in the independent messages list. In this way, the test harness may automatically generate a large number of similar tests, such as a test for every permutation of fields on a customer-sent order.
In some embodiments, the test harness may allow for multi-application testing. The test harness may have the ability to load up multiple applications and test their respective independent functionalities as well as the functionalities of each application interacting with other applications. The test harness may load a set of specified applications in a designated order. In some embodiments, this may be based on the flow of messages through a set of applications that interact sequentially. The test harness may then input an inject message into the first application in the set, may validate the output message, and then may inject the output message into the next application in the sequence, validate it, and so on.
The test harness may run an individual test or many tests at a time, in some embodiments restarting the application in between tests. It may be integrated with an automated build process to run through an entire list of test cases and produce a report each time a developer commits code.
The test builder user interface may provide a way to build test cases dynamically based on an arbitrary JSON data schema. In some embodiments, the test UI may locate a schema file that may be loaded in JSON format, and which may define a set of system message. Based on the format of the schema, a user may be presented with a list of potential messages. When a user selects a message, a form may be dynamically built based on the format of the message, which may be defined in the schema, along with any specified data validation rules. The user may then be presented with a list of predefined message templates that can be selected to populate the form. As the message forms are completed by the user, they may be added to a sortable list. The user may sort each message item in the order in which it should be injected into the test framework. A collection of completed messages may be saved as a template, and templates may be combined to form complex test cases. The user may specify whether a message should be treated by the test harness as an inject or expect message. If a user is unsure what the expected message should be, the UI may allow for partial test cases to be injected before completing the entire case. A partial test case may be served fvia REST to the server, which may invoke an instance of the test harness and may inject the partial set of test messages. The out put messages generated by the test harness may be returned to the UI and may be displayed to the user. The user may then verify each message. If the user approves a message, the message may be added to the current test case with a one-button click to complete the test case, which may then be saved as a template. Once the test case is completed, a single button click may generate a JSON formatted test case file that may be executed by the test harness and implemented in continuous build processes.
The test UI may provides a fully dynamic web based interface for building test cases executed by a stand-alone test harness. It may generate forms with full data validation based solely on a JSON formatted data schema. Partial test cases with as little as a single message may be injected into a stand-alone test harness, on the fly, to present the user with system output messages. Fully operational test cases may be generated with a single button click, which may be used by the test harness. Additionally, individual test cases may be combined to create new, highly complex test cases.
Some web applications may provide the user a way to query for multi-column data. In some embodiments, interfaces may provide discreet form elements which may allow users to enter search terms per data element type. Alternatively, single search boxes may be provided to allow users to enter a search term which may be applied across different data types.
In another embodiment, a structured search field may be used. The user may be presented with a single input box which follows structured input based on predefined schema.
In one embodiment, the user may select the input box and may be presented with a tooltip to indicate the current context of the box. The input box may include multiple data types separated by any type of character such as a space, such as, for example, Order Id, Venue, Broker, Price, Symbol.
In some embodiments, as the user advances in the select box by, for example, pressing the space bar, the context of the input box may be advanced to the next search term. A new tooltip may be presented, indicating to the user the search term.
In some implementations, as the user advances through the search box and the context changes, the box may be configured to display potential search values as a drop down under the box.
In some embodiments, with each advance of the user through the search box, a dynamic query may be performed against the underlying database, database view, and/or file, such that the final result may be displayed quickly to the user.
In various embodiments, the structured search field may: use multiple search terms in a single input box following pre-defined schemas; switch schemas on the fly, thereby changing the type of search terms or order in which terms may be input; display auto-complete search values for each search term as the user advances through the search box; allow users to advance through the search box by hitting the space bar, which may automatically input a search wildcard; allow users to navigate forward and backward through the search box; utilize user input in earlier search terms to drive the potential search values of later terms; display tooltips as the user advances through the box to indicate the search term at the cursor position; dynamically refine and optimize response times to complex queries across multiple columns; and/or the like.
Pricing a stock trading execution may be done by using the price at which a passive order is posted (and ranked for the purposes of price priority) to the order book. In the case of two aggressively priced orders executing against each other, the result may be an execution at the price of the order which arrived and was entered into the order book first—specifically, the earlier order will pay their aggressive price while the latter will get “price improvement.” In an alternative method, the TLL order book may not change the execution pricing calculation; rather it may limit how aggressively an order is allowed to book in the TLL Order Book.
The TLL may use a concept called the Midpoint Constraint. In the TLL Order Book, aggressive hidden, or non-displayed, orders may not be posted more aggressively than the midpoint of the national best bid/offer (NBBO). When two aggressively priced hidden orders enter the book and are repriced to the midpoint, such that the resulting execution may occur at the midpoint price. Because the buyer was willing to pay a higher price, and the seller was willing to sell at a lower price, both may receive a superior execution price, i.e., price improvement, resulting in a more equitable distribution of the spread (the difference between the bid and the offer price) between two aggressive counterparties regardless of the order in which their orders arrived in the TLL book.
The Midpoint Constraint may offer several other benefits as well. By limiting the price at which a booked order is ranked for price priority, the Midpoint Constraint may limit unnecessary competition for price priority in the hidden queue in the form of “pennying,” where one party attempts to gain priority over another by submitting their own order with a marginally more aggressive limit price. The Midpoint Constraint may also limit directional information leakage resulting from the execution prices. An execution occurring at the midpoint between the bid and offer prices may be a direction neutral trade print, therefore it may be harder to discern at the time of execution in which direction the prices may move (higher or lower) and whether the new order represented an increase in supply or demand. It may also serve to maintain a fair and orderly ranking of aggressively priced conditional orders in the TLL Order Book.
The Midpoint Constraint may be implemented such that whenever a hidden order seeks to post to the TLL Order Book, its limit price may be compared to contra-side resting order(s) for potential execution. If no execution can be processed the order's limit price may be compared to the NBBO midpoint, and if the order price is more aggressive than the midpoint, it may be booked at the midpoint. If the order price is less aggressive than the midpoint, the order may be booked at its limit price. This process may be expedited by pre- processing the Midpoint Constraining price by calculating the midpoint of the NBBO when a market data change causes the midpoint to change. In some embodiments, this may be done by pre-calculating the constraining midpoint price, then applying it to orders as they seek to post to the TLL Order Book.
Minimum quantity orders, when inbound (new), may be eligible to trade against a single order, or a multitude of counterparty orders, so long as the counterparty single order by itself or multitude of orders in aggregate satisfies the minimum quantity condition on the inbound order. However, if no single order or multitude of orders satisfies the minimum quantity condition of the inbound order, the inbound order may not execute and instead may be posted to the order book. Once such an order is posted to the order book, it may only execute passively against a single new inbound counterparty order that satisfies its minimum quantity condition in total. Once the inbound minimum quantity order has been inserted into the order book, if at some point in the future as market conditions change and/or new counterparty orders enter the book, the minimum quantity order may no longer be eligible to trade with a multitude of orders that satisfy the minimum quantity condition.
Book Recheck may grant minimum quantity orders greater utility by allowing them additional opportunities to satisfy their minimum quantity condition with multiple counterparty orders after posting to the TLL Order Book. Book Recheck may work by iterating over eligible marketable orders in the TLL Order Book, in book priority order, and checking to see if any can currently trade against the opposing side of the book, treating orders on the opposing side of the book each as if they were a new inbound order. This may be a computationally intensive and costly process for an order book's matching logic.
In order to alleviate some of the computational cost to the order book's matching logic, an external process may cancel the orders being rechecked and send them back into the matching engine anew. This may result in a loss in time priority for the cancelled orders, should the recheck attempt not fully execute the order(s).
The TLL implementation may maintain references to the orders being rechecked so that Book Recheck may be performed without removing or reordering the orders in the order book, thereby allowing the orders that are rechecked to fully retain their time priority if not fully filled. These order references may be updated to adapt to both successful and failed recheck attempts, always ensuring that book priority is maintained throughout the process.
A successful Book Recheck process may be triggered by any number of events, including but not limited to new order instructions from subscribers, changes in the national best bid and offer, and other changes in market data variables. These data may be compiled and pre-processed into salient metrics such as aggregated share counts and various regulatory trading limits to ascertain, prior to performing the actual recheck operation, whether an execution is likely, unlikely, or guaranteed. In this way the pre-processing may further reduce the computational cost of the Book Recheck.
Minimum quantity instructions may allow any round number share value between 0 and the order's total share count (a minimum quantity equal to the share count of the order is treated as an all-or-none order condition). While allowing a theoretically infinite number of minimum quantity conditions offers the greatest flexibility to the subscriber, it may also be impractical. In an order book with many orders, interspersed with orders with minimum quantity conditions, the process of comparing orders for potential execution may theoretically become unbounded. In other words, it may create a theoretically infinite number of comparisons of order combinations within the book to determine if any pair of orders or multitude of orders can be combined to meet the minimum quantity condition(s) of orders being compared thus that a trade can be executed. Since the minimum quantity instruction may vary infinitely across the order book, there may be no way to determine how many shares are available to a given inbound order without traversing the book to determine whether each resting order has a minimum quantity instruction that is satisfied. In addition, if the order book contains many orders that are unwilling to trade with the inbound order (i.e. have a minimum quantity instruction that is not satisfied), there is no efficient way to isolate those orders without traversing and skipping each individually.
The TLL may have effective minimum quantity, and minimum quantity tiers. A set number of valid minimum quantity tiers may constrain the number of permutations and capture the most commonly elected minimum quantity valued (e.g. 200, 300, 500, 1000, 5000, 10000 shares). Should the minimum quantity instruction on a subscriber's order not align with any tier, the TLL Matching Engine and Order Book may operate using the effective minimum quantity, rounding down the value to the next lowest tier. The subscriber's prescribed value may be maintained and persisted, but for matching logic purposes the effective value is used.
Consolidating minimum quantity instructions to a finite set of commonly used values may allow for a better execution experience for minimum quantity orders as the probability of a near-miss in satisfying a minimum quantity instruction may be lowered due to using standardized values. For example, an order with minimum quantity of 575 shares may not match with an order with minimum quantity of 550 shares, 525 shares and so on. The near misses may be caused by use of too fine a granularity on minimum quantity, which results in two orders not matching where, had the subscribers entering the order known there was a counterparty so close in size, they may have been willing to trade. By constraining the minimum quantity options to tiers, this problem is reduced. For example, by enforcing tiers in increments of 100 shares from 100-1000 (100, 200, 300, 400, 500, etc.) the orders in the previous example will all be rounded down to a minimum quantity condition of 500 and become eligible to trade with each other. This may balance the objective of the order to set a minimum trade size constraint, while not inadvertently preventing it from trading with willing counterparties of similar size.
The TLL Order Book may manage and store minimum quantity orders by tiers, as well. The TLL Order Book may be partitioned by minimum quantity tiers into a finite number of individually sorted order books. The result of partitioning by minimum quantity may be that the minimum quantity instruction all of the orders in a given book is the same, and thus the matching logic may evaluate more expeditiously how many shares are available in a given book to a given inbound or rechecking order since every order in said book may uniformly be willing or unwilling to trade with the inbound or rechecking order. Applying this concept to each partition of the TLL Order Book may allow the TLL to evaluate in constant time how many shares are available to an inbound or rechecking order.
Minimum quantity tiers may also be useful in the course of execution. In the course of re-consolidating the partitions for execution in overall book priority, if a given partition has a minimum quantity that is not satisfied by the inbound order, the TLL Matching Engine may not draw from that partition at all. Consolidating only those partitions that may be willing to trade may essentially filter the entire order book based on which orders are willing to trade with the inbound order. This may eliminate the need to visit and skip individual orders based on their minimum quantity instruction and increase computational efficiency.
Minimum quantity implementation may be limited if a resting minimum quantity order is not at the front of the order queue. Even if a sufficiently large aggressive counterparty order does arrive, it may be that said order, as it executes against resting orders ahead of the subject order in book priority, may not have enough shares remaining by the time it gets to the subject minimum quantity order. For example, a buy order for 100 shares may be in the order book ahead of a 1000 share order with a minimum quantity of 500 shares. An inbound sell order arrives to sell 500 shares and trades 100 with the first buy order, leaving 400 shares remaining. Because the subject minimum quantity order will trade with no fewer than 500 shares, it will not trade with the 400 remaining shares of the inbound sell order, even though the original size of the sell order met the 500 share minimum quantity condition. In an extreme example, a block buy order for 100,000 shares with a minimum quantity condition of 100,000 shares is resting in the order book behind an odd lot buy order for 75 shares. An inbound sell order for 100,000 arrives and executes with the 75 share buy order leaving 99,925 shares remaining. Because the 99,925 does not meet the 100,000 share minimum quantity condition of the buy order resting in the book, the two block orders will not match.
The TLL may use a new variation of minimum quantity behavior called Participation. The behavior of a minimum quantity order on the TLL, when inbound, may be identical to the implementation recited above. However, when resting in the order book, an order's minimum quantity condition may be evaluated against the share count of the inbound order at the start of the execution process, rather than its remaining share count when it attempts to execute against the minimum quantity order. This may help serve the underlying purpose of why the minimum quantity instruction exists in the first place—the notion of maintaining a certain balance between executing shares and giving up signals/trading information and the notion of interacting with sufficiently large interest.
In the block order example above, the 100,000 inbound sell order trades with the 75 share buy order and because its original order size of 100,000 share meets the minimum quantity order of the resting 100,000 buy order, the resting 100,000 share buy order will “participate” in the trade and execute 99.925 shares.
Participation, in conjunction with a partitioned order book, may allow the matching logic to quickly evaluate, independent of the number of orders in the order book, whether the order book contains sufficient trading interest to satisfy the minimum quantity instruction on an inbound or rechecking order, minimizing the amount of computation and time wasted in the case of no execution.
TLL+1 may select a venue and route orders to be posted on trading venues. As such, TLL+1 may choose which venues to send orders to in order to maximize the chance of getting executions while balancing explicit costs, such as execution fees and the like, and avoid quote impact given a desire to always represent a portion of the order on a specific venue.
TLL+1 may function as follows: when the TLL smart order router makes the decision to split an order to rest at multiple venues, it may choose the preferred venue and, in some cases, at least 1 additional venue. There can be a multitude of different reasons for preferring one venue; for example, where the TLL is a market venue itself, it may be preferable to execute orders on the TLL market versus sending them to away venues to be executed. The reason for choosing an additional venue may be that the preferred venue might not be a broker's top choice for sending it orders, so by choosing an additional attractive venue to advertise a piece of an order, the likelihood of receiving an execution may be increased. The additional venue may be chosen based on the state of the market and the potential fees charged to the contra-side broker if the order was to be executed in part at each venue. The TLL smart order router may choose among the venues currently represented at the inside of the market (national best bid or offer). By submitting an order to join the order book of a venue that's already present at the national best bid or offer, introducing a new venue to the inside quote may be avoided, i.e. no quote impact. Of these venues, the most cost-effective venue may be chosen for the contra-side broker were a trade to occur. Most brokers make routing decisions at least partly based on economics, so if orders routed to away venues by TLL are represented at the most cost-effective venue that has liquidity at the inside price, TLL orders may be executed on the away venue prior to the orders at the other trading venues.
If the order has reserve liquidity, i.e. a portion of the order is to be displayed and a portion is to remain hidden, the reserve liquidity may remain on the preferred venue. This may provide the most control over the hidden portion of the order.
If the displayed portion of a reserve order is filled, i.e., either the piece at the preferred venue or the piece at the additional venue, the reserve liquidity at the preferred venue may be decremented and a new displayer order may be sent to the venue where the original order was filled. The logic may function similarly to the common refresh methodology of reserve orders, except the order has two (or a multitude of) displayed portions at two different market centers instead of just one.
Finally, if either lit portion gets fully filled when there is no remaining reserve liquidity, the remaining lit shares at the other venue may be re-routed to the venue where the order was fully filled.
The system described herein relates to a tree data structure implemented either within the volatile memory of a general-purpose computer or upon a physical computer-readable medium. The tree consists of a plurality of data nodes. Each data node contains a numeric key, zero or more data values corresponding to that key (which may be a null value), and references to two other data nodes designated as child nodes, namely a left child node and a right child node. Each reference may be a null reference. The child nodes of a parent node, the child nodes of that child node, and so on, are known as the descendants of the parent node. If a parent node has a left child node that is not null, the numeric keys of the left child node and each of its non-null descendants must be less than the numeric key of the parent node. Similarly, if the right child node is not null, the numeric keys of the right child node and each of its non-null descendants must be greater than the numeric key of the parent node. The tree has a node designated as the root node, which is the child node of no other node.
All numeric keys may fall within a bounded range. The range of potential numeric keys for each of a node's children and its descendants can be determined from the range of potential values for the node itself. In the present data structure, the values of each child node of a parent node are computationally generated from the range of potential values for that node. When a key and its corresponding data value are added to the tree, the tree is traversed from the root node to the location where the key is located. If a null reference to a child node is reached in the traversal, a new data node is created with the computationally generated value for the key, zero data values, and null references to the left and right child nodes, and the null reference in the traversed node is replaced by a reference to the new node. When the node with the key to be added is reached, a reference to the corresponding data is added to the reached node. In this manner, the tree structure is predetermined by the deterministic generation of keys at each location. With selection of the method to be used for key generation, an automatically balanced tree with a known maximum node depth can be precisely generated, regardless of the order in which keys are inserted into the tree. Because the maximum node depth is fixed and the tree is never rebalanced, the worst-case insertion time is significantly lower than in trees requiring rebalancing, and the tree is thus made suitable for applications requiring high reliability such as financial trading systems.
In a preferred embodiment of the invention, the method by which key values are predetermined is to select the median of the range of possible key values of the node, but other methods may be used within the scope of the invention. Optionally, the root node and layers of child nodes below it may be initially created with manually determined key values, with the descendants of these nodes having predetermined key values as described above.
As another option, if all nodes with non-null data have keys within the range of possible values for a node other than the root node, that other node can be designated as the “temporary root node” and used as a source for all tree traversals instead of the original root node. If a key outside the temporary root node's range is added to the tree, the temporary root node designation is removed and either the original root node or a newly designated temporary root node can then be used as the source for tree traversals.
A further implementation is to supplement the tree with an array of references to nodes that are likely to have values. For example, in the case of the order book of a securities trading venue, the array would contain bid and offer prices within a range of the previous day's closing price of the security. The index into the likely node array would be calculated from the numeric key value. When a node is accessed with a “likely” key, the array is used in preference to the tree, with the tree only used in case of insertions and “unlikely” keys outside the range of the array.
The invention as described may be used for purposes of organizing buy and sell orders for securities by the prices specified in such orders. For such purposes, the prices of the orders are used as the numeric keys and other information about the orders is stored as the associated data. The tree is to be used in conjunction with a linked list of all nodes ordered by price, with special links to the nodes with the current highest-priced order to buy and the lowest-price order to sell, known as the “best bid and offer”. The tree would be used to aid in rapid insertion of new orders without any need to traverse the linked list. Removal of executed orders would be accomplished using the linked list, since executions occur most often at the best bid and offer. Nodes with no orders or child nodes remaining are pruned from the tree and the linked list.
However, the invention's applications are broader than this particular application, and the scope of the invention should be read broadly to encompass all possible embodiments of the invention.
The IEX Message Bus Multicast Transport component contains following parts:
The Message Bus uses a memory mapped approach to achieve an “infinite” memory address space that can be as large as a machine's capacity of physical memory plus the disk storage. Specially, it fully utilizes the existing operating system's virtual-address-space-to-physical-memory translation feature. Therefore, it avoids the limitations/problems associated with one alternative option, a ring buffer approach. The limitations/problems of a ring buffer include stream fragmentation when crossing ring buffer boundaries, dropped messages during messaging micro bursts, and a fixed/static memory configuration on a given server.
The Infinite Memory Address Space reserves 4 terabytes of virtual memory at startup, and uses a sliding window to advance. From an applications' perspective the address space appears to be continuous, therefore the IMAS avoids the unnecessary overhead associated with message fragmentation, wrap around, dropped messages and complicated logic seen on common designs. In essence, the sliding window ensures the block of memory used always resides in the currently available memory and memory no longer needed is discarded and recycled automatically. From the applications' point view, it can use one large continuous memory. This design works nicely with stream-based message systems such as ours.
Linear Memory Buffering Mechanism that Allows Zero Copy and Multicast Data Streaming
Traditional network I/O uses a list of small buffers then copies them into a set of fixed size memory pages or uses a fixed size for applications to consume. This approach has number of shortcomings:
An alternative approach is to allocate a logical and very large piece of virtual memory (16 Terabytes); network I/O streams directly into this virtual memory. The memory is allocated using MMAP. As our stream moves forward, the consumed memory space is removed automatically using MADVISE. In this manner, we have a very simple cursor that keeps moving forward in a very simplistic and logical manner.
System runs n instances of a given application where one instance is the primary and the other instance(s) is backup. To ensure an identical record between primary and backup, the backup application uses the exact same code path as primary application. However, one step is omitted in the backup application; the backup does not publish output messages. The message processing by the backup application runs through the full execution path up to the point of publishing the output. The benefit of executing the full path but stopping short of writing is that the states of the primary and backup applications are kept as close to identical as possible. This is specifically beneficial for systems coded in java; in designs where the backup application has processed only part way through the message processing path and stops before the output message exits the java segment of the path, it will have the complete message stream and be in sync with the primary but will not be in precisely the same state.
Java requires a “warm up” period as part of its just-in-time-compilation capabilities while it optimizes a particular path. During just-in-time-compiling java “primes” the application by removing extraneous code paths to more efficiently optimize the paths that are being used, for example after a path has been executed 10,000 times it receives higher priority. In the case of a backup application that executes the processing path up to and including the java step, but does not execute the writing step within java, the “write” code will sit cold. When and if the backup must become primary, in the event that the primary has failed for example, if the write code is cold, i.e. has not been optimized, it will impact the performance of java by slowing the speed of code execution while java runs through the, for example, 10,000 iterations of the write path to “warm up”. This can slow the application down for the duration of the warm up period.
An alternative design is to have the message processing path execute to the end of the java segment and allow java to write the message output to the next step, but stop the path before the next step begins. In this way the full java path is executed and both the primary and backup applications maintain an identical state. They are both optimized by java and “warmed up” so in the event that the primary must failover to the backup the backup will pick up immediately where the primary left off with no degradation in performance.
During normal system operations, all applications write messages to a journal as they perform actions or react to external events, including receiving and processing messages from external third parties (e.g. FIX order entry messages, or market data messages).
Applications are designed to read and keep up with all messages written by all applications to the journal but can occasionally drop messages as a result of transmission issues at the network layer. When an application experiences a gap in its consumption of the journalled messages it needs a means to recover the lost messages. This creates a challenge—applications must re-access missed messages regularly and as they request them from the journal each request can potentially compete with the requests of other applications. This can result in a queue of applications waiting for their turn at a journal, and during the wait they will fall further behind, meaning that they must recover even more messages. This can further exacerbate the problem by increasing the recovery time of the recovering application, and hence a chain reaction increasing the wait in queue for and recovery time for subsequent applications.
One typical solution is a series of journals giving applications more than one source to recover from, meaning a more load-balanced process—more, shorter queues. However, if an application is starting up fresh and/or has missed a large amount of messages (e.g. the application starts later in the day and must catch up to all of the messages that have already been processed) it could potentially take a long time to recover and process all missed messages. In this case the journal from which the application recovered its messages could be unavailable to other applications for the entire duration of the application's recovery.
The system has n journals with duplicate copies of the complete message journal where applications can recover missed messages so if one journal is occupied by a given application, other applications can recover missed messages from one of the other available journals but to minimize the effect of an application consuming a given journal resource for a long duration and causing a long queue for other applications behind it, a further solution is to chop up the complete message journal into segments and assign specific segments to specific journals. This way each segmented journal will provide just the message segment(s) it has stored to a recovering application forcing the application to move on and allowing the next application in line to take its turn more quickly. If the disconnected application still has a message gap, it will connect to the journal that has the relevant stream segment and access the additional messages and so on. This forces a limitation to the time an application will spend in a given journal's queue and can potentially result in faster message gap filling. TLL Controller
Users, e.g., 933a, which may be people and/or other systems, may engage information technology systems (e.g., computers) to facilitate information processing. In turn, computers employ processors to process information; such processors 903 may be referred to as central processing units (CPU). One form of processor is referred to as a microprocessor. CPUs use communicative circuits to pass binary encoded signals acting as instructions to enable various operations. These instructions may be operational and/or data instructions containing and/or referencing other instructions and data in various processor accessible and operable areas of memory 929 (e.g., registers, cache memory, random access memory, etc.). Such communicative instructions may be stored and/or transmitted in batches (e.g., batches of instructions) as programs and/or data components to facilitate desired operations. These stored instruction codes, e.g., programs, may engage the CPU circuit components and other motherboard and/or system components to perform desired operations. One type of program is a computer operating system, which, may be executed by CPU on a computer; the operating system enables and facilitates users to access and operate computer information technology and resources. Some resources that may be employed in information technology systems include: input and output mechanisms through which data may pass into and out of a computer; memory storage into which data may be saved; and processors by which information may be processed. These information technology systems may be used to collect data for later retrieval, analysis, and manipulation, which may be facilitated through a database program. These information technology systems provide interfaces that allow users to access and operate various system components.
In one embodiment, the TLL controller 901 may be connected to and/or communicate with entities such as, but not limited to: one or more users from user input devices 911; peripheral devices 912; an optional cryptographic processor device 928; and/or a communications network 913. For example, the TLL controller 901 may be connected to and/or communicate with users, e.g., 933a, operating client device(s), e.g., 933b, including, but not limited to, personal computer(s), server(s) and/or various mobile device(s) including, but not limited to, cellular telephone(s), smartphone(s) (e.g., iPhone®, Blackberry®, Android OS-based phones etc.), tablet computer(s) (e.g., Apple iPad™, HP Slate™, Motorola XoomT™, etc.), eBook reader(s) (e.g., Amazon Kindle™, Barnes and Noble's Nook™ eReader, etc.), laptop computer(s), notebook(s), netbook(s), gaming console(s) (e.g., XBOX Live™, Nintendo® DS, Sony PlayStation® Portable, etc.), portable scanner(s), and/or the like.
Networks are commonly thought to comprise the interconnection and interoperation of clients, servers, and intermediary nodes in a graph topology. It should be noted that the term “server” as used throughout this application refers generally to a computer, other device, program, or combination thereof that processes and responds to the requests of remote users across a communications network. Servers serve their information to requesting “clients.” The term “client” as used herein refers generally to a computer, program, other device, user and/or combination thereof that is capable of processing and making requests and obtaining and processing any responses from servers across a communications network. A computer, other device, program, or combination thereof that facilitates, processes information and requests, and/or furthers the passage of information from a source user to a destination user is commonly referred to as a “node.” Networks are generally thought to facilitate the transfer of information from source points to destinations. A node specifically tasked with furthering the passage of information from a source to a destination is commonly called a “router.” There are many forms of networks such as Local Area Networks (LANs), Pico networks, Wide Area Networks (WANs), Wireless Networks (WLANs), etc. For example, the Internet is generally accepted as being an interconnection of a multitude of networks whereby remote clients and servers may access and interoperate with one another.
The TLL controller 901 may be based on computer systems that may comprise, but are not limited to, components such as: a computer systemization 902 connected to memory 929.
A computer systemization 902 may comprise a clock 930, central processing unit (“CPU(s)” and/or “processor(s)” (these terms are used interchangeably throughout the disclosure unless noted to the contrary)) 903, a memory 929 (e.g., a read only memory (ROM) 906, a random access memory (RAM) 905, etc.), and/or an interface bus 906, and most frequently, although not necessarily, are all interconnected and/or communicating through a system bus 904 on one or more (mother)board(s) 902 having conductive and/or otherwise transportive circuit pathways through which instructions (e.g., binary encoded signals) may travel to effectuate communications, operations, storage, etc. The computer systemization may be connected to a power source 986; e.g., optionally the power source may be internal. Optionally, a cryptographic processor 926 and/or transceivers (e.g., ICs) 964 may be connected to the system bus. In another embodiment, the cryptographic processor and/or transceivers may be connected as either internal and/or external peripheral devices 912 via the interface bus I/O. In turn, the transceivers may be connected to antenna(s) 965, thereby effectuating wireless transmission and reception of various communication and/or sensor protocols; for example the antenna(s) may connect to: a Texas Instruments WiLink WL 1283 transceiver chip (e.g., providing 802.11n, Bluetooth 3.0, FM, global positioning system (GPS) (thereby allowing TLL controller to determine its location)); Broadcom BCM 4329FKUBG transceiver chip (e.g., providing 802.11n, Bluetooth 2.1 +EDR, FM, etc.), BCM 28150 (HSPA+) and BCM 2066 (Bluetooth 4.0, GPS, etc.); a Broadcom BCM 4650IUB8 receiver chip (e.g., GPS); an Infineon Technologies X-Gold 618-PMB 9800 (e.g., providing 2G/3G HSDPA/HSUPA communications); Intel's XMM 6160 (LTE & DC-HSPA), Qualcom's CDMA(2000), Mobile Data/Station Modem, Snapdragon; and/or the like. The system clock may have a crystal oscillator and generates a base signal through the computer systemization's circuit pathways. The clock may be coupled to the system bus and various clock multipliers that will increase or decrease the base operating frequency for other components interconnected in the computer systemization. The clock and various components in a computer systemization drive signals embodying information throughout the system. Such transmission and reception of instructions embodying information throughout a computer systemization may be referred to as communications. These communicative instructions may further be transmitted, received, and the cause of return and/or reply communications beyond the instant computer systemization to: communications networks, input devices, other computer systemizations, peripheral devices, and/or the like. It should be understood that in alternative embodiments, any of the above components may be connected directly to one another, connected to the CPU, and/or organized in numerous variations employed as exemplified by various computer systems.
The CPU comprises at least one high-speed data processor adequate to execute program components for executing user and/or system-generated requests. Often, the processors themselves will incorporate various specialized processing units, such as, but not limited to: floating point units, integer processing units, integrated system (bus) controllers, logic operating units, memory management control units, etc., and even specialized processing sub-units like graphics processing units, digital signal processing units, and/or the like. Additionally, processors may include internal fast access addressable memory, and be capable of mapping and addressing memory 929 beyond the processor itself; internal memory may include, but is not limited to: fast registers, various levels of cache memory (e.g., level 1, 2, 3, etc.), RAM, etc. The processor may access this memory through the use of a memory address space that is accessible via instruction address, which the processor may construct and decode allowing it to access a circuit path to a specific memory address space having a memory state/value. The CPU may be a microprocessor such as: AMD's
Athlon, Duron and/or Opteron; ARM' s classic (e.g., ARM 6/9/11), embedded (Coretx-M/R), application (Cortex-A), embedded and secure processors; IBM and/or Motorola's DragonBall and PowerPC; IBM's and Sony's Cell processor; Intel's Atom, Celeron (Mobile), Core (2/Duo/i 3/i 5/i 6), Itanium, Pentium, Xeon, and/or XScale; and/or the like processor(s). The CPU interacts with memory through instruction passing through conductive and/or transportive conduits (e.g., (printed) electronic and/or optic circuits) to execute stored instructions (i.e., program code). Such instruction passing facilitates communication within the TLL controller and beyond through various interfaces. Should processing requirements dictate a greater amount speed and/or capacity, distributed processors (e.g., Distributed TLL), mainframe, multi-core, parallel, and/or super-computer architectures may similarly be employed. Alternatively, should deployment requirements dictate greater portability, smaller mobile devices (e.g., smartphones, Personal Digital Assistants (PDAs), etc.) may be employed.
Depending on the particular implementation, features of the TLL may be achieved by implementing a microcontroller such as CAST' s R 8051XC 2 microcontroller; Intel's MCS 51 (i.e., 8051 microcontroller); and/or the like. Also, to implement certain features of the TLL, some feature implementations may rely on embedded components, such as: Application-Specific Integrated Circuit (“ASIC”), Digital Signal Processing (“DSP”), Field Programmable Gate Array (“FPGA”), and/or the like embedded technology. For example, any of the TLL component collection (distributed or otherwise) and/or features may be implemented via the microprocessor and/or via embedded components; e.g., via ASIC, coprocessor, DSP, FPGA, and/or the like. Alternately, some implementations of the TLL may be implemented with embedded components that are configured and used to achieve a variety of features or signal processing.
Depending on the particular implementation, the embedded components may include software solutions, hardware solutions, and/or some combination of both hardware/software solutions. For example, TLL features discussed herein may be achieved through implementing FPGAs, which are a semiconductor devices containing programmable logic components called “logic blocks”, and programmable interconnects, such as the high performance FPGA Virtex series and/or the low cost Spartan series manufactured by Xilinx. Logic blocks and interconnects may be programmed by the customer or designer, after the FPGA is manufactured, to implement any of the TLL features. A hierarchy of programmable interconnects allow logic blocks to be interconnected as needed by the TLL system designer/administrator, somewhat like a one-chip programmable breadboard. An FPGA's logic blocks may be programmed to perform the operation of basic logic gates such as AND, and XOR, or more complex combinational operators such as decoders or simple mathematical operations. In most FPGAs, the logic blocks also include memory elements, which may be circuit flip-flops or more complete blocks of memory. In some circumstances, the TLL may be developed on regular FPGAs and then migrated into a fixed version that more resembles ASIC implementations. Alternate or coordinating implementations may migrate TLL controller features to a final ASIC instead of or in addition to FPGAs. Depending on the implementation all of the aforementioned embedded components and microprocessors may be considered the “CPU” and/or “processor” for the TLL.
The power source 986 may be of any standard form for powering small electronic circuit board devices such as the following power cells: alkaline, lithium hydride, lithium ion, lithium polymer, nickel cadmium, solar cells, and/or the like. Other types of AC or DC power sources may be used as well. In the case of solar cells, in one embodiment, the case provides an aperture through which the solar cell may capture photonic energy. The power cell 986 is connected to at least one of the interconnected subsequent components of the TLL thereby providing an electric current to all the interconnected components. In one example, the power source 986 is connected to the system bus component 904. In an alternative embodiment, an outside power source 986 is provided through a connection across the I/O 908 interface. For example, a USB and/or IEEE 1394 connection carries both data and power across the connection and is therefore a suitable source of power.
Interface bus(ses) 906 may accept, connect, and/or communicate to a number of interface adapters, frequently, although not necessarily in the form of adapter cards, such as but not limited to: input output interfaces (I/O) 908, storage interfaces 909, network interfaces 910, and/or the like. Optionally, cryptographic processor interfaces 926 similarly may be connected to the interface bus. The interface bus provides for the communications of interface adapters with one another as well as with other components of the computer systemization. Interface adapters are adapted for a compatible interface bus. Interface adapters may connect to the interface bus via expansion and/or slot architecture. Various expansion and/or slot architectures may be employed, such as, but not limited to: Accelerated Graphics Port (AGP), Card Bus, ExpressCard, (Extended) Industry Standard Architecture ((E)ISA), Micro Channel Architecture (MCA), NuBus, Peripheral Component Interconnect (Extended) (PCI(X)), PCI Express, Personal Computer Memory Card International Association (PCMCIA), Thunderbolt, and/or the like.
Storage interfaces 909 may accept, communicate, and/or connect to a number of storage devices such as, but not limited to: storage devices 914, removable disc devices, and/or the like. Storage interfaces may employ connection protocols such as, but not limited to: (Ultra) (Serial) Advanced Technology Attachment (Packet Interface) ((Ultra) (Serial) ATA(PI)), (Enhanced) Integrated Drive Electronics ((E)IDE), Institute of Electrical and Electronics Engineers (IEEE) 1394, Ethernet, fiber channel, Small Computer Systems Interface (SCSI), Thunderbolt, Universal Serial Bus (USB), and/or the like.
Network interfaces 910 may accept, communicate, and/or connect to a communications network 913. Through a communications network 913, the TLL controller is accessible through remote clients 933b (e.g., computers with web browsers) by users 933a. Network interfaces may employ connection protocols such as, but not limited to: direct connect, Ethernet (thick, thin, twisted pair 10/100/1000 Base T, and/or the like), Token Ring, wireless connection such as IEEE 802.11a-x, and/or the like. Should processing requirements dictate a greater amount speed and/or capacity, distributed network controllers (e.g., Distributed TLL), architectures may similarly be employed to pool, load balance, and/or otherwise increase the communicative bandwidth required by the TLL controller. A communications network may be any one and/or the combination of the following: a direct interconnection; the Internet; a Local Area Network (LAN); a Metropolitan Area Network (MAN); an Operating Missions as Nodes on the Internet (OMNI); a secured custom connection; a Wide Area Network (WAN); a wireless network (e.g., employing protocols such as, but not limited to a Wireless Application Protocol (WAP), I-mode, and/or the like); and/or the like. A network interface may be regarded as a specialized form of an input output interface. Further, multiple network interfaces 910 may be used to engage with various communications network types 913. For example, multiple network interfaces may be employed to allow for the communication over broadcast, multicast, and/or unicast networks.
Input Output interfaces (I/O) 908 may accept, communicate, and/or connect to user input devices 911, peripheral devices 912, cryptographic processor devices 928, and/or the like. I/O may employ connection protocols such as, but not limited to: audio: analog, digital, monaural, RCA, stereo, and/or the like; data: Apple Desktop Bus (ADB), Bluetooth, IEEE1394a-b, serial, universal serial bus (USB); infrared; joystick; keyboard; midi; optical; PC AT; PS/2; parallel; radio; video interface: Apple Desktop Connector (ADC), BNC, coaxial, component, composite, digital, DisplayPort, Digital Visual Interface (DVI), high-definition multimedia interface (HDMI), RCA, RF antennae, S-Video, VGA, and/or the like; wireless transceivers: 802.11a/b/g/n/x; Bluetooth; cellular (e.g., code division multiple access (CDMA), high speed packet access (HSPA(+)), high-speed downlink packet access (HSDPA), global system for mobile communications (GSM), long term evolution (LTE), WiMax, etc.); and/or the like. One output device may be a video display, which may take the form of a Cathode Ray Tube (CRT), Liquid Crystal Display (LCD), Light Emitting Diode (LED), Organic Light Emitting Diode (OLED), Plasma, and/or the like based monitor with an interface (e.g., VGA, DVI circuitry and cable) that accepts signals from a video interface. The video interface composites information generated by a computer systemization and generates video signals based on the composited information in a video memory frame. Another output device is a television set, which accepts signals from a video interface. Often, the video interface provides the composited video information through a video connection interface that accepts a video display interface (e.g., an RCA composite video connector accepting an RCA composite video cable; a DVI connector accepting a DVI display cable, HDMI, etc.).
User input devices 911 often are a type of peripheral device 912 (see below) and may include: card readers, dongles, finger print readers, gloves, graphics tablets, joysticks, keyboards, microphones, mouse (mice), remote controls, retina readers, touch screens (e.g., capacitive, resistive, etc.), trackballs, trackpads, sensors (e.g., accelerometers, ambient light, GPS, gyroscopes, proximity, etc.), styluses, and/or the like.
Peripheral devices 912 may be connected and/or communicate to I/O and/or other facilities of the like such as network interfaces, storage interfaces, directly to the interface bus, system bus, the CPU, and/or the like. Peripheral devices may be external, internal and/or part of the TLL controller. Peripheral devices may include: antenna, audio devices (e.g., line-in, line-out, microphone input, speakers, etc.), cameras (e.g., still, video, webcam, etc.), dongles (e.g., for copy protection, ensuring secure transactions with a digital signature, and/or the like), external processors (for added capabilities; e.g., crypto devices 928), force-feedback devices (e.g., vibrating motors), near field communication (NFC) devices, network interfaces, printers, radio frequency identifiers (RFIDs), scanners, storage devices, transceivers (e.g., cellular, GPS, etc.), video devices (e.g., goggles, monitors, etc.), video sources, visors, and/or the like. Peripheral devices often include types of input devices (e.g., microphones, cameras, etc.).
It should be noted that although user input devices and peripheral devices may be employed, the TLL controller may be embodied as an embedded, dedicated, and/or monitor-less (i.e., headless) device, wherein access may be provided over a network interface connection.
Cryptographic units such as, but not limited to, microcontrollers, processors 926, interfaces 926, and/or devices 928 may be attached, and/or communicate with the TLL controller. A MC 68HC 16 microcontroller, manufactured by Motorola Inc., may be used for and/or within cryptographic units. The MC 68HC 16 microcontroller utilizes a 16-bit multiply-and-accumulate instruction in the 16 MHz configuration and requires less than one second to perform a 512-bit RSA private key operation. Cryptographic units support the authentication of communications from interacting agents, as well as allowing for anonymous transactions. Cryptographic units may also be configured as part of the CPU. Equivalent microcontrollers and/or processors may also be used. Other commercially available specialized cryptographic processors include: the Broadcom's CryptoNetX and other Security Processors; nCipher's nShield (e.g., Solo, Connect, etc.), SafeNet's Luna PCI (e.g., 6100) series; Semaphore Communications' 40 MHz Roadrunner 184; sMIP's (e.g., 208956); Sun's Cryptographic Accelerators (e.g., Accelerator 6000 PCIe Board, Accelerator 500 Daughtercard); Via Nano Processor (e.g., L 2100, L 2200, U 2400) line, which is capable of performing 500+ MB/s of cryptographic instructions; VLSI Technology's 33 MHz 6868; and/or the like.
Generally, any mechanization and/or embodiment allowing a processor to affect the storage and/or retrieval of information is regarded as memory 929. However, memory is a fungible technology and resource, thus, any number of memory embodiments may be employed in lieu of or in concert with one another. It is to be understood that the TLL controller and/or a computer systemization may employ various forms of memory 929. For example, a computer systemization may be configured wherein the operation of on-chip CPU memory (e.g., registers), RAM, ROM, and any other storage devices are provided by a paper punch tape or paper punch card mechanism; however, such an embodiment may result in an extremely slow rate of operation. In one configuration, memory 929 may include ROM 906, RAM 905, and a storage device 914. A storage device 914 may employ any number of computer storage devices/systems. Storage devices may include a drum; a (fixed and/or removable) magnetic disk drive; a magneto-optical drive; an optical drive (i.e., Blueray, CD ROM/RAM/RecoTLLble (R)/ReWritable (RW), DVD R/RW, HD DVD R/RW etc.); an array of devices (e.g., Redundant Array of Independent Disks (RAID)); solid state memory devices (USB memory, solid state drives (SSD), etc.); other processor-readable storage mediums; and/or other devices of the like. Thus, a computer systemization generally requires and makes use of memory.
The memory 929 may contain a collection of program and/or database components and/or data such as, but not limited to: operating system component(s) 915 (operating system); information server component(s) 916 (information server); user interface component(s) 916 (user interface); Web browser component(s) 918 (Web browser); database(s) 919; mail server component(s) 921; mail client component(s) 922; cryptographic server component(s) 920 (cryptographic server); the TLL component(s) 935; and/or the like (i.e., collectively a component collection). These components may be stored and accessed from the storage devices and/or from storage devices accessible through an interface bus. Although non-conventional program components such as those in the component collection may be stored in a local storage device 914, they may also be loaded and/or stored in memory such as: peripheral devices, RAM, remote storage facilities through a communications network, ROM, various forms of memory, and/or the like.
The operating system component 915 is an executable program component facilitating the operation of the TLL controller. The operating system may facilitate access of I/O, network interfaces, peripheral devices, storage devices, and/or the like. The operating system may be a highly fault tolerant, scalable, and secure system such as: Apple Macintosh OS X (Server); AT&T Plan 9; Be OS; Unix and Unix-like system distributions (such as AT&T's UNIX; Berkley Software Distribution (BSD) variations such as FreeB SD, NetB SD, OpenBSD, and/or the like; Linux distributions such as Red Hat, Ubuntu, and/or the like); and/or the like operating systems. However, more limited and/or less secure operating systems also may be employed such as Apple Macintosh OS, IBM OS/2, Microsoft DOS, Microsoft Windows 2000/2003/3.1/95/98/CE/Millenium/NT/Vista/XP (Server), Palm OS, and/or the like. In addition, emobile operating systems such as Apple's iOS, Google's Android, Hewlett Packard's WebOS, Microsofts Windows Mobile, and/or the like may be employed. Any of these operating systems may be embedded within the hardware of the NICK controller, and/or stored/loaded into memory/storage. An operating system may communicate to and/or with other components in a component collection, including itself, and/or the like. Most frequently, the operating system communicates with other program components, user interfaces, and/or the like. For example, the operating system may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses. The operating system, once executed by the CPU, may enable the interaction with communications networks, data, I/O, peripheral devices, program components, memory, user input devices, and/or the like. The operating system may provide communications protocols that allow the TLL controller to communicate with other entities through a communications network 913. Various communication protocols may be used by the TLL controller as a subcarrier transport mechanism for interaction, such as, but not limited to: multicast, TCP/IP, UDP, unicast, and/or the like.
An information server component 916 is a stored program component that is executed by a CPU. The information server may be an Internet information server such as, but not limited to Apache Software Foundation's Apache, Microsoft's Internet Information Server, and/or the like. The information server may allow for the execution of program components through facilities such as Active Server Page (ASP), ActiveX, (ANSI) (Objective-) C (++), C# and/or .NET, Common Gateway Interface (CGI) scripts, dynamic (D) hypertext markup language (HTML), FLASH, Java, JavaScript, Practical Extraction Report Language (PERL), Hypertext Pre-Processor (PHP), pipes, Python, wireless application protocol (WAP), WebObjects, and/or the like. The information server may support secure communications protocols such as, but not limited to, File Transfer Protocol (FTP); HyperText Transfer Protocol (HTTP); Secure Hypertext Transfer Protocol (HTTPS), Secure Socket Layer (SSL), messaging protocols (e.g., America Online (AOL) Instant Messenger (AIM), Apple's iMessage, Application Exchange (APEX), ICQ, Internet Relay Chat (IRC), Microsoft Network (MSN) Messenger Service, Presence and Instant Messaging Protocol (PRIM), Internet Engineering Task Force's (IETF's) Session Initiation Protocol (SIP), SIP for Instant Messaging and Presence Leveraging Extensions (SIMPLE), open XML-based Extensible Messaging and Presence Protocol (XMPP) (i.e., Jabber or Open Mobile Alliance's (OMA's) Instant Messaging and Presence Service (IMPS)), Yahoo! Instant Messenger Service, and/or the like. The information server provides results in the form of Web pages to Web browsers, and allows for the manipulated generation of the Web pages through interaction with other program components. After a Domain Name System (DNS) resolution portion of an HTTP request is resolved to a particular information server, the information server resolves requests for information at specified locations on the TLL controller based on the remainder of the HTTP request. For example, a request such as http://123.124.125.126/myInformation.html might have the IP portion of the request “123.124.125.126” resolved by a DNS server to an information server at that IP address; that information server might in turn further parse the http request for the “/myInformation.html” portion of the request and resolve it to a location in memory containing the information “myInformation.html.” Additionally, other information serving protocols may be employed across various ports, e.g., FTP communications across port 21, and/or the like. An information server may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the information server communicates with the TLL database 919, operating systems, other program components, user interfaces, Web browsers, and/or the like.
Access to the TLL database may be achieved through a number of database bridge mechanisms such as through scripting languages as enumerated below (e.g., CGI) and through inter-application communication channels as enumerated below (e.g., CORBA, WebObjects, etc.). Any data requests through a Web browser are parsed through the bridge mechanism into appropriate grammars as required by the TLL. In one embodiment, the information server may provide a Web form accessible by a Web browser. Entries made into supplied fields in the Web form are tagged as having been entered into the particular fields, and parsed as such. The entered terms are then passed along with the field tags, which act to instruct the parser to generate queries directed to appropriate tables and/or fields. In one embodiment, the parser may generate queries in standard SQL by instantiating a search string with the proper join/select commands based on the tagged text entries, wherein the resulting command is provided over the bridge mechanism to the TLL as a query. Upon generating query results from the query, the results are passed over the bridge mechanism, and may be parsed for formatting and generation of a new results Web page by the bridge mechanism. Such a new results Web page is then provided to the information server, which may supply it to the requesting Web browser.
Also, an information server may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses.
Computer interfaces in some respects are similar to automobile operation interfaces. Automobile operation interface elements such as steering wheels, gearshifts, and speedometers facilitate the access, operation, and display of automobile resources, and status. Computer interaction interface elements such as check boxes, cursors, menus, scrollers, and windows (collectively and commonly referred to as widgets) similarly facilitate the access, capabilities, operation, and display of data and computer hardware and operating system resources, and status. Operation interfaces are commonly called user interfaces. Graphical user interfaces (GUIs) such as the Apple Macintosh Operating System's Aqua and iOS's Cocoa Touch, IBM's OS/2, Google's Android Mobile UI, Microsoft's Windows 2000/2003/3.1/95/98/CE/Millenium/Mobile/NT/XP/Vista/6/8 (i.e., Aero, Metro), Unix's X-Windows (e.g., which may include additional Unix graphic interface libraries and layers such as K Desktop Environment (KDE), mythTV and GNU Network Object Model Environment (GNOME)), web interface libraries (e.g., ActiveX, AJAX, (D)HTML, FLASH, Java, JavaScript, etc. interface libraries such as, but not limited to, Dojo, jQuery(UI), MooTools, Prototype, script.aculo.us, SWFObject, Yahoo! User Interface, any of which may be used and) provide a baseline and means of accessing and displaying information graphically to users.
A user interface component 916 is a stored program component that is executed by a CPU. The user interface may be a graphic user interface as provided by, with, and/or atop operating systems and/or operating environments such as already discussed. The user interface may allow for the display, execution, interaction, manipulation, and/or operation of program components and/or system facilities through textual and/or graphical facilities. The user interface provides a facility through which users may affect, interact, and/or operate a computer system. A user interface may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the user interface communicates with operating systems, other program components, and/or the like. The user interface may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses.
A Web browser component 918 is a stored program component that is executed by a CPU. The Web browser may be a hypertext viewing application such as Google's (Mobile) Chrome, Microsoft Internet Explorer, Netscape Navigator, Apple's (Mobile) Safari, embedded web browser objects such as through Apple's Cocoa (Touch) object class, and/or the like. Secure Web browsing may be supplied with 128bit (or greater) encryption by way of HTTPS, SSL, and/or the like. Web browsers allowing for the execution of program components through facilities such as ActiveX, AJAX, (D)HTML, FLASH, Java, JavaScript, web browser plug-in APIs (e.g., Chrome, FireFox, Internet Explorer, Safari Plug-in, and/or the like APIs), and/or the like. Web browsers and like information access tools may be integrated into PDAs, cellular telephones, smartphones, and/or other mobile devices. A Web browser may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the Web browser communicates with information servers, operating systems, integrated program components (e.g., plug-ins), and/or the like; e.g., it may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses. Also, in place of a Web browser and information server, a combined application may be developed to perform similar operations of both. The combined application may similarly effect the obtaining and the provision of information to users, user agents, and/or the like from the TLL equipped nodes. The combined application may be nugatory on systems employing standard Web browsers.
A mail server component 921 is a stored program component that is executed by a CPU 903. The mail server may be an Internet mail server such as, but not limited to Apple's Mail Server (3), dovect, sendmail, Microsoft Exchange, and/or the like. The mail server may allow for the execution of program components through facilities such as ASP, ActiveX, (ANSI) (Objective-) C (++), C# and/or .NET, CGI scripts, Java, JavaScript, PERL, PHP, pipes, Python, WebObjects, and/or the like. The mail server may support communications protocols such as, but not limited to: Internet message access protocol (IMAP), Messaging Application Programming Interface (MAPI)/Microsoft Exchange, post office protocol (POP3), simple mail transfer protocol (SMTP), and/or the like. The mail server may route, forward, and process incoming and outgoing mail messages that have been sent, relayed and/or otherwise traversing through and/or to the TLL
Access to the TLL mail may be achieved through a number of APIs offered by the individual Web server components and/or the operating system.
Also, a mail server may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, information, and/or responses.
A mail client component 922 is a stored program component that is executed by a CPU 903. The mail client may be a mail viewing application such as Apple (Mobile) Mail, Microsoft Entourage, Microsoft Outlook, Microsoft Outlook Express, Mozilla, Thunderbird, and/or the like. Mail clients may support a number of transfer protocols, such as: IMAP, Microsoft Exchange, POP 3, SMTP, and/or the like. A mail client may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the mail client communicates with mail servers, operating systems, other mail clients, and/or the like; e.g., it may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, information, and/or responses. Generally, the mail client provides a facility to compose and transmit electronic mail messages.
A cryptographic server component 920 is a stored program component that is executed by a CPU 903, cryptographic processor 926, cryptographic processor interface 926, cryptographic processor device 928, and/or the like. Cryptographic processor interfaces will allow for expedition of encryption and/or decryption requests by the cryptographic component; however, the cryptographic component, alternatively, may run on a CPU. The cryptographic component allows for the encryption and/or decryption of provided data. The cryptographic component allows for both symmetric and asymmetric (e.g., Pretty Good Protection (PGP)) encryption and/or decryption. The cryptographic component may employ cryptographic techniques such as, but not limited to: digital certificates (e.g., X.509 authentication framework), digital signatures, dual signatures, enveloping, password access protection, public key management, and/or the like. The cryptographic component will facilitate numerous (encryption and/or decryption) security protocols such as, but not limited to: checksum, Data Encryption Standard (DES), Elliptical Curve Encryption (ECC), International Data Encryption Algorithm (IDEA), Message Digest 5 (MD5, which is a one way hash operation), passwords, Rivest Cipher (RC5), Rijndael, RSA (which is an Internet encryption and authentication system that uses an algorithm developed in 1966 by Ron Rivest, Adi Shamir, and Leonard Adleman), Secure Hash Algorithm (SHA), Secure Socket Layer (SSL), Secure Hypertext Transfer Protocol (HTTPS), and/or the like. Employing such encryption security protocols, the TLL may encrypt all incoming and/or outgoing communications and may serve as node within a virtual private network (VPN) with a wider communications network. The cryptographic component facilitates the process of “security authorization” whereby access to a resource is inhibited by a security protocol wherein the cryptographic component effects authorized access to the secured resource. In addition, the cryptographic component may provide unique identifiers of content, e.g., employing and MD5 hash to obtain a unique signature for an digital audio file. A cryptographic component may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. The cryptographic component supports encryption schemes allowing for the secure transmission of information across a communications network to enable the TLL component to engage in secure transactions if so desired. The cryptographic component facilitates the secure accessing of resources on the TLL and facilitates the access of secured resources on remote systems; i.e., it may act as a client and/or server of secured resources. Most frequently, the cryptographic component communicates with information servers, operating systems, other program components, and/or the like. The cryptographic component may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses.
The TLL database component 919 may be embodied in a database and its stored data. The database is a stored program component, which is executed by the CPU; the stored program component portion configuring the CPU to process the stored data. The database may be any of a number of fault tolerant, relational, scalable, secure databases, such as DB2, MySQL, Oracle, Sybase, and/or the like. Relational databases are an extension of a flat file. Relational databases consist of a series of related tables. The tables are interconnected via a key field. Use of the key field allows the combination of the tables by indexing against the key field; i.e., the key fields act as dimensional pivot points for combining information from various tables. Relationships generally identify links maintained between tables by matching primary keys. Primary keys represent fields that uniquely identify the rows of a table in a relational database. More precisely, they uniquely identify rows of a table on the “one” side of a one-to-many relationship.
Alternatively, the TLL database may be implemented using various standard data-structures, such as an array, hash, (linked) list, struct, structured text file (e.g., XML), table, and/or the like. Such data-structures may be stored in memory and/or in (structured) files. In another alternative, an object-oriented database may be used, such as Frontier, ObjectStore, Poet, Zope, and/or the like. Object databases may include a number of object collections that are grouped and/or linked together by common attributes; they may be related to other object collections by some common attributes. Object-oriented databases perform similarly to relational databases with the exception that objects are not just pieces of data but may have other types of capabilities encapsulated within a given object. If the TLL database is implemented as a data-structure, the use of the TLL database 919 may be integrated into another component such as the TLL component 935. Also, the database may be implemented as a mix of data structures, objects, and relational structures. Databases may be consolidated and/or distributed in countless variations through standard data processing techniques. Portions of databases, e.g., tables, may be exported and/or imported and thus decentralized and/or integrated.
In one embodiment, the database component 919 includes several tables 919a-k.
A Users table 919a may include fields such as, but not limited to: user_id, user_device_id, username, password, dob, first_name, last_name, age, state, address_firstline, address_secondline, zipcode, devices_list, contact_info, contact_type, alt_contact_info, alt contact type, and/or the like. The Users table may support and/or track multiple entity accounts on a TLL. A Data Source table 919b may include fields such as, but not limited to: source_ID, source_name, source_server_IP, device_domain, source_url, source_security_protocol, source_ftp, device_securekey, and/or the like. A POP table 919c may include fields such as, but not limited to: pop_id, pop_address, pop_server ip, pop_exchange, pop_transmittion_time, pop_history, and/or the like. An Index table 919d may include fields such as, but not limited to: index_id, index_name, index_attribute, index_value, index_rate, index_volume, index_timestamp, index_source, and/or the like. An attribute table 919e may include fields such as, but not limited to: geo-location, industry, size, daily_volume, strategy_type, max_size, min_size, trade_order_id and/or the like. A Bids table 919f may include fields such as, but not limited to: bid_id, bid_time, bid_attribute, bid_ad_type, bid_ad_name, bid_ad_description, bid_rate, bid_result, and/or the like. An Order table 919g may include fields such as, but not limited to: order_id, order_name, order_participant, order_user_id, order_volume, orderv bid_id, order_status, order_pop_id, order_latency, order_routing, and/or the like. A Financial Instrument table 919h may include fields such as, but not limited to: instrument_id, instrument_type, instrument_Reg, instrument_structure, instrument_asset_id, instrument_index, instrument_index_value, instrument_exchange_id, and/or the like. An Analytics table 919i may include fields such as, but not limited to: Analytics_id, analytics_time, analystics_ad_id, analytics_source_id, analytics_plot, analytics_prejection, analytics_map, analytics_UI_template, analytics_buy_point, and/or the like. A News table 919j may include fields such as, but not limited to: news_id, news_time, news_date, news_title, news_source, news_geo, news_zipcode, news_type, news_industry, news_target_audience, news_impact_audience, news_description, news_tag, and/or the like. A market data table 919k includes fields such as, but not limited to: market_data_feed_ID, asset_ID, asset_symbol, asset_name, spot_price, bid_price, ask_price, and/or the like; in one embodiment, the market data table is populated through a market data feed (e.g., Bloomberg's PhatPipe, Dun & Bradstreet, Reuter's Tib, Triarch, etc.), for example, through Microsoft's Active Template Library and Dealing Object Technology's real-time toolkit Rtt.Multi.
In one embodiment, the TLL database may interact with other database systems. For example, employing a distributed database system, queries and data access by search TLL component may treat the combination of the TLL database, an integrated data security layer database as a single database entity.
In one embodiment, user programs may contain various user interface primitives, which may serve to update the TLL. Also, various accounts may require custom database tables depending upon the environments and the types of clients the TLL may need to serve. It should be noted that any unique fields may be designated as a key field throughout. In an alternative embodiment, these tables have been decentralized into their own databases and their respective database controllers (i.e., individual database controllers for each of the above tables). Employing standard data processing techniques, one may further distribute the databases over several computer systemizations and/or storage devices. Similarly, configurations of the decentralized database controllers may be varied by consolidating and/or distributing the various database components 919a-k. The TLL may be configured to keep track of various settings, inputs, and parameters via database controllers.
The TLL database may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the TLL database communicates with the TLL component, other program components, and/or the like. The database may contain, retain, and provide information regarding other nodes and data.
The TLL component 935 is a stored program component that is executed by a CPU. In one embodiment, the TLL component incorporates any and/or all combinations of the aspects of the TLL discussed in the previous figures. As such, the TLL affects accessing, obtaining and the provision of information, services, transactions, and/or the like across various communications networks. The features and embodiments of the TLL discussed herein increase network efficiency by reducing data transfer requirements the use of more efficient data structures and mechanisms for their transfer and storage. As a consequence, more data may be transferred in less time, and latencies with regard to transactions, are also reduced. In many cases, such reduction in storage, transfer time, bandwidth requirements, latencies, etc., will reduce the capacity and structural infrastructure requirements to support the TLL's features and facilities, and in many cases reduce the costs, energy consumption/requirements, and extend the life of TLL's underlying infrastructure; this has the added benefit of making the TLL more reliable. Similarly, many of the features and mechanisms are designed to be easier for users to use and access, thereby broadening the audience that may enjoy/employ and exploit the feature sets of the TLL; such ease of use also helps to increase the reliability of the TLL. In addition, the feature sets include heightened security as noted via the Cryptographic components 920, 926, 928 and throughout, making access to the features and data more reliable and secure.
The TLL component may transform a bidding/trading request (e.g., see 203 in
The TLL component enabling access of information between nodes may be developed by employing standard development tools and languages such as, but not limited to: Apache components, Assembly, ActiveX, binary executables, (ANSI) (Objective-) C (++), C# and/or .NET, database adapters, CGI scripts, Java, JavaScript, mapping tools, procedural and object oriented development tools, PERL, PHP, Python, shell scripts, SQL commands, web application server extensions, web development environments and libraries (e.g., Microsoft's ActiveX; Adobe AIR, FLEX & FLASH; AJAX; (D)HTML; Dojo, Java; JavaScript; jQuery(UI); MooTools; Prototype; script.aculo.us; Simple Object Access Protocol (SOAP); Representational State Transfer (REST); SWFObject; Yahoo! User Interface; and/or the like), WebObjects, and/or the like. In one embodiment, the TLL server employs a cryptographic server to encrypt and decrypt communications. The TLL component may communicate to and/or with other components in a component collection, including itself, and/or facilities of the like. Most frequently, the TLL component communicates with the TLL database, operating systems, other program components, and/or the like. The TLL may contain, communicate, generate, obtain, and/or provide program component, system, user, and/or data communications, requests, and/or responses.
The structure and/or operation of any of the TLL node controller components may be combined, consolidated, and/or distributed in any number of ways to facilitate development and/or deployment. Similarly, the component collection may be combined in any number of ways to facilitate deployment and/or development. To accomplish this, one may integrate the components into a common code base or in a facility that may dynamically load the components on demand in an integrated fashion.
The component collection may be consolidated and/or distributed in countless variations through standard data processing and/or development techniques. Multiple instances of any one of the program components in the program component collection may be instantiated on a single node, and/or across numerous nodes to improve performance through load-balancing and/or data-processing techniques. Furthermore, single instances may also be distributed across multiple controllers and/or storage devices; e.g., databases. All program component instances and controllers working in concert may do so through standard data processing communication techniques.
The configuration of the TLL controller will depend on the context of system deployment. Factors such as, but not limited to, the budget, capacity, location, and/or use of the underlying hardware resources may affect deployment requirements and configuration. Regardless of if the configuration results in more consolidated and/or integrated program components, results in a more distributed series of program components, and/or results in some combination between a consolidated and distributed configuration, data may be communicated, obtained, and/or provided. Instances of components consolidated into a common code base from the program component collection may communicate, obtain, and/or provide data. This may be accomplished through intra-application data processing communication techniques such as, but not limited to: data referencing (e.g., pointers), internal messaging, object instance variable communication, shared memory space, variable passing, and/or the like.
If component collection components are discrete, separate, and/or external to one another, then communicating, obtaining, and/or providing data with and/or to other components may be accomplished through inter-application data processing communication techniques such as, but not limited to: Application Program Interfaces (API) information passage; (distributed) Component Object Model ((D)COM), (Distributed) Object Linking and Embedding ((D)OLE), and/or the like), Common Object Request Broker Architecture (CORBA), Jini local and remote application program interfaces, JavaScript Object Notation (JSON), Remote Method Invocation (RMI), SOAP, process pipes, shared files, and/or the like. Messages sent between discrete component components for inter-application communication or within memory spaces of a singular component for intra-application communication may be facilitated through the creation and parsing of a grammar. A grammar may be developed by using development tools such as lex, yacc, XML, and/or the like, which allow for grammar generation and parsing capabilities, which in turn may form the basis of communication messages within and between components.
For example, a grammar may be arranged to recognize the tokens of an HTTP post command, e.g.:
w3c-post http:// . . . Value1
where Value1 is discerned as being a parameter because “http://” is part of the grammar syntax, and what follows is considered part of the post value. Similarly, with such a grammar, a variable “Value1” may be inserted into an “http://” post command and then sent. The grammar syntax itself may be presented as structured data that is interpreted and/or otherwise used to generate the parsing mechanism (e.g., a syntax description text file as processed by lex, yacc, etc.). Also, once the parsing mechanism is generated and/or instantiated, it itself may process and/or parse structured data such as, but not limited to: character (e.g., tab) delineated text, HTML, structured text streams, XML, and/or the like structured data. In another embodiment, inter-application data processing protocols themselves may have integrated and/or readily available parsers (e.g., JSON, SOAP, and/or like parsers) that may be employed to parse (e.g., communications) data. Further, the parsing grammar may be used beyond message parsing, but may also be used to parse: databases, data collections, data stores, structured data, and/or the like. Again, the desired configuration will depend upon the context, environment, and requirements of system deployment.
For example, in some implementations, the TLL controller may be executing a PHP script implementing a Secure Sockets Layer (“SSL”) socket server via the information server, which listens to incoming communications on a server port to which a client may send data, e.g., data encoded in JSON format. Upon identifying an incoming communication, the PHP script may read the incoming message from the client device, parse the received JSON-encoded text data to extract information from the JSON-encoded text data into PHP script variables, and store the data (e.g., client identifying information, etc.) and/or extracted information in a relational database accessible using the Structured Query Language (“SQL”). An exemplary listing, written substantially in the form of PHP/SQL commands, to accept JSON-encoded input data from a client device via a SSL connection, parse the data to extract variables, and store the data to a database, is provided below:
Also, the following resources may be used to provide example embodiments regarding SOAP parser implementation:
and other parser implementations:
all of which are hereby expressly incorporated by reference herein.
Some investors, especially large institutional investors or wealthy individuals, occasionally have the needs to buy or sell a large number of securities in a relatively short timeframe. However, there may not be sufficient contra-side orders available in the market to immediately satisfy such large trades. If trades of such considerable sizes were sent directly to the market, they would cause at least a short-term price movement unfavorable to the trading investor. For example, a large sell order would drive down the selling price, and a large buy order would drive up the price.
As a result, in the capital markets industry, a broker may buy or sell securities from the broker's investor client as a service to the client investor. In a typical situation, with some urgency to buy or sell the security, the client investor is willing to pay a premium or sell at a discount as a trade-off for completing the transaction quickly. The broker typically either sells securities to the client investor from its own inventory (or takes on a short position) or buys securities from the client adding them to its own inventory as a long position. In the instance where the broker is taking on a new short/long securities position, the broker is exposed to market risk until the position is closed out.
To mitigate such risk, the trading operation (also known as the “risk desk”) within the broker that takes on the new position will try to hedge and/or exit the position as quickly as possible to minimize the potential for loss and/or preserve any profits made from the markup/discount the client paid to buy or sell the security. However, the conventional approach requires that the broker take a number of actions sequentially: (a) first trade with the client, (b) turn around to seek out trading opportunities on the open market to close out the new position as much as possible, and (c) print a principal trade on the market for the remainder of the position. Such a multi-step process is time-consuming and can subject the broker to lagging risks if the market moves quickly against the broker.
For example, a client investor wants to buy 100,000 shares of MSFT (Microsoft Corp.). The current offer price of MSFT is quoted as $34.10. The broker agrees to sell the investor 100,000 shares of MSFT immediately at $34.15, i.e., at a 5 cent markup. The broker does not have any shares of MSFT in inventory so must sell the 100,000 shares short. The broker executes the trade to sell short 100,000 MSFT @ $34.15 to the client investor and must now cover the short position by subsequently buying 100,000 shares of MSFT in the market. If the price moves up from the current offer of $34.10 the broker's service fee markup of 5 cents can become eroded, reducing the broker's profit. In the worst case, if the price moves above $34.15 and the broker is forced to buy shares at a price higher than the price sold to the client investor, the broker can potentially suffer a loss. Typically, a client investor will utilize the broker's risk service and pay the markup/markdown because the trade is large in size and subject to greater market risk. The broker must price the markup/markdown with sufficient buffer to avoid losses and preserve profits.
According to embodiments of the present invention, a Facilitation Cross Order (FCO) type can allow a risk trader to facilitate a client investor's trading request while simultaneously reducing the risk trader's own risk by executing against available offsetting liquidity in the order book of a market, and potentially offsetting liquidity on away markets. The risk trader negotiates the terms of the trade with the client investor and, in one single step, can use the FCO to complete the above-described three-step process but potentially achieve a lower risk for the risk trader. That is, the risk trader enters a buy/sell cross as according to the buy/sell order instruction received from the client investor. For example, if the client investor wants to buy/sell stock, the broker will enter a buy/sell FCO in the market with all the transactional parameters. Once the FCO is entered, the market will first test the market's order book (and/or the order book(s) of other market(s)) with the buy/sell FCO and automatically execute against eligible shares in the book up/down to the client investor's limit price. Upon fully exhausting all available shares on the market(s) on an agency basis (i.e., executing the trades on behalf of the client investor), the FCO will immediately and automatically print a principal trade on the market for the balance of unexecuted shares.
The FCO may optionally route any residual shares to other markets to attempt to execute against available offsetting shares on those markets' book(s).
Using the same exemplary scenario as described above where an investor client of the broker wants to buy 100,000 shares of MSFT. The current offer price of MSFT is quoted as $34.14 on the open market. The broker agrees to sell the investor 100,000 shares of MSFT immediately at $34.15, a 5 cent markup. As shown in
The broker does not have any shares of MSFT in inventory so potentially must sell the 100,000 shares short. As shown in
Next, in Step 1103 (
Existing marketplaces, in which buyers and sellers make bids and offers for the property traded, typically have two basic structures. In a “lit” market, available bids and offers are disclosed to all participants and via channels such as web pages and trading software user interfaces which automatically disseminate quote and trade information over a computer network. Another form of marketplace is the “dark” market, in which no bid or offer information is made public. In a “dark” market, a participant receives no information about available orders (e.g., prices and sizes) of potential contra-side parties until that participant's order is executed against a valid order on the opposite side. In financial markets, these dark markets are known as “dark pools” and some have become major centers for trading, rivaling the traditional lit marketplaces such as public stock, options, and futures exchanges.
Both models have shortcomings. In a lit market, the display of a participant's order can provide information about supply/demand to the market, leading potential contra- side parties to alter their prices in reaction (also known as “information leakage”) and worsening the price at which the first participant is able to trade. For example, when an investor enters an order to buy 100,000 shares of XYZ stock at $10.00 onto a “lit market” exchange, a seller currently offering 10,000 shares at $10.01 will know that there is a large buyer whose demand for 100,000 shares is much greater than the 10,000 shares of supply. As a result, the seller could increase his offering price to 10.05, anticipating that the buyer will be willing to pay more to satisfy his demand. In a dark market, on the other hand, the investor's buy of 100,000 shares would not be known to the seller, and equally the seller's order to sell would not be known to the buyer. As a result, it is difficult for participants in a dark market to determine the extent of interest on the opposite side, which reduces information leakage and is meant to encourage the pricing of orders according to a buyer's/seller's own willingness to buy/sell at their “fair value price assessment” rather than their knowledge of the selling/buying interest of potential contra parties.
Embodiment of the present invention described herein contemplate a model for constructing a “semi-lit” marketplace in which order book data is selectively disseminated to participants based on each participant's currently active orders in the marketplace.
In Step 1202, a semi-lit market for electronic trading may be set up which only permits firm orders. The market may be implemented as an electronic trading system, to which participants are connected through a network, in which there is a set of items to be traded. These items can be financial instruments (such as securities, commodities, or derivatives) or any other item capable of being traded electronically (such as tickets to sports or entertainment events or virtual items in an online game). Each order for a particular item in the marketplace is either a bid to buy or an offer to sell a number of units of that item (the “order size”) at a given price per unit (the “order price).
Preferably, all orders are firm, such that the entry of an order is a commitment to trade the order size at the order price until the order is cancelled or expires. A trade is executed immediately when two orders match on the basis of price and size—that is, there are no “indications of interest,” “discretionary orders,” “negotiable orders,” “non-firm quotations,” or other non-firm orders in this market and the only time an order could be cancelled or expire is prior to it being matched with a contra-side order of matching order size and order price.
In Step 1204, for each item, the market may set a “threshold price” at which orders can make their participants eligible to access certain information about orders on the opposite side.
In a preferred embodiment of the present invention, the threshold price is determined from quotations received from one or more lit markets (which may or may not include the current semi-lit market to which the orders are submitted). For example, for each item, the threshold price may be an average of the highest priced buy order for that item displayed on any lit market (or a combination of lit markets) and the lowest priced sell order displayed for that item in any lit market (or a combination of lit markets). Since this embodiment requires a reference price, the use of lit markets may be preferred for the item in the calculation of the threshold price.
According to other embodiments of the present invention, a threshold price could be set by another method if there are no lit markets or if the semi-lit market finds a different method to have beneficial results. For example, the threshold price could be set in reference to the last reported transaction price of a trade executed on a market.
According to a further embodiment of the present invention, the threshold price for a trading party may be a function of the size of that party's active order. For instance, the larger the size of a party's order is, the less likely that party is fishing for trade information or engaging in unfair trade practice; therefore, the threshold price requirement for that party may be more relaxed. On the other hand, for market participants with small orders, the threshold price requirement may be more stringent.
Then, in Step 1206, when a new order is received at the semi-lit market from a participant or the threshold price changes in response to changes in the reference price(s), it may be determined whether the order is an active one and, if so, whether the order price meets the threshold price requirement. That is, the order price is compared with corresponding threshold price.
The order price does not meet the threshold price requirement when it is “worse” (or less aggressive) than the threshold price—that is, if the active order is to buy and its price is less than the threshold price, or if the order is to sell and its price is greater than the threshold price. In that case, in Step 1208, the participant submitting that order is denied access to the receipt of data of contra-side orders.
On the other hand, the order price meets the threshold price requirement when it is “better” (or more aggressive) than the threshold price—if the active order is to buy and its price is greater than or equal to the threshold price, or if the order is to sell and its price is less than or equal to the threshold price. In this case, then in Step 1210, the participant who placed the order becomes eligible to receive data about contra-side orders in the semi-lit market. In other words, orders that were previously dark can become lit to the participant. An eligible participant will receive the prices and sizes of all orders that are on the opposite side of its own order (that is, a participant who placed a buy order will receive data about sell orders, and a participant who placed a sell order will receive data about buy orders) where the size of contra-side orders is less than or equal to the participant's order size. Updates to the order data will continue to be disseminated to the participant until the participant's order is no longer eligible to receive data, either due to execution or cancellation of the order or due to changes in the threshold price.
In this manner, information is provided to participants based on, and in proportion to, their demonstrated, committed willingness to trade. The larger the order size, and more aggressive the order price, the more information and exposure to trade a participant has provided and therefore is rewarded with access to more information about orders on the contra-side. This requirement to give information and express willingness to trade in order to get information about contra-side willingness to trade helps to reduce information asymmetry and gaming based on knowledge of supply and demand imbalances.
According to some embodiments of the present invention, rather than having the same threshold price for both buy and sell orders, different threshold prices may be set for buy orders and sell orders respectively.
When Trader A submits a sell order of 1000 shares at $15.00, that order will be booked at $15.00 (since it is the same as the threshold price of $15.00), and Trader A will be entitled to see all bids of 1000 shares or less (here, all the listed bid orders except the one at $14.85 for 2000 shares; or alternatively, only 1000 shares of the $14.85 bid is visible to Trader A along with other eligible bids).
Similarly, if Trader B submits an even more aggressive sell order at $14.99 for 2000 shares of BAC, this order will be booked at $14.99 (since it is more aggressive than the threshold price of $15.00), and Trader B will be entitled to see all bids of 2000 shares or less (here, all the listed bid orders).
For another example, if Trader C submits a bid order at $15.02 for 2000 shares of BAC, 900 shares of the bid will execute with the sell order of 800 shares at $15.02. The remaining 1200 shares will be booked as a bid at $15.02. And, Trader C will be entitled to see all asks of 1200 shares (or optionally all asks of 2000 shares) or less. According to some embodiments, if there is an ask order with a size of more than 1200 (or 2000) shares, Trader C may be allowed to see up to 1200 (or 2000) shares of that ask order, or alternatively the size of ask orders visible to Trader C may be varied so that Trader C cannot guess there is an ask of a larger size than 1200 (or 2000) shares.
According to an alternative embodiment of the present invention, different threshold prices may be set for buy and sell orders respectively. For example, a first threshold price for buy orders may be set at $14.99 here while a second threshold price for sell orders may be set at $15.01. As a result, a trade participant who has an active bid at $14.99 or more or an active ask at $15.01 or less could be granted access to contra-side orders on the order book (subject to trade size restrictions).
In order to address various issues and advance the art, the entirety of this application (including the Cover Page, Title, Headings, Field, Background, Summary, Brief Description of the Drawings, Detailed Description, Claims, Abstract, Figures, Appendices and/or otherwise) shows by way of illustration various example embodiments in which the claimed innovations may be practiced. The advantages and features of the present invention(s) are of a representative sample of embodiments only, and are not exhaustive and/or exclusive. They are presented only to assist in understanding and teach the claimed principles. It should be understood that they are not representative of all claimed innovations. As such, certain aspects of the disclosure have not been discussed herein. That alternate embodiments may not have been presented for a specific portion of the innovations or that further undescribed alternate embodiments may be available for a portion is not to be considered a disclaimer of those alternate embodiments. It will be appreciated that many of those undescribed embodiments incorporate the same principles of the innovations and others are equivalent. Thus, it is to be understood that other embodiments may be utilized and functional, logical, operational, organizational, structural and/or topological modifications may be made without departing from the scope and/or spirit of the disclosure. As such, all examples and/or embodiments are deemed to be non-limiting throughout this disclosure.
Also, no inference should be drawn regarding those embodiments discussed herein relative to those not discussed herein other than it is as such for purposes of reducing space and repetition. For instance, it is to be understood that the logical and/or topological structure of any combination of any data flow sequence(s), program components (a component collection), other components and/or any present feature sets as described in the figures and/or throughout are not limited to a fixed operating order and/or arrangement, but rather, any disclosed order is exemplary and all equivalents, regardless of order, are contemplated by the disclosure. Furthermore, it is to be understood that such features are not limited to serial execution, but rather, any number of threads, processes, processors, services, servers, and/or the like that may execute asynchronously, concurrently, in parallel, simultaneously, synchronously, and/or the like are also contemplated by the disclosure. As such, some of these features may be mutually contradictory, in that they cannot be simultaneously present in a single embodiment. Similarly, some features are applicable to one aspect of the innovations, and inapplicable to others. In addition, the disclosure includes other innovations not presently claimed. Applicant reserves all rights in those presently unclaimed innovations, including the right to claim such innovations, file additional applications, continuations, continuations-in-part, divisions, and/or the like thereof. As such, it should be understood that advantages, embodiments, examples, functional, features, logical, operational, organizational, structural, topological, and/or other aspects of the disclosure are not to be considered limitations on the disclosure as defined by the claims or limitations on equivalents to the claims. It is to be understood that, depending on the particular needs and/or characteristics of a TLL individual and/or enterprise user, database configuration and/or relational model, data type, data transmission and/or network framework, syntax structure, and/or the like, various embodiments of the TLL may be implemented that allow a great deal of flexibility and customization. For example, aspects of the TLL may be adapted for data network bandwidth management. While various embodiments and discussions of the TLL have been directed to Electronic Trading Platform, however, it is to be understood that the embodiments described herein may be readily configured and/or customized for a wide variety of other auction-based systems, applications and/or implementations.
The present application is a continuation of, and claims priority to, U.S. Utility patent application Ser. No. 14/488,886, filed Sep. 17, 2014. The present application is also related to PCT International Application No. PCT/US13/59558, filed Sep. 12, 2013, titled “TRANSMISSION LATENCY LEVELING APPARATUSES, METHODS AND SYSTEMS,” which claimed priority to U.S. Provisional Application Nos. 61/700,094 (filed Sep. 12, 2012), 61/753,857 (filed Jan. 17, 2013), 61/758,508 (filed Jan. 30, 2013), and 61/876,200 (filed Sep. 11, 2013). All of the above-referenced patent applications are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 14488886 | Sep 2014 | US |
Child | 16381537 | US |