Conversion of unstructured statements to structured queries using a machine learnt network with validation and refinement based on application to historical data sets

A machine-learned network converts unstructured queries to structured alerts in electronic trading systems, addressing complexity and errors in existing systems, ensuring accurate and efficient real-time event detection.

US12817859B1Active Publication Date: 2026-12-01CHICAGO MERCANTILE EXCHANGE INC
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
US18/973798
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2026-12-01
Estimated Expiration
2045-06-03

AI Technical Summary

Technical Problem

Existing electronic trading systems face challenges in enabling participants to define complex alert conditions due to the high volume of transactions, requiring substantial computational resources and complex query languages, leading to semantic and logical errors in user-defined queries.

Method used

A system utilizing a machine-learned network to convert unstructured natural language statements into structured queries, validated against historical data sets to ensure syntactic and semantic correctness, allowing for refined query adjustments and real-time alert generation.

Benefits of technology

Enables participants to specify highly configurable alerts accurately, reducing computational overhead and minimizing latency by ensuring queries align with user intent, improving the reliability and effectiveness of real-time event detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12817859-D00000_ABST
    Figure US12817859-D00000_ABST
Patent Text Reader

Abstract

The disclosed embodiments relate to generating, using a machine learnt (ML) network, a structured query based on an unstructured statement, such as a natural language statement, provided by a requestor comprising an attempt thereby to semantically specify an intended query for data of interest. The structured query will be automatically processed against data generated by an electronic data transaction processing system to identify when particular data is generated thereby, e.g., to generate, in real time, an alert message or indicator based thereon. The disclosed embodiments, as part of the generating process and in addition to validating the query syntax, apply, over one or more iterations, the generated structured query to a historical data set, the results therefrom being used to refine the conversion, as well as train the ML network, to ensure that the resultant structured query, as well as future generated structured queries, conforms to or are otherwise in accordance with the intent of the requestors.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] Electronic data transaction processing systems, such as an electronic trading system, are stochastic systems which, in real time, process a plurality of largely arbitrary, at least from the perspective of the system, incoming transaction / orders, e.g., orders to trade, received thereby from a plurality of participants via a data communication network, each, for example, seeking to purchase or sell a quantity of a financial instrument at a particular price. These incoming orders may be processed / transacted, as they are received, by a match engine of the electronic trading system which attempts to match each incoming order with at least one other previously received but unsatisfied order counter thereto, e.g., at the requested or better price, which, if any such orders exist, are stored in an order book data structure configured therefore and stored in a memory coupled with the match engine. Thereby, the match engine attempts to at least partially satisfy one or both of the incoming order or, if existing, the at least one other previously received but unsatisfied order counter thereto. Thereafter, data indicative of any unsatisfied remainder of either order, which may be the entirety thereof, is stored or otherwise maintained in the order book data structure until being satisfied by a later received order counter thereto or otherwise subsequently modified or canceled.

[0002] Further, data indicative of a result of each attempt to match, e.g., indicative of the current / resultant state of the order book data structure, is generated and communicated, i.e., advertised via an electronic market data feed / stream, via the data communication network to the plurality of participants. This data may be indicative, in the opinion of one or more participants, of a current or future advantageous or detrimental event. This data may be, for example, indicative of currently available transactional opportunities or that a previously available opportunity has been acted upon, modified or canceled. Derivations from this data may be, for example, indicative of a probability that a transactional opportunity may or may not occur in the future or the probability that a currently available transactional opportunity may or may not be acted upon in the future, e.g., within a defined future period of time. For example, the unsatisfied orders currently stored in the order book data structure at the best prices, e.g., the highest price for an order to purchase or lowest price to sell, may be indicative of a consensus among the participants of the true value the financial instrument. The satisfaction of all orders at the best price, leaving unsatisfied orders at the next best price, may be indicative of a change in the participants consensus on the value of that financial instrument and may present a transactional opportunity for a participant who wishes to transact at a better price.

[0003] Often, one or more actions of the participants, such as the submission of a transaction to the electronic data transaction processing system, will be based on, or otherwise responsive to, the data stream generated / communicated by the system based on the results of the attempts to match prior received transactions, e.g., based on certain events comprising subsets of those results, alone or in combination, such as events which are indicative of or precursors to transactional opportunities or other events, or derivations therefrom, such as changes, trends, forecasts, etc. indicative of current or future transactional opportunities or other events. A participant may be interested in, e.g., base their actions on, recently generated data, data generated during a past period of time or correlated with a prior event, e.g., with a financial, news, weather event, etc., or a combination thereof. In particular, the data of interest may be indicative, at least in the opinion of a particular participant, of a current or future opportunity or event which the participant wishes to capitalize on or avoid. Different participants may be interested in vastly different events, each comprising a complex interaction of multiple factors, in an effort to, for example, identify and capitalize upon current or future opportunities or avoid future events.

[0004] However, given the volume of transactions processed by an electronic transaction processing system, such as an electronic trading system, which may process millions of transactions per day, it may not be practical, e.g., it may may take too much time and / or computational resources, for a participant to store, i.e., for later review, or continuously monitor and process all of the data generated and communicated by the trading system in an effort to identify or derive the present or future occurrence of particular events therefrom, particularly where the participant may be attempting to derive complex relationships from that data and / or correlate such data with previously generated data and / or other events generated by the trading system or external thereto.

[0005] Accordingly, there is a need for systems which provide data research, monitoring and alert functions which enable participants to define certain conditions to the system wherein the system will then notify the participant, e.g., generate and communicate an electronic notification message thereto, e.g., an alert message / indicator, when the defined conditions are satisfied.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] FIG. 1 depicts a computer network system, according to some embodiments.

[0007] FIG. 2 depicts a general computer system, according to some embodiments.

[0008] FIG. 3 depicts a block diagram of a system for generating alert notifications in an electronic data transaction processing system, according to some embodiments.

[0009] FIG. 4 depicts a block diagram of an implementation of a system for generating queries for an alert notification system in an electronic data transaction processing system, according to some embodiments.

[0010] FIG. 5 depicts a flow chart showing the operation of the system of FIGS. 3 and 4 according to some embodiments.DETAILED DESCRIPTION

[0011] The disclosed embodiments relate to a system and a method for generating, using a machine learnt network, a structured query based on an unstructured statement, such as a natural language statement, provided by a requestor comprising an attempt thereby to semantically specify an intended query for data of interest, e.g., for which to generate an alert notification. Wherein, the structured query will be automatically processed / evaluated against data generated by an electronic data transaction processing system, such as an electronic trading system, to identify when particular data is generated thereby, e.g., to generate, in real time, an alert message or other indicator based thereon. The disclosed embodiments, as part of the generating process and in addition to validating the query syntax, apply, over one or more iterations, the generated structured query to a historical data set, wherein the results therefrom are used to refine the conversion, as well as train the machine learnt network, to ensure that the resultant structured query, as well as future generated structured queries, conforms to or are otherwise in accordance with the intent of the requestors as specified by the unstructured statements provided thereby.

[0012] As noted above, data transaction processing systems, such as an electronic trading system, are stochastic systems which, in real time, process a plurality of largely arbitrary, at least from the perspective of the system, incoming transaction / orders, e.g., orders to trade, received thereby from a plurality of participants via a data communication network, each, for example, seeking to purchase or sell a quantity of a financial instrument at a particular price. These incoming orders may be processed / transacted, as they are received, i.e., in real time, by a match engine of the electronic trading system which attempts to match each incoming order with at least one other previously received but unsatisfied order counter thereto, e.g., at the requested or better price, which, if any such orders exist, are stored in an order book data structure configured therefore and stored in a memory coupled with the match engine.

[0013] Thereby, the match engine attempts to at least partially satisfy one or both of the incoming order or, if existing, the at least one other previously received but unsatisfied order counter thereto. Thereafter, data indicative of any unsatisfied remainder of either order, which may be the entirety thereof, is stored or otherwise maintained in the order book data structure until being satisfied by a later received order counter thereto or otherwise subsequently modified or canceled.

[0014] Further, data indicative of a result of each attempt to match, e.g., indicative of the current / resultant state of the order book data structure, is generated and communicated, i.e., advertised via an electronic market data feed / stream, via the data communication network to the plurality of participants. This data may be indicative, e.g., as interpreted by one or more participants, of a current or future advantageous or detrimental event. This data may be, for example, indicative of currently available transactional opportunities or that a previously available opportunity has been acted upon, modified or canceled. Derivations from this data may be, for example, indicative of a probability that a transactional opportunity or detrimental event may or may not occur in the future or the probability that a currently available transactional opportunity may or may not be acted upon in the future, e.g., within a defined future period of time.

[0015] For example, the unsatisfied orders currently stored in the order book data structure at the best prices, e.g., the highest price for an order to purchase or lowest price for an order to sell, may be indicative of a consensus among the participants of the true value of the financial instrument. The satisfaction of all orders at the best price, leaving unsatisfied orders at the next best price, may be indicative of a change in the participants consensus on the value of that financial instrument and may present a transactional opportunity for a participant who wishes to transact at a better price or detrimental event for a participant who wishes to avoid having to transact at a worse price.

[0016] Further, as was noted, one or more actions of the participants, such as the submission of a transaction to the electronic data transaction processing system, will be based on, or otherwise responsive, e.g., in real time, to, the data stream generated / communicated by the system based on the results of the attempts to match prior received transactions, e.g., based on certain events comprising subsets of those results, alone or in combination, such as events which are indicative of or precursors to transactional opportunities or detrimental events, or derivations therefrom, such as changes, trends, forecasts, etc. indicative of current or future transactional opportunities or detrimental events. A participant may be interested in, e.g., base their actions on, recently generated data, data generated during a past period of time or correlated with a prior event, e.g., with a financial, news, weather event, etc., or a combination thereof. In particular, the data of interest may be indicative, at least in the opinion of a particular participant, of a current or future opportunity or event which the participant wishes to capitalize on or avoid. Different participants may be interested in vastly different events, each comprising a complex interaction of multiple factors, in an effort to, for example, identify and capitalize upon current or future opportunities or avoid future events.

[0017] In a high volume competitive market, it may be important for the participant to be made aware of, or otherwise, recognize such opportunities / events quickly, e.g., in real time, so that, for example, they can submit a transaction to avoid or capitalize upon it, e.g., before the event detrimentally affects the participant or before the opportunity is taken by another participant, the conditions supporting the opportunity change, or the opportunity is otherwise withdrawn. This is often referred to as the “tick to trade” latency, i.e., the time delay between when a detrimental or opportunity-creating event occurs in the trading system and a transaction avoiding the event or capitalizing upon that opportunity is received by the trading system and includes the latency in transmitting the data indicative of the event to the participants, the latency in a participant processing / digesting that event and generating a responsive transaction and the latency in communicating that responsive transaction back to the trading system.

[0018] However, given the volume of transactions processed by an electronic transaction processing system, such as an electronic trading system, which may process millions of transactions per day, it may not be practical, e.g., it may may take too much time and / or computational resources, for a participant to store, i.e., for later review, or continuously monitor and process all of the data generated and communicated by the trading system in an effort to identify or derive the occurrence of particular events therefrom, particularly where the participant may be attempting to derive complex relationships from that data and / or correlate such data with previously generated data and / or other events generated by the trading system or external thereto.

[0019] Accordingly, some electronic trading systems provide data research, monitoring and alert functions which enable participants to define certain conditions to the system wherein the system will then notify the participant, e.g., generate and communicate an electronic notification message thereto, when the defined conditions are satisfied, e.g., in real time. Such systems being co-located with the electronic trading system components may be able to access data sources otherwise unavailable to participants, minimize latency in obtaining the data for processing and, generally, can assign substantial computational resources toward the storage and processing of that data, as well as the timely communication of alert messages.

[0020] In one such implementation, the electronic trading system may provide a selection or menu of predefined fixed or semi-configurable alerts from which a participant can select. The participant may select those alerts of interest and configure any configurable parameters thereof, e.g., specific a product of interest, a value threshold or range for one or variables, etc., and the system will then provide the requisite alert when the criteria thereof are satisfied.

[0021] However, such systems still face practical limitations on what information they can be triggered by, i.e., the variety of alerts and the extent to which those alerts may be configured / customized. Ignoring the necessary computational resources needed to maintain and timely process a large number of alerts requested by participants, the variety of alerts which may be desired or requested by participants may be substantial. As noted above, different participants may be interested in vastly different events, each comprising a complex interaction of multiple factors, in an effort to, for example, identify and capitalize upon current or future opportunities or avoid detrimental events. Some participants may have other interests, aside from identifying transactional opportunities, such as research, regulatory, administrative or performance interests. Furthermore, participants may not even be aware of the types of data that are available or how that data might be used / analyzed to identify, for example, detrimental events or transactional opportunities. In addition, some participants may prefer not to devote their own resources to implementing and maintaining such systems and may be willing to, for example, pay for such a service.

[0022] Accordingly, it may not be possible for the trading system to readily anticipate or enable an alert, or configurable aspect thereof, for every possible condition / criteria that a participant may contemplate or be interested in and, therefore, trading systems typically provide only a limited pre-defined alert function, i.e., they allow a user to select from / specify / configure only a limited set of criteria / parameters which to monitor, generalized to the expected interests of the participants as a group. For example, the system may limit predefined alerts to those based on price or volume values or other basic trading parameters, such as current best bid or ask price, last traded price, last traded quantity, total volume, etc.

[0023] To enable participants to specify complex alert functions, some trading systems may implement complex event / event stream processing engines, such as Esper, produced by EsperTech Inc., which provides a domain-specific language for processing events called Event Processing Language (EPL), a declarative programming language for analyzing time-based event data and detecting situations as they occur. Other similar event / event stream processing engines may utilize structured query language (SQL), a standard language for managing and manipulating relational databases, to specify events of interest. These systems enable the specification of complex queries to be processed against streaming data, such as that generated by the trading system, in real time and generate, for example, alerts based thereon. Further, these systems are often scalable enabling them to handle a high volume of complex alerts with minimal performance impact.

[0024] However, these complex event / event stream processing engines still require the user / participant to specify their queries in a complex query language and using the proper syntax, requiring the user to understand not only how to properly specify a query but also how to specify a query in a manner which achieves the result intended by the user. Even where a user may specify a valid, i.e., syntactically correct, query which can be applied by the system, that query may not achieve the intended result. For example, the query may include semantic or logical errors. Semantic errors occur when one or more of the query parameters are used incorrectly such that the query is valid but does something other than what was intended. Logical errors occur when the query's logic is incorrect such that the query is valid but does not produce the desired output. Furthermore, it may be difficult for the user to determine that their query contains such errors as they would need to separately monitor the data stream to, for example, identify situations where their query should have returned results (false negatives) but failed to do so or vice versa (false positives).

[0025] To abstract away the complexity of these complex event / event stream processing engines while allowing users to readily specify complex alert queries, some systems implement natural language (NL) to query converters, such as an NL to SQL converter. These converters are tools that allow users to input queries in an unstructured form, e.g., using natural language, and then automatically convert or translate those queries into the query language, such as SQL, with the goal of making it easier for users to interact with databases / data streams without having to learn the intricacies of the query language. These converters typically use natural language processing (NLP) and machine learning techniques to understand and interpret the user's intent expressed in natural language, and then generate the corresponding queries and may involve parsing and analyzing the input text, identifying key entities and relationships, and mapping them to database structures.

[0026] An example NL statement / prompt may be “for the next two days, alert me when the price of corn futures is up 10% over a 10 minute interval.” Other examples include:A. Price Breakout AlertsPrompt (NL Statement): “Look for instances where the price of the E-mini S&P 500 futures contract (‘ES’) exceeds the highest price seen in the past hour.”Resultant Query:

[0028] SELECT contract_symbol, price, timestamp

[0029] FROM futures_data

[0030] WHERE price>(SELECT MAX(price) FROM futures_data WHERE contract_symbol=‘ES’ AND timestamp BETWEEN NOW( )-INTERVAL ‘1 hour’ AND NOW( ))

[0031] AND contract_symbol=‘ES’B. Volatility Detection

[0032] Prompt (NL Statement): “Calculate the average absolute price change over 5-minute intervals for the Crude Oil futures contract (‘CL’). Flag intervals where the average volatility exceeds a threshold 0.5.”Resultant Query:

[0033] SELECT contract_symbol, AVG(ABS(price—LAG(price, 1, price) OVER (PARTITION BY contract_symbol ORDER BY timestamp))) AS volatility

[0034] FROM futures_data

[0035] WHERE contract_symbol=‘CL’

[0036] GROUP BY contract_symbol, TUMBLE (timestamp, INTERVAL ‘5 minutes’)

[0037] HAVING volatility>0.5C. Trend Following

[0038] Prompt (NL Statement): “Look for instances where the price of the Gold futures contract (‘GC’) is higher than the price 3 and 6 trades earlier, suggesting an upward trend.”Resultant Query:

[0039] SELECT contract_symbol, price, timestamp

[0040] FROM futures_data

[0041] WHERE contract_symbol=‘GC’

[0042] AND price>LAG(price, 3, price) OVER (PARTITION BY contract_symbol ORDER BY timestamp).

[0043] AND price>LAG(price, 6, price) OVER (PARTITION BY contract_symbol ORDER BY timestamp)D. Correlation Analysis

[0044] Prompt (NL Statement): “Calculate the correlation between the E-mini S&P 500 (‘ES’) and Nasdaq 100 (‘NQ’) futures contracts over hourly intervals. Flag intervals where the correlation exceeds a threshold of 0.8.”Resultant Query:

[0045] SELECT contract_symbol_1, contract_symbol_2, CORR(price_1, price_2) AS correlation

[0046] FROM (

[0047] SELECT ‘ES’ AS contract_symbol_1, price AS price_1, ‘NQ’ AS contract_symbol_2, price AS price_2, timestamp

[0048] FROM futures_data

[0049] WHERE contract_symbol IN (‘ES’, ‘NQ’)

[0050] )

[0051] GROUP BY contract_symbol_1, contract_symbol_2, TUMBLE(timestamp, INTERVAL ‘1 hour’)

[0052] HAVING correlation>0.8

[0053] Unfortunately, the reliability of NL to query converters may be questionable, particularly when attempting to convert complex NL statements into resultant complex queries, and it may be difficult for a user to appreciate when a resultant query, while syntactically correct, will not achieve user's intended goal. For example, a query may include a semantic or logical flaw which will cause it to fail to identify the occurrence of certain data in the monitored data stream. However, reviewing the resultant query for such flaws may require a deep understanding of the query language, which the user was attempting to avoid by using the NL to query converter in the first place, and distinguishing between a flawed query and the fact that the data of interest may have simply not occurred in the data stream may be difficult, particularly for complex high volume data streams. That is, the query may correctly reflect a translation of the NL statement provided by the user, i.e., “the resultant query reflects what I said,”, but will not achieve the intended result, i.e., “the resultant query is not what I intended.”

[0054] The disclosed embodiments provide a system / method which may be used by an electronic trading system to enable and validate highly configurable alert specifications, e.g., using unstructured or natural language statements or expressions, also referred to as a prompt, for implementation by complex event / event stream processing engine to provide, for example, real time alerts, i.e., for validating that a query resulting from a machine-learnt-network model-based NL-to-query converter is both syntactically and semantically correct and aligns / converges with the requestor's intent.

[0055] The disclosed embodiments implement a query validator for validating a query resulting from the NL to query converter which both verifies the syntactic validity of the resultant query and, if syntactically correct, executes the resultant query against a historical sample time ordered data set, e.g., historical market data and other event data, to determine the result(s), both in content and frequency, as if the resultant query had been executed there against in real time. Where the resultant query is not syntactically correct, the errors may be used to refine the query or the NL-query conversion and / or to train or reinforce the training of the machine-learnt-network model. Once a syntactically valid query is produced, the historical data execution result is, in one embodiment, presented to the requestor in order to allow the requestor to gauge the degree to which the resultant query has semantically diverged from the intended query. As the historical data set comprises a time ordered series of results produced by the electronic trading system over a period of time, the historical data execution result may reflect both the particular content of the historical data set which satisfies the query as well as the frequency at which the query is or would be satisfied over the prior period of time. The feedback received based on this review is then used to refine the query or the NL-query conversion and / or to train or reinforce the training of the machine-learnt-network model. For example, where a high frequency of the correct content is identified by the query, the requestor may wish to refine the query to reduce the frequency, e.g., by tightening a tolerance range of one or more of the query variables. Similarly, to increase the frequency of the query being satisfied, the query may be refined to relax one or more restrictive requirements. In one implementation, the requestor may include a set of sample / expected query results with their unstructured / NL statement wherein the system converts the NL statement to a resultant query and subsequently validates the query using the provided sample results by comparing the historical data execution result with the provided sample results, identifying any divergence, and iteratively refining the query, the conversion and / or the machine learnt model so as to minimize that divergence.

[0056] In one implementation, the disclosed query generator may attempt to improve the resultant query by augmenting the unstructured / NL prompt and / or query resulting therefrom, e.g., to identify and / or adjust one or more query parameters which the user may not have considered or contemplated. For example, the machine-learnt network, based on having converted similar queries, may identify additional or alternative query parameters and / or values thereof based on those similar queries. For example, the system may identify parameter value ranges which are too broad or too narrow and suggest adjustments thereto, or the system may identify query parameters / variables which have the most, e.g., highest probability of, impact on the query results and suggest adjustments thereto. In one embodiment, the machine-learnt network may identify precursor events / conditions which, when factored into the query, enable improved responsiveness and / or accuracy in triggering the alert and / or improved accuracy and / or lead time in in forecasting future event occurrences, etc. In one embodiment, the disclosed system may automatically modify the unstructured / NL prompt and / or query resulting therefrom. Alternatively, suggested modifications may be presented to the user / requestor, e.g., via an alert specification user interface, for approval / acceptance, and / or modification, thereby.

[0057] Generally, the unstructured / NL prompt and / or query resulting therefrom, may may define a static or dynamic stateless or stateful condition, or change therein, of interest, such as a future event for which a forecast, based on current data or changes thereto, exceeds a probability threshold. The unstructured / NL prompt and / or query resulting therefrom, may define patterns of stateless and / or stateful conditions over configurable time windows triggered / initiated by an initial event / condition. In addition, the unstructured / NL prompt and / or query resulting therefrom, may define a schedule of when to be executed, e.g., in real time, at end of trading session, at end of quarter, etc., or how frequently to executed, e.g., in real time, ever hour, every day, etc. Further, the unstructured / NL prompt and / or query resulting therefrom, may define threshold changes (velocity), or rate of change (acceleration), in values required to trigger the alert.

[0058] As opposed to defining real time alerts executed against the most current data as it is generated by the electronic trading system, the disclosed embodiments may also, or alternatively, enable the generated queries to be executed against historical data sets maintained by the electronic trading system to store previously generated data, e.g., to identify events, micro or macro trends occurring over a prior time period. For example, some participants may wish to execute a query at the end of a trading session, end of month, end of quarter, etc. against all, or a subset, of the data generated during that preceding time period, i.e., to assess to “what happened” in the market that day. For example a user may wish to know the last traded price, the most active product / instrument traded, what tenor traded the most, which options strikes had the most volume, etc., during the specified period. The generated query may include a scheduling / timing parameter defining when, in absolute or relative terms, to execute the query and the extent of the data to run the query against, i.e., how far back in time, e.g., at the end of the trading session looking back to the beginning thereof. The unstructured / NL statement / prompt provided by the user may specify the execution timing and execution extent using unstructured / natural language and the disclosed embodiments will convert that statement / prompt into appropriate parameters of the resultant query to control the execution thereof as specified. In one embodiment, results of alerts scheduled to execute at specific times, as opposed to in real time, may be collected and reported to the requesting user together, such as via a periodically generated digest reporting communication or via a user interface which collectively reports the query results, e.g., a via a “dashboard” or “info graphic” display.

[0059] As was noted, the alert / event processing engine, also referred to herein as a structured query processor, may be coupled with additional data sources, in addition to the market data feed, such as news event, weather event or other event data sources of event data which a participant may feel is correlated with activities or events happening in the electronic trading system. For example, the disclosed alerting engine may be coupled with market data feeds from other trading systems, such as US or foreign equities, bond, currency trading systems, as well as other data sources, financial or otherwise, such as the consumer price index, federal interest rates, etc. Queries against these additional data sources, in combination with the data from the electronic trading system or alone, may be specified by the participants so as to generate alerts based thereon as described. In one embodiment, the system may dynamically couple with only those data sources for which there is an active query dependent thereon so as to, for example, minimize subscription fees, etc.

[0060] As described herein, queries may be defined which attempt to identify the occurrence of a particular event. In some cases, the event of interest may occur repeatedly / frequently, or the event conditions may be occurring continuously or otherwise be maintained over a period of time, resulting in frequent alerts being generated, i.e., over a short duration of time. Where the frequency of the alert is substantial, the volume of messages may render the alert unsuitable for its purpose or otherwise obscure the information which the requestor was trying to obtain. For example, an alert specified to trigger when a price value drops below a threshold may continue to trigger as long as the price value continues to be under that threshold value. In this case, only the first occurrence of the event, i.e., when the value first falls below the threshold, or only the transition events when the value changes from above to below the threshold, may be of interest. As was noted above, the historical feedback-based refinement of the resultant structured query may enable the requestor to identify a query which may trigger too frequently and refine the query based thereon to reduce the trigger frequency, such as by narrowing a tolerance range of a query parameter. In some cases, the requestor may not care and would want to see all of the alerts no matter how frequently they are generated, e.g., that requestor may be able to further derive additional information from the trigger frequency, etc.

[0061] In one embodiment, the disclosed system may enable, subject to user control, throttling or otherwise regulation of the triggering of alerts. For example, when the alert trigger volume or frequency exceeds a threshold, the alert communication may either be permanently or temporarily suppressed or the alert query suspended from execution. For example, a desensitizing parameter may cause the alert to be less sensitive to a particular parameter in order to reduce the alert frequency. The threshold may be specified in terms of a count over time, e.g., 5 triggers in a 10 second period, or relative to the triggering event, e.g., only trigger on the first occurrence of the conditions which satisfy the query. Further, the threshold may specify when the alert should be resumed or restarted, e.g., when the alert would have not triggered over a defined time period, such as 5 seconds, or when the satisfying conditions revert / transition to unsatisfying conditions and then back again, etc. Multiple thresholds may be specified, e.g., low and high watermarks, where different actions may be performed depending on which threshold is met, such as to suppress alerts for a period of time if a first threshold is met and stop the alert if a second threshold is met. Thresholds may be specified in terms of magnitude, such as to suppress alerts triggered by minor changes to a value but not suppress the alert if a substantial change in value occurs. Thresholds may be scheduled such that alerts are only suppressed or not during specific time periods, such as proximate to the opening or closing of a trading session. Or combinations thereof. Where alerts are suppressed, rather than stopped, the alert messages themselves may not be generated or they may be collected, rather than communicated to the requestor in real time, and provided in batch the user, such as via a periodic digest or report. In some cases, stopping the alert may be warranted where the alert is adding unnecessary processing overhead to the alerting engine. As described herein, the disclosed embodiments may enable a requestor to evaluate the thresholds and / or suppression criteria against the historical data set to assess the frequency at which the alert may trigger and the result of the effects of any specified suppression thresholds / criteria.

[0062] In one embodiment, the alert / event processing engine / structure query processor may enable a, automated or optional, contextual “lookback” function whereby, upon the triggering of an alert based on the then current data, the query is then run against a historical data set. In one implementation, this may simply provide an assessment of past occurrences, e.g., the frequency, most recent occurrence, etc. of the current event which triggered the alert. In another embodiment, the results of the historical query include events occurring within a predefined threshold proximity after the event, and / or satisfying a threshold parameter, providing the requestor with an assessment of what is likely to occur, e.g., the market's reaction, following the current event which triggered the alert. In one implementation, query and / or current event may be processed via the machine learnt-network trained on a time series, e.g., implementing a long-short-term memory, of historical data so as to be able to correlate, i.e., in accordance with a confidence level, occurrences of particular events with resultant follow on events, e.g., indicative of past and predicted future market reactions, which may or not occur proximate to the event of interest.

[0063] In one implementation, rather than, or in addition thereto, execute the triggered query against the historical data set, a triggering event may cause the system to execute one or more additional, e.g., chained, queries against the historical data set, e.g., to historical events correlated with the current triggering event in order to forecast future events. For example, this may implement an if-then function, e.g., if query1 is triggered based on the real time data, execute query2 against the historical data. Each such query may be chained with another query which executes dependent upon whether the parent query is satisfied or not.

[0064] In one implementations, a query can include an embedded calculation which is executed if the alert is triggered, e.g., to compute a volatility value when a price change occurs. In one implementation, a query may store state, such as based on previous triggering of the query, and factor the stored state into a future evaluation, e.g., within a defined time window, of the query against the then current data.

[0065] In one implementation, queries may include actions to execute when the query is satisfied, in addition to, or instead of, triggering an alert. For example, an alert message may include / embed an actionable link which, upon acting on it, may cause submission of a trade order. In one implementation, the embedded links may be configurable by participants in accordance with their electronic trading software so that a link, when acted on, is able to execute one or more functions within the participant's electronic trading software facilitating integration therewith. Alternatively, a query may be tied to a trade action so as to, for example, generate a semi or completely pre-populated trade ticket for an order submission.

[0066] As described herein, the disclosed embodiments use and improve upon a machine learnt model to convert unstructured, e.g., natural language (NL), prompts / statements to a structured statement, e.g., a structured query. The unstructured / NL prompt / statement comprises an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor, e.g., an alert engine, at least against the data, e.g., market data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match satisfies the intended query. The machine learnt model converts the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders. As described, natural language processing (NLP) may first be applied to the unstructured statement to facilitate the conversion by the machine learnt model, e.g., parsing and analyzing the input text, identifying key entities and relationships, etc. NLP may include case conversion, tokenization, removal of escape / nonce words, tagging of parts of speech, element classification and relation into attribute clauses, and removal of ambiguous attributes.

[0067] The machine learnt model may be trained, using supervised training as described below, on sample unstructured statements and resultant queries having the proper query syntax. As described herein, the disclosed embodiments may improve the training of the machine learnt model by iteratively applying the resultant structured query to a historical data set for review by the requestor, using feedback therefrom to refine the conversion to reduce / minimize the semantic divergence from the intended query. The machine learnt model may also be trained, using unsupervised training as describe above, on sample unstructured statements and resultant queries having the proper query syntax as applied to a known data set, where the resultant structured query is applied to the known data set and the results thereof compared with known results, the machine learnt model learning from the process of attempting to minimize the divergence therebetween. As described, the machine learnt model training may be improved by enabling the requestor to provide a sample result set whereby the resultant structure query is applied to a historical data set and the results thereof compared to the sample result set, the conversion being revised to minimize divergence between the sample result set and the results of application of the resultant query.

[0068] The machine learnt model may be trained, such as via a simulated annealing process, using simulated and actual unstructured statement specifying intended queries with the resultant structured queries executed against a historical data set or real time data and the results thereof evaluated for semantic divergence of the structured query from the intended query.

[0069] Simulated annealing (SA) describes a probabilistic technique for approximating the global optimum of a given function. Specifically, it is a metaheuristic to approximate global optimization in a large search space for an optimization problem. For large numbers of local optima, SA can find the global optimum. It is often used when the search space is discrete (for example the traveling salesman problem, the Boolean satisfiability problem, protein structure prediction, and job-shop scheduling). For problems where finding an approximate global optimum is more important than finding a precise local optimum in a fixed amount of time, simulated annealing may be preferable to exact algorithms such as gradient descent or branch and bound. The name of the algorithm comes from annealing in metallurgy, a technique involving heating and controlled cooling of a material to alter its physical properties. Both are attributes of the material that depend on their thermodynamic free energy. Heating and cooling the material affects both the temperature and the thermodynamic free energy or Gibbs energy. Simulated annealing can be used for very hard computational optimization problems where exact algorithms fail; even though it usually achieves an approximate solution to the global minimum, it could be enough for many practical problems. The problems solved by SA are currently formulated by an objective function of many variables, subject to several mathematical constraints. In practice, the constraint can be penalized as part of the objective function.

[0070] As the actions of participants based on alerts affect future market data against which those or other alerts may be evaluated, the disclosed embodiments recognize that reviewing historical data alone may not provide sufficient meaningful training data to identify when a given alert may be triggered. Accordingly, the machine learnt model training system may, during learning, may evaluate alert results in real time to determine semantic divergence. It will be appreciated that the ML model may be further trained on other related data, both historical and real time, which affects or influences trading activities, such as trading activities in related instruments / markets, as well as news events, including financial, political, weather, etc. events.

[0071] As described, the disclosed embodiments use a machine learnt network, also referred to as an artificial neural network (ANN) or machine learnt model, to adaptively convert unstructured statements to structured queries. In an alternative implementation, the ML model may be a “Bayes Classifier” or other classification algorithm or generative learning algorithm which models the distribution of inputs of a given class or category.

[0072] ANNs are a type of machine learning model used to perform a wide variety of complex tasks, including image recognition, speech recognition, pattern recognition, and detection of anomalies. An ANN is a biologically inspired algorithm that learns, e.g., heuristically, from training data. An ANN can be realized through software, hardware, or a combination of software and hardware. The structure of an exemplary ANN has a series of layers, each comprising one or more neurons arranged in one or more neuron arrays. In an exemplary embodiment, a neuron may comprise a register, a microprocessor, and at least one input. Each neuron produces an output, or activation, based on an activation function that uses the outputs of the previous layer and a set of weights as inputs. Each neuron in a neuron array may be connected to another neuron via a synaptic circuit. A synaptic circuit may include a memory for storing a synaptic weight. An exemplary ANN may be a Deep Neural Network having an input layer, an output layer, and a plurality of fully connected hidden layers. ANNs are particularly useful in implementing implication because they can effectively extract features in linear and nonlinear relationships. In some embodiments, an ANN may be implemented by an application-specific integrated circuit (ASIC). ASICs may be specially customized for a specific artificial intelligence application and provide superior computing capabilities and reduced electricity consumption compared to traditional CPUs.

[0073] A conventional backpropagation algorithm and a conventional gradient descent algorithm may be used to train the neural network. Gradient descent, which may include conjugate gradient and quasi-Newton algorithms, is an optimization algorithm used to minimize differentiable real-valued multivariate functions. Gradient descent begins by initializing the values of parameters and then applying a gradient descent calculation, which uses mathematical calculations to iteratively adjust the values, so they minimize a loss function to optimize the ANN. Backpropagation is the mathematical process of calculating the derivatives and gradient descent is the process of adjusting model parameters using the calculated derivatives to minimize the loss function. Backpropagation is a mathematical calculation for supervised learning of ANNs using optimization algorithms, such as gradient descent. Given an ANN and an error function, backpropagation is used to calculate the gradient of the error function with respect to the neural network's weights. Alternatively, other training algorithms may be employed such as equilibrium propagation, reservoir computer, e.g., ridge regression, evolutionary computing, e.g., NeuroEvolution of Augmenting Topologies (NEAT) or other genetic algorithms, direct feedback alignment, forward-forward algorithm, Difference Target Propagation, the Hilbert-Schmidt Independence Criterion (HSIC) Bottleneck, Online Alternating Minimization with Auxiliary Variables, Decoupled Neural Interfaces Using Synthetic Gradients, or other training algorithms, or combinations or variants thereof, now available or later developed.

[0074] As described, an ANN consists of connected units or nodes called artificial neurons, which loosely model the neurons in a brain. These are connected by edges, which model the synapses in a brain. Each artificial neuron receives signals from connected neurons, then processes them and sends a signal to other connected neurons. The “signal” is a number, and the output of each neuron is computed by some linear and / or non-linear function of the sum of its inputs, called the activation function. The strength of the signal at each connection is determined by a weight, which adjusts during a learning process.

[0075] Typically, neurons are aggregated into layers. Different layers may perform different transformations on their inputs. Signals travel from the first layer (the input layer) to the last layer (the output layer), possibly passing through multiple intermediate layers (hidden layers). A network is typically called a deep neural network if it has at least 2 hidden layers.

[0076] Artificial neural networks are used for various tasks, including predictive modeling, adaptive control, and solving problems in artificial intelligence. They can learn from experience and can derive conclusions from a complex and seemingly unrelated set of information.

[0077] Neural networks are typically trained through empirical risk minimization. This method is based on the idea of optimizing the network's parameters to minimize the difference, or empirical risk, between the predicted output and the actual target values in a given dataset. Gradient based methods such as backpropagation are usually used to estimate the parameters of the network. During the training phase, ANNs learn from labeled training data, referred to as “supervised” learning described in more detail below, by iteratively updating their parameters to minimize a defined loss function. This method allows the network to later generalize to unseen data.

[0078] Training a neural network may be performed using supervised or unsupervised machine learning. The biggest difference between supervised and unsupervised machine learning is the type of data used. Supervised learning uses labeled training data, and unsupervised learning does not.

[0079] More simply, supervised learning models have a baseline understanding of what the correct output values should be. With supervised learning, an algorithm uses a sample dataset to train itself to make predictions, iteratively adjusting itself to minimize error. These datasets are labeled for context, providing the desired output values to enable a model to give a “correct” answer.

[0080] In contrast, unsupervised learning algorithms work independently to learn the data's inherent structure without any specific guidance or instruction. One simply provides unlabeled input data and lets the algorithm identify any naturally occurring patterns in the dataset.

[0081] While the type of data may be the easiest way to differentiate between these two approaches, they each may further have different goals and applications that also set them apart from each other. Supervised learning models may be more focused on learning the relationships between input and output data. For example, a supervised model might be used to predict flight times based on specific parameters, such as weather conditions, airport traffic, peak flight hours, and more. On the other hand, unsupervised learning may be more helpful for discovering new patterns and relationships in raw, unlabeled data. Unsupervised learning models, for instance, might be used to identify buyer groups that purchase related products together to provide suggestions for other items to recommend to similar customers.

[0082] As a result, supervised and unsupervised machine learning are deployed to solve different types of problems. Supervised machine learning may be suited for classification and regression tasks, such as weather forecasting, pricing changes, sentiment analysis, and spam detection. While unsupervised learning may be suited for exploratory data analysis and clustering tasks, such as anomaly detection, big data visualization, or customer segmentation.

[0083] An autoencoder, which, in one embodiment, may be as a bottleneck encoder, is a type of neural network model that seeks to learn a compressed representation of an input. They are an unsupervised learning method, although technically, they are trained using supervised learning methods, referred to as self-supervised. They are typically trained as part of a broader model that attempts to recreate the input.

[0084] The autoencoder is a complicated mathematical model that trains on unlabeled and unclassified data and is used to map the input data to another compressed feature representation before reconstructing the input data from that feature representation. The aim of an autoencoder is to learn a lower-dimensional representation (encoding) for a higher-dimensional data, typically for dimensionality reduction, by training the network to capture the most important parts of the input.

[0085] Autoencoders discover latent variables by passing input data through a “bottleneck” before it reaches the decoder. This forces the encoder to learn to extract and pass through only the information most conducive to accurately reconstructing the original input.

[0086] The encoder comprises layers that encode a compressed representation of the input data through dimensionality reduction. In a typical autoencoder, the hidden layers of the neural network contain a progressively smaller number of nodes than the input layer: as data traverses the encoder layers, it is compressed by the process of “squeezing” itself into fewer dimensions.

[0087] The bottleneck (or “code”) contains the most compressed representation of the input: it is both the output layer of the encoder network and the input layer of the decoder network. A fundamental goal of the design and training of an autoencoder is discovering the minimum number of important features (or dimensions) needed for effective reconstruction of the input data. The latent space representation—that is, the code—emerging from this layer is then fed into the decoder.

[0088] The decoder comprises hidden layers with a progressively larger number of nodes that decompress (or decode) the encoded representation of data, ultimately reconstructing the data back to its original, pre-encoding form. This reconstructed output is then compared to the “ground truth”—which in most cases is simply the original input—to gauge the efficacy of the autoencoder. The difference between the output and ground truth is called the reconstruction error.

[0089] Autoencoders may be used as a learned or automatic feature extraction model and, in such an application, once the model is fit (once the model achieves a desired level of performance recreating the sequence), the reconstruction aspect of the model can be discarded and the model up to the point of the bottleneck can be used. The output of the model at the bottleneck is a fixed length n-dimensional vector that provides a compressed representation of the input data. The resulting vectors can then be used in a variety of applications, not least as a compressed representation of the sequence as an input to another supervised learning model. As will be appreciated, as a vector, this representation of the model output may be characterized by both a magnitude and a direction. Further, operations on these vectors, such as vector cross product (or vector product) may be performed which results in a vector having magnitude and direction, such as to determine similarity between two vector representations of model outputs, i.e., the more similar or dissimilar two model outputs are, e.g., in terms of vector magnitude and direction, the closer to zero their vector product may be, i.e., two vectors or equal magnitude but either the same or opposing direction may have a cross product of zero.

[0090] Input data from the domain can then be provided to the model and the output of the model at the bottleneck can be used as a feature vector in a supervised learning model, for visualization, or more generally for dimensionality reduction.

[0091] Feature vectors represent features used by machine learning models in multi-dimensional numerical values. As machine learning models can only deal with numerical values, converting any necessary features into feature vectors is crucial. A feature vector is an ordered list of numerical properties of observed phenomena. It represents input features to a machine learning model that makes a prediction.

[0092] In machine learning and pattern recognition, a feature is an individual measurable property or characteristic of a phenomenon. Choosing informative, discriminating and independent features may facilitate pattern recognition, classification and regression. Features are usually numeric, but structural features such as strings and graphs may be used in syntactic pattern recognition.

[0093] During the training phase of an autoencoder, back propagation may be used to facilitate the learning process. Back propagation is the practice of fine-tuning the weights of a neural net based on the error rate (i.e. loss) obtained in the previous epoch (i.e. iteration.) Proper tuning of the weights ensures lower error rates, making the model reliable by increasing its generalization.

[0094] Back propagation may use an optimization function, such as gradient descent, to determine in what direction the model should adjust the weights to get a lower loss result than the current result. Backpropagation essentially feeds the resultant loss from a learning iteration backward in such a way that the model can fine-tune the weights. The optimization function, such as gradient descent, helps to find the weights that will hopefully yield a smaller loss in the next iteration.

[0095] An autoencoder may further be implemented with a Long Short Term Memory (LSTM) which inherently tracks changes in states, i.e., maintains history based in how much that input is affecting the output, built into each neuron.

[0096] An LSTM is a type of recurrent neural network (RNN) aimed at dealing with the vanishing gradient problem present in traditional RNNs whereas more layers using certain activation functions are added to neural networks, the gradients of the loss function approach zero, making the network hard to train, e.g., using back propagation. Its relative insensitivity to gap length is its advantage over other RNNs, hidden Markov models and other sequence learning methods. It aims to provide a short-term memory for an RNN that can last thousands of timesteps, thus “long short-term memory”. It is applicable to classification, processing and predicting data based on time series, such as in handwriting, speech recognition, machine translation, speech activity detection, robot control, video games, and healthcare.

[0097] In theory, classic RNNs can keep track of arbitrary long-term dependencies in the input sequences. The problem with classic RNNs is computational (or practical) in nature: when training a classic RNN using backpropagation, the long-term gradients which are backpropagated can “vanish”, meaning they can tend to zero due to very small numbers creeping into the computations, causing the model to effectively stop learning. RNNs using LSTM units partially solve the vanishing gradient problem, because LSTM units allow gradients to also flow with little to no attenuation. However, LSTM networks can still suffer from the exploding gradient problem.

[0098] The intuition behind the LSTM architecture is to create an additional module in a neural network that learns when to remember and when to forget pertinent information. In other words, the network effectively learns which information might be needed later on in a sequence and when that information is no longer needed.

[0099] An LSTM Autoencoder is an implementation of an autoencoder for sequence data using an Encoder-Decoder LSTM architecture. Once fit, the encoder part of the model can be used to encode or compress sequence data that in turn may be used in data visualizations or as a feature vector input to a supervised learning model.

[0100] Generally, the performance of a machine learnt network, i.e., the latency, in producing an output, i.e., an inference, probability or confidence value, subsequent to receiving an input consists of predictable and unpredictable latencies. Predictable latency is a consistent delay that can be anticipated and accounted for in system design. Sources of predictable latency may include: model complexity, e.g., the number of layers and parameters in a neural network directly affects the time required for forward propagation during inferencing; input data size, e.g., larger input data, such as high-resolution images or long sequences, naturally may require more processing time; hardware limitations, e.g., the processing speed of the underlying hardware, such as CPU clock rates or memory bandwidth, contributes to a baseline latency; and quantization effects, e.g., the use of reduced precision computations can introduce small, predictable delays due to additional quantization and dequantization steps. Unpredictable latency introduces variability and uncertainty into the performance of the machine learnt network. Sources of unpredictable latency may include: cache misses, e.g., irregular memory access patterns can lead to cache misses, causing unexpected delays in data retrieval; resource contention, e.g., in multi-tasking environments, competition for shared resources (e.g., memory bandwidth, and computational units) can cause varying delays; dynamic voltage and frequency scaling (DVFS), e.g., power management techniques that adjust processor clock speeds can introduce timing variability; network fluctuations, e.g., in distributed AI systems, network congestion or packet loss can lead to unpredictable delays in data transfer; operating system interrupts, e.g., background processes and system interrupts can temporarily halt AI inferencing, leading to sporadic latency spikes.

[0101] The disclosed embodiments contemplate various methods for improving the performance of the machine learnt network, including: optimizing data flows through the model; implementing parallel processing for concurrent operations; minimizing data movement between processing units and memory; using reduced precision arithmetic; implementing pipelines processing architectures; optimized process scheduling; optimized modes of data communication; configuring the machine learnt network, e.g., by segregating portions thereof, to enable updates / retraining while operating, e.g., updates to one portion while another continues to operate. The disclosed embodiments may further be implemented using specific processors which optimize the processing of machine learnt networks, including graphics processing units or other vector-type processors, neural processing units, or custom designed processors implemented in an FPGA or ASIC.

[0102] For use with the disclosed embodiments, the machine learnt network may be trained on historical and real time market activity of all, or subsets of, traders to the entire electronic trading system or portions thereof, i.e., transactions only for defined subset of related products, i.e., previously submitted transactions and the processing results thereof, i.e., transaction results from both the use and non-use of implication. In one embodiment, the machine learnt network may be trained on specifically identified ranges of historical and / or real time transactions and their results identified as resulting from and / or leading up to particular transaction results, e.g., trading activity occurring in particular markets which occurs subsequent to a particular event, such as a trade, up to an occurrence of subsequent event, such as a subsequent related trade.

[0103] Further, the machine learnt network may be trained on historical and real time activities in other exchanges or trading systems such as equities markets as events occurring in those markets may affect transaction activity.

[0104] In addition, as trading activity is often influenced by current events, both generally and specifically in the financial sector, the machine learnt network may be further trained on these events, including financial events such as changes to interest rates, release of government reports, e.g., on inflation, unemployment, etc., geo-political events, weather events, etc.

[0105] The training data may be arranged as a time series of multi-variate vectors wherein the time range / depth of the time series may vary depending upon the available data wherein the machine learnt network comprises an LSTM.

[0106] In one embodiment, multiple machine learnt models / networks, which may be the same, different or a combination thereof, may be deployed. For example, multiple of the same model may be deployed and operated in parallel for redundancy or fault tolerance and / or to enable training or updating the model without having to take it offline or disrupt production, i.e., one of the duplicate models can be taken offline for updating / training or other maintenance while the other copy remains operational after which, for example, the updated model may be put in production while the other undergoes similar maintenance. In the case of one model failing, a new instance may be started without disrupting production. Multiple different models may be deployed in parallel to evaluate the effectiveness of different model types and / or different trading algorithms or to enable “ensemble learning”, or stacking, where multiple models, i.e., an ensemble, e.g., different models, differently trained models, etc., are deployed to improve predictive performance and reduce bias, i.e., the influence of individual model bias on the result. In systems which employ redundancy and / or ensembles, mechanisms may be deployed to arbitrate, obtain, combine or derive a result from the outputs of those models, such as via implementation of a mechanism for averaging outputs, voting, majority / quorum rules, etc. Ensembles may be used where overfitting may be necessary for training data that does not generalize well, failing to account for new data which differs from the training distribution, or where there is a lack of mechanics to tune model performance over time as use cases evolve. Additional machine learnt models that may be used for time series forecasting include: Generative AI, such as a time series transformer using deep neural networks; A Long short-term memory (LSTM)—recurrent neural network; A Support Vector Machines (SVMs)—supervised machine learning; or an autoregressive moving average (ARIMA) model.

[0107] In one embodiment, the training data and / or data to be evaluated by the ML models may be pre-processed to, for example, smooth the data, normalize the data, remove outliers and irrelevant data, etc. For example, such pre-processing may include using a time series algorithm, averaging, weighted averaging, or other complex stacking strategy. Training data or data to be evaluated may also be pre-processed using another machine learnt network, or encoded model thereof, to, for example, categorize the data and remove outliers, etc.

[0108] It will be appreciated that the disclosed embodiments may be used with different types of electronic trading systems which enable trading of equity or derivative instruments, such as those described below. Electronic transaction processing systems may be used to implement different types of electronic trading systems which facilitate electronic trading of financial instruments. Financial instruments, including both derivative and non-derivative securities, e.g., stocks, futures contracts, options contracts, such as foreign exchange (FX) options, FX Spot, fixed income security, forwards, interest rate instruments, cryptocurrencies, financial indices, etc., may be traded via these different electronic trading systems. These systems may enable different modalities by which financial instruments may be electronically traded and may be characterized as either being bilateral or centrally cleared.

[0109] The disclosed embodiments may be implemented internal or external to an electronic trading to process data in real time or otherwise. In an internal implementation, the disclosed embodiments may be used with both publicly available or private / internal data of the trading system.

[0110] The implementation of an electronic data transaction processing system using an improved machine learnt network / model as described above is a technical implementation to solve problems with converting unstructured statements / prompts to structured queries which may be applied, e.g., in real time, by a structured query processor to data generated by an electronic trading system to ensure the resultant structure query does not diverge from the intended query of the unstructured statement. The disclosed embodiments provide an improved electronic data transaction processing system that enables more accurate conversions of unstructured statements to structured queries.

[0111] The disclosed embodiments solve problems which uniquely arise in the fields of computer technology and electronic data transaction processing systems. Thus, the disclosed embodiments are rooted in computer technology in order to overcome problems specifically arising in electronic data transaction systems. Indeed, the subject technology improves the functioning of the electronic data transaction processing system by improving the ANN to more accurately convert unstructured statements to structured queries. The implementation of an electronic transaction processing system using ANN as described above is a technical implementation to solve problems with applying structured queries to data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders.

[0112] The disclosed embodiments may be implemented in association with a data transaction processing system that processes data items or objects, such as an exchange computing system which implements electronic trading, also referred to as an electronic trading system. Customer or user devices (e.g., client computers) may submit electronic data transaction request messages, e.g., inbound messages, to the data transaction processing system over a data communication network. The electronic data transaction request messages may include, for example, transaction matching parameters, such as instructions and / or values, for processing the data transaction request messages within the data transaction processing system. The instructions may be to perform transactions, e.g., buy or sell a quantity / amount of a product at a specified price. Products, e.g., financial instruments, or order books representing the state of an electronic marketplace for a product, may be represented as data objects or data structures within the exchange computing system. The instructions may also be conditional, e.g., buy or sell a quantity of a product at a given value if a trade for the product is executed at some other reference value.

[0113] As used herein, an order, order to trade or trade order, whether placed in a bilateral or centrally cleared market, refers to a willingness / desire of a trader to enter into a trade / transaction, and more particularly, to an electronic request or data message transmitted to, or received by, an electronic trading system which includes data indicative thereof, such as an identity of a product, desired quantity, desired price, side (buy / sell), etc. As used herein, the terms trade, executed trade, completed trade, etc., may refer to an agreement between two parties, each to fulfill an obligation defined by the transaction, and may further refer to a given order and the one or more suitable counter orders with which the given order has been matched and / or further cleared and / or settled. Orders may typically be canceled or modified by the submitting trader, via submission of a suitable electronic request or data message, prior to them being matched with a suitable counter order or otherwise accepted by a counter party. Once executed, the trader typically must fulfill their obligation unless they transfer, e.g., sell, or offset, such as by entering into an opposing trade, that obligation to another trader prior to the date on which fulfillment of their obligation is required.

[0114] In bilateral trading systems, often referred to as over the counter (OTC) or private markets, trades are bilateral, e.g., negotiated directly between the parties, and may involve standard or non-standard contract terms, depending upon the needs of the parties. As each party bears the risk that the other party will not perform their side of the agreement, part of the bilateral trading process typically involves establishing counter-party credit, or otherwise establishing credit relationships with potential counterparties for use in future transactions, to mitigate the risk of loss due to a counter party's failure to perform. With a credit relationship established, the parties exchange / negotiate the terms of the transaction until mutually agreed upon terms are, or are not, reached. Once the parties agree to the terms of a transaction, the transaction may be submitted to a centralized clearing and settlement system, such as the Continuous Linked Settlement (CLS) system, which may handle the process of completing the transaction between the parties. If the parties do not agree, they may simply abandon / cancel their proposed transaction and walk away.

[0115] A forward contract, such as a currency forward contract, is an example of a contract which is traded via a bilateral trading system and calls for delivery of an asset at a later date for a price determined at the inception of the contract. For currencies, a currency forward contract is a bilateral contract for delivery, actual or cash settled depending on the contract terms, of an amount of a particular currency, e.g., euros, at a future date at a price, delineated in a different currency, e.g., dollars, determined at the inception of the contract. Unlike a futures contract, discussed below, a forward contract is traded “over the counter,” bilateral, e.g., negotiated directly between the parties as discussed above, and may not be standardized as to its terms. Option contracts on a forward contract are also available offering the buyer thereof the right, but not the obligation, to sell or buy the underlying forward contract at a specified price on or before a certain expiration date. Forward contracts may be physically settled, e.g., via the delivery of the amount of the particular currency called for in the currency forward contract, or cash settled via delivery of the cash difference, denominated in currency of the contract price, between the contract price and the spot price of the currency to be delivered, which may be the differential in exchange rates between when the contract was entered into and the delivery date. Options contracts for the delivery of a specific currency may also be offered bilaterally and call for delivery of the requisite currency, as opposed to a forward contract, therefore. Options contracts traded via a bilateral / OTC trading system may be referred to as OTC options or OTC options contracts.

[0116] An FX spot, FX forward, as well as FX futures contracts, as described below with respect to central counterparty based electronic trading systems, may relate to transactions for currency pairs. A currency pair comprises the national currencies from two countries coupled for trading on the foreign exchange (FX) marketplace. Both currencies will have exchange rates on which the trade will have its position basis. The calculation for the rates between foreign currency pairs is a factor of the base currency. A typical currency pair listing may appear as, EUR / USD 1.3045. In this example, the euro (EUR) is the base currency, and the U.S. dollar (USD) is the quote currency. The difference between the two currencies is a ratio price. In the example, one euro will trade for 1.3045 U.S. dollars. In other words, the base currency is multiplied to yield an equivalent value or purchasing power of the foreign currency. The phrase “quote currency”, which may also be referred to as the “term currency,” means, with respect to any currency pair, the second currency of such currency pair and is the currency that is being bought or sold to another party. The phrase “base currency” refers to the first currency in the Currency Pair against which the Client buys or sells the Quote Currency. The base currency typically refers to one, meaning one single currency against a number of quote currencies. This comparison answers the question of how many quote currencies equals in value one base currency. When one is long-biased, one always buys the base currency and sells the quote currency. When one is short-biased, the opposite occurs.

[0117] In bilateral trading, each party, or intermediary agent, e.g., a prime broker or other access agent, via which that party trades, is, generally, directly responsible for the risk of loss in any given trade if their counterparty, or intermediary agent, e.g., a prime broker or other access agent, via which that counterparty trades, fails to perform. For example, in a cash / OTC market, prime brokers may create a central-counter party-like consolidation of counterparty risk to form a multi-tier structure where large participants, such as other prime brokers or very large banks, have bilateral risk. Bilateral electronic trading systems, such as the CME (Chicago Mercantile Exchange Inc.) Electronic Broking Services (EBS) Market system described herein, may support a three-tier structure where large, credit worthy entities, i.e., prime brokers, interact bilaterally and large to medium size trading entities access the market through those entities. Prime customers can also establish themselves as access agents, referred to as prime-of-prime brokers, servicing small and non-financial entities referred to as prime-of-prime customers. This model could be extended to any number of levels, but in practice three levels (bilateral, prime, and prime-of-prime) meet most business needs. As such, bilateral trading parties typically require credit verification or other guarantees, or risk mitigations, such as collateral, from their counterparties and often set limits on the amount of risk / exposure they are willing to undertake with a given counterparty. Such limits, which may be referred to as “hard limits,” preempt transactions to prevent a limit overrun and may be applied whether or not an order to trade is accepted and / or whether or not it is executed, and / or to filter or mediate the distribution of data related thereto. In contrast, a soft limit may be applied after trade execution and therefore, more loosely enforced. Accordingly, bilateral electronic trading systems typically provide risk mitigations systems in the form of credit limit mechanisms, referred to as credit controls, which allow parties, for example, to define credit limits with respect to their potential counterparties which restrict the extent / magnitude of risk exposure and have the electronic trading system monitor, manage and enforce those limits on their behalf, as well as assist the parties in understanding and managing any credit limits to which they are subject. As any given party may enter into transactions with a myriad of counterparties, the number of different credit limits which a bilateral electronic trading system may have to maintain, manage, and enforce may be substantial, as may be the volume of transactions against which such limits must be assessed and accounted for.

[0118] The EBS Direct Platform, offered by CME Group, Inc., is an example of a bilateral trading system which implements bilateral credit limits and features disclosed price requests and responses. The EBS Direct Platform may be referred to as a Quote Drive Market (QDM), also referred to as a price driven market, which limits trading to binding quotes, subject to a “last look” confirmation, provided by designated participants, e.g., market makers or dealers, etc., also referred to as a liquidity provider (“LP”). In a QDM, orders placed in the QDM's electronic quote matching systems against a submitted quote are, subject to a “last look” confirmation, essentially guaranteed to be fulfilled but quotes available at different prices may be limited.

[0119] In contrast to bilateral trading systems, central counter party-based trading utilizes an intermediary entity / system to separate the transacting parties such that, within the system, they are prevented from transacting / negotiating directly with one another, or, in most cases, even knowing the identity of their counterparty. Typically, an electronic order message to buy or sell a certain product, e.g. a financial instrument, such as a quantity of a particular futures or options contract at a particular price, is generated, automatically or manually, responsive to an input, by a trader's computer system based on, for example, the occurrence of various events and / or other inputs, and electronically communicated to an electronic broker via an electronic communications network. The broker, in turn, electronically, and likely automatically, routes the order message to a proper electronic trading system, such as the exchange of the electronic futures and options trading system provided by Chicago Mercantile Exchange Inc., where the order message gets processed by a matching engine / processor to anonymously identify and / or await one or more suitable counter orders from another trader computer system, i.e., for at least a portion of the requested quantity at the specified price or better, so that a trade can occur. For incoming transactions which are not immediately fully satisfied, i.e., via one or more previously received but yet unsatisfied counter orders, the order for the remaining unsatisfied quantity is stored and anonymously advertised to the market participants in order solicit the submission of suitable counter orders therefrom. Generally, when such a “public” market is active / liquid, i.e., receiving a large number of trade orders to buy and sell a range of quantities over a range of prices, ample opportunities are available for traders to complete their transactions and satisfy their needs. In lesser active markets, with a lower transaction volume, a given trade order may have to wait for a non-insubstantial amount of time for a suitable counter order to be submitted. The central counterparty then publishes market data, described in more detail below, to communicate anonymized data indicative thereof.

[0120] For example, a central counterparty based electronic trading system, such as a futures exchange, such as the Chicago Mercantile Exchange Inc. (CME), provides an electronic trading system which implements a contract market where financial instruments, e.g., futures and options on futures, are traded using electronic systems. “Futures” is a term used to designate contracts for the purchase or sale of financial instruments or physical commodities for future delivery or cash settlement on a commodity futures exchange. A futures contract is a legally binding agreement to buy or sell a commodity or other underlier, such as a currency, at a specified price at a predetermined future time. The terms and conditions of each futures contract are standardized as to the specification of the contract's underlying reference, the quality of such underlier, quantity, delivery date, and means of contract settlement. Whereas physical settlement requires actual delivery of the underlying reference in exchange for the contracted payment, cash settlement is a method of settling a futures contract whereby the parties effect final settlement when the contract expires by paying / receiving the loss / gain related to the contract in cash, rather than by effecting physical sale and purchase of the underlying reference at a price determined by the futures contract price. An option contract is the right, but not the obligation, to sell or buy the underlying instrument (in this case, a futures contract) at a specified price, referred to as the strike price, on or before a certain expiration date. An option contract on a futures contract, e.g., having a futures contract as an underlier, offers an opportunity to take advantage of futures price moves without actually having a futures position and is considered “in the money” when the strike price is favorable to the market price of the underlier. The commodity, instrument, or asset to be delivered in fulfillment of the contract, or alternatively the commodity, instrument, or asset for which the cash market price shall determine the final settlement price of the futures contract, is known as the contract's underlying reference or “underlier.” The underlying or underlier for an options contract on a futures contract is the corresponding futures contract that is purchased or sold upon the exercise of the option. Options contracts traded via a central counterparty-based trading system may be referred to as Exchange Traded Derivative (ETD) options or ETD options contracts.

[0121] Typically, as opposed to typical bilateral contracts, e.g., forward contracts, the terms and conditions of each futures contract are standardized as to the specification of the contract's underlying reference commodity, the composition of the commodity, quantity, delivery date, and means of contract settlement. Such standardization may improve the liquidity of these contracts, e.g., the ease with which such contracts may be bought or sold. Options on futures may be similarly standardized as to, for example, quantity, strike price and expiration / maturity. The underlying reference commodity may include a range of possible qualities, quantities, delivery dates, and other attributes. For a spot market transaction, the underlying quality and attributes may be set, while a futures contract may provide predetermined offsets to allow for possible settlement of a non-conforming delivery. As noted above, the contract may define the mode of settlement, i.e., either cash or physical settlement. Options and futures may be based on more generalized market indicators as their underlier, such as stock indices, interest rates, futures contracts, and other derivatives. At expiry, an option on futures, if in the money (ITM), provides a cash settled payment plus the underlying futures contract, and if out of the money (OTM), it provides nothing. An underlier of a futures contract may be a currency, e.g., the contract may be for delivery on a specified date of a quantity of euros in exchange for a defined payment in U.S. dollars.

[0122] A central counterparty-based exchange may provide for a centralized “clearing house” through which trades made must be confirmed, matched, and settled each day until offset or delivered. The clearing house may be an adjunct to an exchange, and may be an operating division of an exchange, which is responsible for settling trading accounts, clearing trades, collecting, and maintaining performance bond funds, regulating delivery, and reporting trading data. One of the roles of the clearing house is to mitigate counterparty credit risk on behalf of the transacting parties as well as the exchange. Clearing is the procedure through which the clearing house becomes buyer to each seller of a futures contract, and seller to each buyer, also referred to as a novation, and reduces risk of financial loss to each transacting party due to breach of contract by assuring performance on each contract. A clearing member is a firm qualified to clear trades through the clearing house.

[0123] An exchange / electronic trading computer system, which operates under a central counterparty model, acts, e.g., using the clearing mechanism described above, as an intermediary between market participants for the transaction of financial instruments and assumes the counterparty risk to each. In particular, the exchange computer system interposes itself into the transactions between the market participants, i.e., splits a given transaction between the parties into two separate transactions where the exchange computer system substitutes itself as the counterparty to each of the parties for that part of the transaction. This is referred to as a novation. In this way, the exchange computer system acts as a guarantor and central counterparty and there is no need for the market participants to disclose their identities to each other, or subject themselves to credit or other investigations by a potential counterparty. For example, the exchange computer system insulates one market participant from the default by another market participant. Market participants need only meet the requirements of the exchange computer system. Anonymity among the market participants further encourages a more liquid market environment as there are lower barriers to participation. The exchange computer system can accordingly offer benefits such as centralized and anonymous matching and clearing.

[0124] Accordingly, in central counterparty based systems, generally, there may be no need for one party to be concerned about the credit worthiness of another party and such credit verifications or counterparty credit limits may be avoided. However, the electronic trading system or central counterparty, itself, may impose credit verifications and limits and other risk mitigations. For example, a central counterparty based system may require traders to post a performance bond, or margin, in an amount set to cover the potential risk of loss of a trader's current positions. This performance bond may be adjusted on a periodic, e.g., daily, basis to account for the trading activities of the trader and the then current market value of their positions. In addition, where market participants transact in the trading system on behalf of other parties who may be financially responsible for the activities of those traders, the electronic trading system may permit the responsible party to specify limits on the number or magnitude of open orders or completed trades, such as a margin limit.

[0125] The CME futures exchange may be one example of what is referred to as an Order Driven Market (ODM) in which traders submit, with some limitations, arbitrary orders to buy or sell which are matched with previously received suitable counterorders, stored in an order book database, also referred to as a Central Limit Order Book (CLOB), or, otherwise, advertised to the market participants in order to attempt solicit a suitable counter order. Whereas an ODM may be more transparent than a QDM, providing visibility, e.g., via an order book database, to all individual market orders to trade, a QDM provides liquidity by guaranteeing quoted prices. That is, in an ODM, a trader may place an order to buy or sell at a desired price but there is no guarantee that another trader will place a suitable counter order thereto to be matched by the ODM's electronic matching engines and traded. Other types of markets, including hybrid ODM-QDM markets, may also exist.

[0126] The EBS Market is an example of an electronic trading system for cash FX which does not act as a central counterparty and is considered an ODM. The EBS Market electronic trading system relies on bilateral credit limits for matching and settlement and is considered an anonymous, firm central limit order book which may serve as a “public” reference market for cash FX transactions / instruments. In this system, in contrast to a futures exchange which maintains anonymity, the bilateral relationship between trading counterparties is only known after a trade is completed for settlement purposes.

[0127] More particularly, a QDM may, but not always, be considered a relationship-based model where there is limited anonymity-participants know their counterparty prior to transacting. Generally, in a QDM, participants play one or both of two discrete roles, liquidity providers (LP) and liquidity consumers (LC). These roles are fundamental but can be blurred by some platform features. In an ODM, the participants are more equal where in the general case any participant can be a provider or a consumer. In a QDM, a LP prices their market data based on a prior evaluation and classification of consumers. In an ODM, makers submit their orders that are priced without knowledge, at least prior to settlement, of the potential counterparty to a trade. ODM's may or may not act as a central counterparty. Another difference is that in a QDM, LP's submit market data and consumers submit orders against that market data (the QDM platform often will aggregate and filter the provided market data).

[0128] Another way to consider these types of platforms is to consider business usage. For very liquid instruments that have efficient pricing (tight spread with reactive / volatile pricing), a central limit order book (CLOB) or ODM platform may provide the safest venue for exchanging risk due to efficient price discovery and collective wisdom of the market to set the price. When an instrument's price is very stable (not volatile) and / or market liquidity is thin (manifesting a wide bid / offer spread in a CLOB for example), a QDM platform may be preferred because the foreknowledge of one's counterparty allows quoting a tighter spread with greater safety and the consumer being able to know their provider allows certainty of fairness. When an instrument is very illiquid and / or specialized to the point that a provider can't safely provide a continuous price to a collection of similar consumers, then the bespoke pricing method becomes helpful—these are referred to as request for quote (RFQ) or request for stream (RFS). Consumers ask for a price in an instrument and providers with knowledge of the consumer and current market conditions can elect to provide a price or stream of prices to the consumer.

[0129] Current financial instrument trading systems allow traders to submit orders and receive confirmations, market data, and other information electronically via an electronic communications network at one or more execution venues, e.g., which implement / provide ODM and / or QDM type markets. These execution venues may be geographically dispersed for the convenience of the traders or operator thereof and / or so as to be located geographically, i.e., in particular geographic regions, and / or logically, close to traders in order to, for example, minimize latency there between. An execution venue may refer to a physical and / or logical location at which electronic data messages comprising orders to trade are considered to have been received by an electronic trading system and accorded priority against other such electronic data messages subsequently received thereby which are competing for the same trading opportunity, i.e., where the trading system applies determinism to the received order, or where the orders to trade or received electronic data messages are actually matched with a suitable counterparty forming a binding transaction.

[0130] An execution venue may further refer to a geographic and / or logical location from which market data messages, sometimes referred to as market data feed, indicative of market activities / events are transmitted, i.e., released on to a network for transmission and no longer under the control of the electronic trading system, to at least a subset of market participants.

[0131] An execution venue may comprise the electronic networking and transaction processing components necessary to couple the electronic trading system with a network external thereto, e.g., the Internet, process received electronic transactions and transmit market data messages, or may comprise only the electronic networking components necessary to couple the electronic trading system with the network, ascribe priority to received data messages and relay, such as via a public and / or private electronic communications network, those received prioritized transactions to transaction processing components located remotely therefrom. An execution venue may further be a geographic and / or logical location where a limit on credit / risk is enforced and / or consumed.

[0132] For additional details and descriptions of execution venues, e.g., which implement / provide ODM and / or QDM type markets, and credit limits, see U.S. application Ser. No. 17 / 733,565, filed on Apr. 29, 2022, entitled “LOW LATENCY REGULATION OF DISTRIBUTED TRANSACTION PROCESSING IN ACCORDANCE WITH CENTRALIZED DEMAND-BASED DYNAMICALLY REALLOCATED LIMITS”, published as U.S. Patent Application Publication No. 2023 / 0351500 A1, assigned to the assignee of the present application, the entirety of which is incorporated by reference herein and relied upon.

[0133] Aside from the above differences, bilateral and central counterparty based trading systems differ in terms of who bears responsibility for counterparty risk, i.e., the risk of financial loss to one party to a trade due to the actions, inactions, or consequences thereof, such as the failure to perform on their obligations specified in the transaction, of the counterparty thereto.

[0134] Further, bilateral and central counterparty based trading systems may differ in terms of technical architecture. In a central counter-party electronic trading system, from a logical and / or physical standpoint, only one single matching engine / server, for the entire exchange or for each tradeable product or subset of related tradeable products, processor and / or processing thread may be implemented reflecting the centralized nature of the system to interact with market participant computer systems. It will be appreciated that a central counter-party electronic trading system may, in fact, be implemented by a multitude of servers, processors, and / or processing threads. In contrast, in a QDM system (bilateral system), market participant computer systems negotiate directly with one another via a communications“session”, by sending their requests or responses to exchange servers / processes / threads which then relay them to the correct market participant computer system recipient(s). As there may be multiple independent / concurrent sessions, architecturally (logically and / or physically), the bilateral electronic trading system may be comprised of multiple servers, processors and / or processing threads, e.g., exchange servers, and one or more central clearing / settlement systems (or the clearing and / or settlement system(s) may be external thereto), or multiple independent processes, each of which is facilitating the largely independent interactions between different requestors / responders, i.e., different private markets / sessions operating on the system. In a bilateral system / QDM system, the architecture is scaled horizontally, and many exchange servers and systems may be used. This QDM horizontal scaling exists both because a central venue where all quotes come together is not needed, but also because it is required to process the number of quotes / quote messages which are much higher than a CLOB because there are multiple versions used while the trade negotiation is taking place.

[0135] While a central counter party-based trading system may offer certain advantages, such as anonymity and risk management, bilateral trading may still often be utilized in situations where the parties prefer not to use a central counterparty, e.g. due to cost, efficiency or other concerns, where the parties wish to complete a transaction as quickly as possible, and / or for non-standard transactions or unique transactions where the transaction terms are not standardized and / or the number of potential suitable and / or interested counter parties may be limited. For example, currency exchange transactions, such as transactions in non-deliverable currencies, foreign exchange forward or swap agreements, are typically entered into as bilateral transactions.

[0136] Other electronic trading systems which may implement the disclosed embodiments include the BrokerTec Fixed Income / Cash Bond / Repo trading electronic trading platform provided by CME Group Inc.

[0137] As was described above, the disclosed embodiments facilitate analysis of the changes in state of an electronic trading system so as to, e.g., facilitate identification and analysis of layer occurring probably / predictably related outcomes, i.e., later changes in state.

[0138] Generally, the state of an electronic trading system, whether it be an ODM or QDM type system, central counterparty based or not, etc., can be assessed from one or both of two perspectives, from outside the electronic trading system based on publicly available data or from inside the electronic trading system based on internal / private data and / or publicly available data. It will be appreciated that the disclosed embodiments may be deployed as a tool for use by, for example, traders using only publicly available data, and / or a tool for use by the operators of the exchange (or to be made available in whole or part to traders) using internal / private data and / or publicly available data.

[0139] The internal / private state of an electronic trading system, whether it be an ODM or QDM type system, central counterparty based or not, etc., may be a function of the current values of the various internal system variables, settings, databases, etc. or subsets thereof. It will be appreciated that the manner / method by which this data is collected for provisioning to the disclosed embodiments may implementation dependent and may involve monitoring and recording transaction / network traffic, activity logs, etc.

[0140] As was described above, for a central counterparty based electronic trading system, the state of the system may be represented by the order book database which stores an aggregate of the currently pending received but not yet satisfied or canceled orders to trade and wherein the state, as represented by this database, is changed, i.e., a new state instance is created, every time an order is received which modifies the order book database. In an anonymized system, the publicly available order book data may only include the aggregate of the pending orders, i.e., the total of the order quantities at each price level, wherein the any information regarding the individual orders is not provided. It will be appreciated that in an internal or exchange deployment of the disclosed embodiments, access to the individual order data would be available. Order book databases may be maintained for each tradeable product, or for subsets of tradeable products, traded on the exchange. State instances of the order book database may be captured by taking a snapshot, i.e., copy, of the order book database after every change made thereto. Alternatively, the market data feed, which as will be described, comprises data messages indicating changes to the order book database, can be recorded, thereby representing a time ordered list of changes made to the order book database. It will be appreciated that the disclosed embodiments operate on time ordered sets of state instances or state changes, regardless of how that data is captured.

[0141] For other types of trading systems, such as bilateral or QDM based systems, similar publicly facing trade databases or reporting data message feeds may be provided which represent the current state of that system and which may be used by the disclosed embodiments.

[0142] The disclosed embodiments are drawn to systems and methods that include specific computing components, each being specially programmed to perform a technological function as part of a greater technological process. The disclosed embodiments include separate system components interconnected in a specific way to implement aspects of the disclosed system and include sufficient specific structure and function and, as such, are not drawn to an abstract idea. The use of software in the disclosed embodiments further makes non-abstract improvements to the computer technology just as hardware improvements can, and the improvements may be accomplished through either route.

[0143] The disclosed embodiments are not directed to any method for “obtaining, transforming and determining,” which is involved in all computing functionality. The disclosed embodiments and features recited in this regard provide numerous advantages. The instant embodiments do not preempt all methods of “obtaining, transforming, and determining,” and are specifically directed towards the disclosed functionality. The disclosed embodiments implement specific rules and features that improve the operation of a particular genus of a technological process, which does not preempt all techniques of obtaining, transforming and determining, which, at some level, is part of every computing process.

[0144] While the disclosed embodiments may be discussed in relation to futures and / or options on futures trading, it should be appreciated that the disclosed embodiments may be applicable to any equity, fixed income security, currency, commodity, options, futures, or digital math based asset, e.g., crypto currency, trading system or market now available or later developed. It should be appreciated that a trading environment, such as a futures exchange as described herein, implements one or more economic markets where rights and obligations may be traded. As such, a trading environment may be characterized by a need to maintain market integrity, transparency, predictability, fair / equitable access and participant expectations with respect thereto. For example, an exchange must respond to inputs, such as trader orders, cancelations, etc., in a manner as expected by the market participants, such as based on market data, e.g., prices, available counter-orders, etc., to provide an expected level of certainty that transactions will occur in a consistent and predictable manner and without unknown or unascertainable risks. In addition, it should be appreciated that electronic trading systems further impose additional expectations and demands by market participants as to transaction processing speed, latency, capacity and response time, while creating additional complexities relating thereto. Accordingly, as will be described, the disclosed embodiments may further include functionality to ensure that the expectations of market participant are met, e.g., that transactional integrity and predictable system responses are maintained.Exchange Computing System

[0145] For example, one exemplary environment where the disclosed embodiments may be desirable is in financial markets, and in particular, electronic trading systems which implement electronic financial exchanges, such as a futures exchange, such as the Chicago Mercantile Exchange Inc. (CME).

[0146] A financial instrument trading system, such as a futures exchange provided by CME, provides a contract market where financial instruments, e.g., futures and options on futures, are traded using electronic systems. “Futures” is a term used to designate all contracts for the purchase or sale of financial instruments or physical commodities for future delivery or cash settlement on a commodity futures exchange. A futures contract is a legally binding agreement to buy or sell a commodity at a specified price at a predetermined future time. An option contract is the right, but not the obligation, to sell or buy the underlying instrument (in this case, a futures contract) at a specified price on or before a certain expiration date. An option contract offers an opportunity to take advantage of futures price moves without actually having a futures position. The commodity to be delivered in fulfillment of the contract, or alternatively the commodity for which the cash market price shall determine the final settlement price of the futures contract, is known as the contract's underlying reference or “underlier.” The underlying or underlier for an options contract is the corresponding futures contract that is purchased or sold upon the exercise of the option.

[0147] The terms and conditions of each futures contract are standardized as to the specification of the contract's underlying reference commodity, the quality of such commodity, quantity, delivery date, and means of contract settlement. Cash settlement is a method of settling a futures contract whereby the parties effect final settlement when the contract expires by paying / receiving the loss / gain related to the contract in cash, rather than by effecting physical sale and purchase of the underlying reference commodity at a price determined by the futures contract, price. Options and futures may be based on more generalized market indicators, such as stock indices, interest rates, futures contracts and other derivatives.Electronic Trading

[0148] Electronic trading, such as in a central counterparty based ODM, of financial instruments, such as futures contracts, is conducted by market participants sending orders, such as to buy or sell one or more futures contracts, in electronic form, i.e., electronic data messages, to the exchange. These electronically submitted orders to buy and sell are then matched, if possible, by the exchange, i.e., by the exchange's matching engine, to execute a trade. Outstanding (unmatched, wholly unsatisfied / unfilled or partially satisfied / filled) orders are maintained in one or more data structures or databases referred to as “order books,” such orders being referred to as “resting,” and made visible, i.e., their availability for trading is advertised, to the market participants through electronic notifications / broadcasts, referred to as market data feeds, in order to solicit the submission of suitable counter transactions. An order book, i.e., an order book database or data structure, is typically maintained for each product, e.g., instrument, or set of related products traded on the electronic trading system and generally defines or otherwise represents the state of the market for that product, i.e., the current prices at which the market participants are willing buy or sell various quantities of that product. As such, as used herein, an order book for a product may also be referred to as a market for that product. At any given time, an order book, or the market represented thereby, may be characterized by a state, i.e., the data records stored therein at that time which are indicative of the currently pending orders to buy or sell the particular products at particular quantities, and that state may change over time, i.e., as pending orders to buy / sell are at least partially satisfied by incoming counter orders resulting in updating, e.g., to reflect remaining available quantity, etc., or removing existing data records, as order modifications or cancelations are received and / or as new orders are received and data records indicative thereof are created.

[0149] Upon receipt of an incoming order to trade in a particular financial instrument, whether for a single-component derivative or non-derivative financial instrument, e.g., a single futures contract, options contract, fixed income security, fx spot, forward, stock, financial index, cryptocurrency, or other security, etc., or for a multiple-component financial instrument, e.g., a combination contract such as a spread contract, a match engine, as described herein, will attempt to identify a previously received but unsatisfied order counter thereto, i.e., for the opposite transaction (buy or sell) in the same financial instrument at the same or better price (but not necessarily for the same quantity unless, for example, either order specifies a condition that it must be entirely filled or not at all).

[0150] Previously received but unsatisfied orders, i.e., orders which either did not match with a counter order when they were received or their quantity was only partially satisfied, referred to as a partial fill, are maintained by the electronic trading system in an order book database / data structure to await the subsequent arrival of matching orders or the occurrence of other conditions which may cause the order to be modified or otherwise removed from the order book.

[0151] If the match engine identifies one or more suitable previously received but unsatisfied counter orders, they, and the incoming order, are matched to execute a trade there between to at least partially satisfy the quantities of one or both the incoming order or the identified orders. If there remains any residual unsatisfied quantity of the identified one or more resting orders, those orders which were not fully satisfied are left on the order book with their remaining quantity to await a subsequent suitable counter order, i.e., to rest. If the match engine does not identify a suitable previously received but unsatisfied counter order, or the one or more identified suitable previously received but unsatisfied counter orders are for a lesser quantity than the incoming order, the incoming order is placed on the order book, referred to as “resting”, with original or remaining unsatisfied quantity, to await a subsequently received suitable order counter thereto. The match engine then generates match event data reflecting the result of this matching process. Other components of the electronic trading system, as will be described, then generate the respective order acknowledgment and market data messages and transmit those messages to the market participants.

[0152] Matching, which is a function typically performed by the exchange, is a process, for a given order which specifies a desire to buy or sell a quantity of a particular instrument at a particular price, of seeking / identifying one or more wholly or partially, with respect to quantity, satisfying counter orders thereto, e.g., a sell counter to an order to buy, or vice versa, for the same instrument at the same, or sometimes better, price (but not necessarily the same quantity), which are then paired for execution to complete a trade between the respective market participants (via the exchange) and at least partially satisfy the desired quantity of one or both of the order and / or the counter order(s), with any residual unsatisfied quantity left to await another suitable counter order, referred to as “resting.” A match event may occur, for example, when an aggressing order matches with a resting order. In one embodiment, two orders match because one order includes instructions for or specifies buying a quantity of a particular instrument at a particular price, and the other order includes instructions for or specifies selling a (different or same) quantity of the instrument at a same or better price. It should be appreciated that performing an instruction associated with a message may include attempting to perform the instruction. Whether or not an exchange computing system is able to successfully perform an instruction may depend on the state of the electronic marketplace.

[0153] A market data feed, also referred to as market data or a market feed, is a compressed or uncompressed real time (with respect to market events), or substantial approximation thereof, data / message stream, i.e., sequence of event generated messages, provided by the Exchange directly, or via a third party intermediary. A market data feed may be comprised of individual messages, each comprising one or more packets or datagrams, and may carry, for example, pricing or other information regarding orders placed, traded instruments and other market information, e.g., data indicative of a change in the state of the order book database, such as summary values and statistical values, or combinations thereof created in real time, e.g., at the time of the change in state or substantially proximate thereto, and may be transmitted, e.g. multi-casted, to the market participants using standardized protocols, such as UDP over Ethernet.

[0154] More than one market data feed, each, for example, carrying different information, may be provided as will be described. The standard protocol that is typically utilized for the transmission of market data feeds is the Financial Information Exchange (FIX) protocol Adapted for Streaming (FAST), aka FIX / FAST, which is used by multiple exchanges to distribute their market data. It will be appreciated that other protocols may be used. Pricing / quantity information conveyed by the market data feed may include the prices / quantities, or changes thereto, of resting orders, prices at which particular orders were recently traded and / or quantities thereof, or other information representative of the state of the order book database / market or changes therein at the time that the market data was generated. Separate, directed / private, messages may also be transmitted directly to market participants to confirm receipt of orders, cancellation of orders and otherwise provide acknowledgment or notification of matching and other events relevant, or otherwise privy, only to the particular market participant.

[0155] As may be perceived / experienced by the market participants from outside the Exchange or electronic trading system operated thereby, the following sequence describes how, at least in part, information may be propagated in such a system and how orders may be processed:

[0156] (1) An opportunity is created at a matching engine of the Exchange, such as by placing a recently received but unmatched / unsatisfied order, e.g. a data record indicative thereof, on the order book to rest;

[0157] (2) The matching engine creates an update reflecting the opportunity presented by the now available order, e.g., based on the change in the state of the order book database, and sends it to a feed engine;

[0158] (3) The feed engine, also referred to herein as a data publisher, generates an electronic data message comprising data indicative of the update and multicasts it to all of the market participants to advertise the opportunity to trade, i.e., the availability of the order;

[0159] (4) The market participants receive the data message and evaluate the opportunity and each, upon completion of their evaluation, may or may not choose to respond with an electronic trade order message comprising data indicative of a trade order responsive to the resting order, i.e. counter to the resting order;

[0160] (5) The Exchange gateway receives any counter orders generated by the market participants, sequences those orders based on their relative time of receipt to each other, sends confirmation of receipt back directly to each submitting market participant, and forwards the sequenced received orders to the matching engine; and

[0161] (6) The matching engine evaluates the sequenced received orders and matches, if using a first in first out priority, the first arriving order against the resting opportunity and a trade is executed. This causes another change in the state of the order book database reflecting the removal of the pending order (or reduction in available quantity) which may again, trigger this cycle.

[0162] As used herein, a financial message or financial data message may refer both to messages communicated by market participants to an electronic trading system and vice versa. Financial messages communicated to the electronic trading system, also referred to as “inbound” messages, may include request messages, such as trader orders, order modifications, order cancellations and other transaction requests, as well as other message types. Inbound messages may be sent from client devices associated with market participants, or their representatives, e.g., trade order messages, etc., to an electronic trading or market system. For example, a market participant may submit an electronic message to the electronic trading system that includes an associated specific action to be undertaken by the electronic trading system, such as entering a new trade order into the market or modifying an existing order in the market. In one embodiment, if a participant wishes to modify a previously sent request, e.g., a prior order which has not yet been processed or traded, they may send a request message comprising a request to modify the prior request. In one exemplary embodiment, the incoming request itself, e.g., the inbound order entry, may be referred to as an iLink message. iLink is a bidirectional communications / message protocol / message format implemented by the Chicago Mercantile Exchange Inc.

[0163] Financial messages communicated from the electronic trading system, such as by the market date module 112 described in more detail below, referred to as “outbound” messages, may include messages, transmitted, as described, to all participants or just a particular participant, responsive to inbound messages, such as confirmation and / other response messages, or other messages such as market update messages, quote messages, and the like, e.g. market data messages. Outbound messages may be disseminated via data feeds.

[0164] Financial messages may further be categorized as having or reflecting an impact on a market, also referred to as an “order book” or “book,” for a traded product, such as a prevailing price therefore, number of resting orders at various price levels and quantities thereof, etc., or not having or reflecting an impact on a market or a subset or portion thereof. In one embodiment, an electronic order book may be understood to be an electronic collection of the outstanding or resting orders for a financial instrument.

[0165] For example a request to place a trade may result in a response indicative of the trade either being matched with, or being rested on an order book to await, a suitable counter-order. This response may include a message directed solely to the trader who submitted the order to acknowledge receipt of the order and report whether it was matched, and the extent thereto, or rested. The response may further include a message to all market participants reporting a change in the order book due to the order. This response may take the form of a report of the specific change to the order book, e.g., an order for quantity X at price Y was added to the book (referred to, in one embodiment, as a Market By Order message), or may simply report the result, e.g., price level Y now has orders for a total quantity of Z (where Z is the sum of the previous resting quantity plus quantity X of the new order).

[0166] In some cases, requests may elicit a non-impacting response, such as temporally proximate to the receipt of the request and then cause a separate market-impact reflecting response at a later time. For example, a stop order, fill or kill order, aka an immediate or cancel order, or other conditional request may not have an immediate market impacting effect, if at all, until the requisite conditions are met. Accordingly, an acknowledgement or confirmation of receipt, e.g. a non-market impacting communication, may be sent to the trader simply confirming that the order was received. Upon the conditions being met and a market impacting result thereof occurring, a market-impacting message may be transmitted as described herein. It will be appreciated that additional conditions may be specified, such as a time or price limit, which may cause the order to be dropped or otherwise canceled and that such an event may result in another non-market-impacting communication instead. As will be described below, in some implementations market impacting communications may be communicated separately from non-market impacting communications, such as via a separate communications channel or feed.

[0167] It will be further appreciated that various types of market data feeds may be provided which reflect different markets or aspects thereof. Market participants may then, for example, subscribe to receive those feeds of interest to them. For example, a particular market data feed may only communicate information related to the top buy / sell prices for a particular product, referred to as “top of book” feed. In this case, a request message may be considered market-impacting only if it affects the top buy / sell prices and otherwise is considered non-market-impacting. As market impacting communications tend to be more important to market participants then non impacting communications, this separation may reduce congestion and or noise among those communications having or reflecting an impact on a market or portion thereof.

[0168] Market data feeds may further be characterized as providing a “view” or “overview” of a given market, an aggregation or a portion thereof. For example, a market data feed may convey the entire state of a market for a particular product, e.g. all presently resting buy / sell orders and prices associated therewith as well as trade notifications, etc., only a portion of a market, e.g. only the top 10 resting buy / sell orders, and / or an aggregation of multiple markets or portions thereof. As used herein, a market impacting request may be said to impact the “view” of the market as presented via the market data feed.

[0169] To conserve bandwidth, the market data feed may only convey changes to the order book database where it is incumbent upon the recipient to maintain their own copy of the order book database and apply the changes from the market data feed thereto in order to see, ascertain or otherwise have access to the complete current state of the order book database. In some implementations, the electronic trading system may periodically, e.g. daily or weekly, communicate the entire current state of the order book database so that recipients may update, synchronize or “true up” their own copy.

[0170] Various types of market data feeds may be provided by electronic trading systems, such as the CME, in order to provide different types or subsets of market information or to provide such information in different formats. Examples include Market By Order, Market Depth (aka Market by Price to a designated depth of the book), e.g. CME offers a 10-deep market by price feed, Top of Book (a single depth Market by Price feed), and combinations thereof. There may also be all manner of specialized feeds in terms of the content, i.e. providing, for example, derived data, such as a calculated index). It will be appreciated that number, type and manner of market data feeds provided by an electronic trading system are implementation dependent and may vary depending upon the types of products traded by the electronic trading system, customer / trader preferences, bandwidth and data processing limitations, etc. and that all such feeds, now available of later developed, are contemplated herein. For additional details and descriptions of different market data feeds, see U.S. patent application Ser. No. 15 / 155,565, filed on May 16, 2016, entitled “Systems and Methods for Consolidating Multiple Feed Data”, now U.S. Pat. No. 11,411,907, assigned to the assignee of the present application, the entirety of which is incorporated by reference herein and relied upon.

[0171] While the disclosed embodiments will be described with respect to a product by product or market by market implementation, e.g. implemented for each market / order book, it will be appreciated that the disclosed embodiments may be implemented so as to apply across markets for multiple products traded on one or more electronic trading systems, such as by monitoring an aggregate, correlated or other derivation of the relevant indicative parameters as described herein.

[0172] It may be appreciated that a trading environment, such as a futures exchange as described herein, implements one or more economic markets where rights and obligations may be traded. As such, a trading environment may be characterized by a need to maintain market integrity, transparency, predictability, fair / equitable access and participant expectations with respect thereto. In addition, it may be appreciated that electronic trading systems further impose additional expectations and demands by market participants as to transaction processing speed, latency, capacity and response time, while creating additional complexities relating thereto. Accordingly, as will be described, the disclosed embodiments may further include functionality to ensure that the expectations of market participants are met, e.g., that transactional integrity and predictable system responses are maintained.

[0173] Financial instrument trading systems allow traders to submit orders and receive confirmations, market data, and other information electronically via electronic messages exchanged using a network. Electronic trading systems ideally attempt to offer a more efficient, fair and balanced market where market prices reflect a true consensus of the value of traded products among the market participants, where the intentional or unintentional influence of any one market participant is minimized if not eliminated, and where unfair or inequitable advantages with respect to information access are minimized if not eliminated.

[0174] Electronic marketplaces attempt to achieve these goals by using electronic messages to communicate actions and related data of the electronic marketplace between market participants, clearing firms, clearing houses, and other parties. The messages can be received using an electronic trading system, wherein an action or transaction associated with the messages may be executed. For example, the message may contain information relating to an order to buy or sell a product in a particular electronic marketplace, and the action associated with the message may indicate that the order is to be placed in the electronic marketplace such that other orders which were previously placed may potentially be matched to the order of the received message. Thus the electronic marketplace may conduct market activities through electronic systems.

[0175] An exchange may provide for a centralized “clearing house” through which trades made must be confirmed, matched, and settled each day until offset or delivered. The clearing house may be an adjunct to an exchange, and may be an operating division of an exchange, which is responsible for settling trading accounts, clearing trades, collecting and maintaining performance bond funds, regulating delivery, and reporting trading data. One of the roles of the clearing house is to mitigate credit risk. Clearing is the procedure through which the clearing house becomes buyer to each seller of a futures contract, and seller to each buyer, also referred to as a novation, and assumes responsibility for protecting buyers and sellers from financial loss due to breach of contract, by assuring performance on each contract. A clearing member is a firm qualified to clear trades through the clearing house.

[0176] An exchange computing system may operate under a central counterparty model, where the exchange acts as an intermediary between market participants for the transaction of financial instruments. In particular, the exchange computing system novates itself into the transactions between the market participants, i.e., splits a given transaction between the parties into two separate transactions where the exchange computing system substitutes itself as the counterparty to each of the parties for that part of the transaction, sometimes referred to as a novation. In this way, the exchange computing system acts as a guarantor and central counterparty and there is no need for the market participants to disclose their identities to each other, or subject themselves to credit or other investigations by a potential counterparty. For example, the exchange computing system insulates one market participant from the default by another market participant. Market participants need only meet the requirements of the exchange computing system. Anonymity among the market participants encourages a more liquid market environment as there are lower barriers to participation. The exchange computing system can accordingly offer benefits such as centralized and anonymous matching and clearing.Clearing House

[0177] The clearing house of an exchange clears, settles and guarantees matched transactions in contracts occurring through the facilities of the exchange. In addition, the clearing house establishes and monitors financial requirements for clearing members and conveys certain clearing privileges in conjunction with the relevant exchange markets.

[0178] The clearing house establishes clearing level performance bonds (margins) for all products of the exchange and establishes minimum performance bond requirements for customers of such products. A performance bond, also referred to as a margin requirement, corresponds with the funds that must be deposited by a customer with his or her broker, by a broker with a clearing member or by a clearing member with the clearing house, for the purpose of insuring the broker or clearing house against loss on open futures or options contracts. This is not a part payment on a purchase. The performance bond helps to ensure the financial integrity of brokers, clearing members and the exchange as a whole. The performance bond refers to the minimum dollar deposit required by the clearing house from clearing members in accordance with their positions. Maintenance, or maintenance margin, refers to a sum, usually smaller than the initial performance bond, which must remain on deposit in the customer's account for any position at all times. The initial margin is the total amount of margin per contract required by the broker when a futures position is opened. A drop in funds below this level requires a deposit back to the initial margin levels, i.e., a performance bond call. If a customer's equity in any futures position drops to or under the maintenance level because of adverse price action, the broker must issue a performance bond / margin call to restore the customer's equity. A performance bond call, also referred to as a margin call, is a demand for additional funds to bring the customer's account back up to the initial performance bond level whenever adverse price movements cause the account to go below the maintenance.

[0179] The exchange derives its financial stability in large part by removing debt obligations among market participants as they occur. This is accomplished by determining a settlement price at the close of the market each day for each contract and marking all open positions to that price, referred to as “mark to market.” Every contract is debited or credited based on that trading session's gains or losses. As prices move for or against a position, funds flow into and out of the trading account. In the case of the CME, each business day by 6:40 a.m. Chicago time, based on the mark-to-the-market of all open positions to the previous trading day's settlement price, the clearing house pays to or collects cash from each clearing member. This cash flow, known as settlement variation, is performed by CME's settlement banks based on instructions issued by the clearing house. All payments to and collections from clearing members are made in “same-day” funds. In addition to the 6:40 a.m. settlement, a daily intra-day mark-to-the market of all open positions, including trades executed during the overnight GLOBEX®, the CME's electronic trading systems, trading session and the current day's trades matched before 11:15 a.m., is performed using current prices. The resulting cash payments are made intra-day for same day value. In times of extreme price volatility, the clearing house has the authority to perform additional intra-day mark-to-the-market calculations on open positions and to call for immediate payment of settlement variation. CME's mark-to-the-market settlement system differs from the settlement systems implemented by many other financial markets, including the interbank, Treasury securities, over-the-counter foreign exchange and debt, options, and equities markets, where participants regularly assume credit exposure to each other. In those markets, the failure of one participant can have a ripple effect on the solvency of the other participants. Conversely, CME's mark-to-the-market system does not allow losses to accumulate over time or allow a market participant the opportunity to defer losses associated with market positions.

[0180] While the disclosed embodiments may be described in reference to the CME, it should be appreciated that these embodiments are applicable to any electronic exchange, electronic market or electronic trading platform. Such other exchanges may include a clearing house that, like the CME clearing house, clears, settles and guarantees all matched transactions in contracts of the exchange occurring through its facilities. In addition, such clearing houses establish and monitor financial requirements for clearing members and convey certain clearing privileges in conjunction with the relevant exchange markets.

[0181] The disclosed embodiments are also not limited to uses by a clearing house or exchange for purposes of enforcing a performance bond or margin requirement. For example, a market participant may use the disclosed embodiments in a simulation or other analysis of a portfolio. In such cases, the settlement price may be useful as an indication of a value at risk and / or cash flow obligation rather than a performance bond. The disclosed embodiments may also be used by market participants or other entities to forecast or predict the effects of a prospective position on the margin requirement of the market participant.Trading Environment

[0182] The embodiments may be described in terms of a distributed computing system. The particular examples identify a specific set of components useful in a futures and options exchange. However, many of the components and inventive features are readily adapted to other electronic trading environments. The specific examples described herein may teach specific protocols and / or interfaces, although it should be understood that the principals involved may be extended to, or applied in, other protocols and interfaces.

[0183] It should be appreciated that the plurality of entities utilizing or involved with the disclosed embodiments, e.g., the market participants, may be referred to by other nomenclature reflecting the role that the particular entity is performing with respect to the disclosed embodiments and that a given entity may perform more than one role depending upon the implementation and the nature of the particular transaction being undertaken, as well as the entity's contractual and / or legal relationship with another market participant and / or the exchange.

[0184] An exemplary trading network environment for implementing trading systems and methods is shown in FIG. 1. An exchange computer system 100 receives messages that include orders and transmits market data related to orders and trades to users, such as via wide area network 162 and / or local area network 160 and computer devices 150, 152, 154, 156 and 158, as described herein, coupled with the exchange computer system 100.

[0185] Herein, the phrase “coupled with” is defined to mean directly connected to or indirectly connected through one or more intermediate components. Such intermediate components may include both hardware and software based components. Further, to clarify the use in the pending claims and to hereby provide notice to the public, the phrases “at least one of , , . . . and <N>” or “at least one of , , . . . <N>, or combinations thereof” are defined by the Applicant in the broadest sense, superseding any other implied definitions herebefore or hereinafter unless expressly asserted by the Applicant to the contrary, to mean one or more elements selected from the group comprising A, B, . . . and N, that is to say, any combination of one or more of the elements A, B, . . . or N including any one element alone or in combination with one or more of the other elements which may also include, in combination, additional elements not listed.

[0186] The exchange computer system 100 may be implemented with one or more mainframe, desktop or other computers, located on premises and / or remotely, e.g., cloud-based, such as the example computer 200 described herein with respect to FIG. 2.

[0187] A user database 102 may be provided which includes information identifying traders and other users of exchange computer system 100, such as account numbers or identifiers, usernames and passwords. An account data module 104 may be provided which may process account information that may be used during trades.

[0188] A match engine module 106 (matching engine or matching processor) may be included to match bid and offer prices and may be implemented with software that executes one or more algorithms for matching bids and offers. The match engine module 106 may include or be coupled with an order book database or data structure which may be the order book module 110 described below. A trade database 108 may be included to store information identifying trades and descriptions of trades. In particular, a trade database may store information identifying the time that a trade took place and the contract price. An order book module 110 may be included which maintain one or more order book databases or data structures (not shown), each storing data indicative of previously received but not yet fully satisfied, canceled or modified orders to buy or sell quantities of one or more products, e.g., financial instruments, and to compute or otherwise determine current bid and offer prices therefore, e.g., in a continuous auction market, or also operate as an order accumulation buffer for a batch auction market.

[0189] A market data module 112 may be included to collect market data indicative of, for examples, changes to an order book data structure indicative of the result of a matching operation and prepare the data for transmission to users, e.g., in the form of one or more market data feeds as described above.

[0190] A risk management module 114 may be included to compute and determine a user's risk utilization in relation to the user's defined risk thresholds. The risk management module 114 may also be configured to determine risk assessments or exposure levels in connection with positions held by a market participant. The risk management module 114 may be configured to administer, manage or maintain one or more margining mechanisms implemented by the exchange computer system 100. Such administration, management or maintenance may include managing a number of database records reflective of margin accounts of the market participants. In some embodiments, the risk management module 114 implements one or more aspects of the disclosed embodiments, including, for instance, principal component analysis (PCA) based margining, in connection with interest rate swap (IRS) portfolios, as described herein.

[0191] A message management module 116, which may be referred to as a message gateway, may be included to, among other things, receive, and extract orders from, electronic data transaction request messages. The message management module 116 may define a point of ingress into the exchange computer system 100 where messages are ordered and considered to be received by the system. This may be considered a point of determinism in the exchange computer system 100 that defines the earliest point where the system can ascribe an order of receipt to arriving messages. The point of determinism may or may not be at or near the demarcation point between the exchange computer system 100 and a public / internet network infrastructure. The message management module 116 processes messages by interpreting the contents of a message based on the message transmit protocol, such as the transmission control protocol (“TCP”), to provide the content of the message for further processing by the exchange computer system.

[0192] The message management module 116 may also be configured to detect characteristics of an order for a transaction to be undertaken in an electronic marketplace. For example, the message management module 116 may identify and extract order content such as a price, product, volume, and associated market participant for an order. The message management module 116 may also identify and extract data indicating an action to be executed by the exchange computer system 100 with respect to the extracted order. For example, the message management module 116 may determine the transaction type of the transaction requested in a given message. A message may include an instruction to perform a type of transaction. The transaction type may be, in one embodiment, a limit or market order comprising a request / offer / order to either buy or sell a specified quantity or units of a financial instrument at a specified price or value. The message management module 116 may also identify and extract other order information and other actions associated with the extracted order. All extracted order characteristics, other information, and associated actions extracted from a message for an order may be collectively considered an order as described and referenced herein.

[0193] Order or message characteristics may include, for example, the state of the system after a message is received, arrival time (e.g., the time a message arrives at the MSG or Market Segment Gateway), message type (e.g., new, modify, cancel), and the number of matches generated by a message. Order or message characteristics may also include market participant side (e.g., buyer or seller) or time in force (e.g., a good until end of day order that is good for the full trading day, a good until canceled ordered that rests on the order book until matched, or a fill or kill order that is canceled if not filled immediately, or a fill and kill order (FOK) that is filled to the maximum amount possible, and any remaining or unfilled / unsatisfied quantity is not stored on the books or allowed to rest).

[0194] An order processing module 118 may be included to decompose delta-based, spread instrument, bulk and other types of composite orders for processing by the order book module 110 and / or the match engine module 106. The order processing module 118 may also be used to implement one or more procedures related to clearing an order. The order may be communicated from the message management module 118 to the order processing module 118. The order processing module 118 may be configured to interpret the communicated order, and manage the order characteristics, other information, and associated actions as they are processed through an order book module 110 and eventually transacted on an electronic market. For example, the order processing module 118 may store the order characteristics and other content and execute the associated actions. In an embodiment, the order processing module may execute an associated action of placing the order into an order book for an electronic trading system managed by the order book module 110. In an embodiment, placing an order into an order book and / or into an electronic trading system may be considered a primary action for an order. The order processing module 118 may be configured in various arrangements and may be configured as part of the order book module 110, part of the message management module 118, or as an independent functioning module.

[0195] As an intermediary to electronic trading transactions, the exchange bears a certain amount of risk in each transaction that takes place. To that end, the clearing house implements risk management mechanisms to protect the exchange. One or more of the modules of the exchange computer system 100 may be configured to determine settlement prices for constituent contracts, such as deferred month contracts, of spread instruments, such as for example, settlement module 120. A settlement module 120 (or settlement processor or other payment processor) may be included to provide one or more functions related to settling or otherwise administering transactions cleared by the exchange. Settlement module 120 of the exchange computer system 100 may implement one or more settlement price determination techniques. Settlement-related functions need not be limited to actions or events occurring at the end of a contract term. For instance, in some embodiments, settlement-related functions may include or involve daily or other mark to market settlements for margining purposes. In some cases, the settlement module 120 may be configured to communicate with the trade database 108 (or the memory(ies) on which the trade database 108 is stored) and / or to determine a payment amount based on a spot price, the price of the futures contract or other financial instrument, or other price data, at various times. The determination may be made at one or more points in time during the term of the financial instrument in connection with a margining mechanism. For example, the settlement module 120 may be used to determine a mark to market amount on a daily basis during the term of the financial instrument. Such determinations may also be made on a settlement date for the financial instrument for the purposes of final settlement.

[0196] In some embodiments, the settlement module 120 may be integrated to any desired extent with one or more of the other modules or processors of the exchange computer system 100. For example, the settlement module 120 and the risk management module 114 may be integrated to any desired extent. In some cases, one or more margining procedures or other aspects of the margining mechanism(s) may be implemented by the settlement module 120.

[0197] The exchange computer system 100 may further include an alert module 122 which, alone or in combination with the match engine module 106, order book module 110, market data module 112, message management module 116 and / or order processing module 118 implements the disclosed embodiments in an exchange integrated implementation. While shown separately, the alert module 122 may be implemented as part of the match engine module 106, order book module 110, market data module 112, message management module 116 and / or order processing module 118 or other module shown or combination thereof. The alert module 122 may be coupled with the network 162 or other communications medium so as to be able to receive and transmit messages, as described herein, from / to the market participants, e.g., via their devices 150-158, such as via electronic trading software, or otherwise receive inputs from external event data sources, such as news feeds, weather data, other trading systems, etc.

[0198] One or more of the above-described modules of the exchange computer system 100 may be used to gather or obtain data to support the settlement price determination, as well as a subsequent margin requirement determination. For example, the order book module 110 and / or the market data module 112 may be used to receive, access, or otherwise obtain market data, such as bid-offer values of orders currently on the order books. The trade database 108 may be used to receive, access, or otherwise obtain trade data indicative of the prices and volumes of trades that were recently executed in a number of markets. In some cases, transaction data (and / or bid / ask data) may be gathered or obtained from open outcry pits and / or other sources and incorporated into the trade and market data from the electronic trading system(s).

[0199] It should be appreciated that concurrent processing limits may be defined by or imposed separately or in combination on one or more of the trading system components, including the user database 102, the account data module 104, the match engine module 106, the trade database 108, the order book module 110, the market data module 112, the risk management module 114, the message management module 116, the order processing module 118, the settlement module 120, the alert module 122 or other component of the exchange computer system 100.

[0200] The disclosed mechanisms may be implemented at any logical and / or physical point(s), or combinations thereof, at which the relevant information / data (e.g., message traffic and responses thereto) may be monitored or flows or is otherwise accessible or measurable, including one or more gateway devices, modems, the computers or terminals of one or more market participants, e.g., client computers, etc.

[0201] One skilled in the art will appreciate that one or more modules described herein may be implemented using, among other things, a tangible computer-readable medium comprising computer-executable instructions (e.g., executable software code). Alternatively, modules may be implemented as software code, firmware code, specifically configured hardware or processors, and / or a combination of the aforementioned. For example, the modules may be embodied as part of an exchange computer system 100 for financial instruments. It should be appreciated the disclosed embodiments may be implemented as a different or separate module of the exchange computer system 100, or a separate computer system coupled with the exchange computer system 100 so as to have access to the relevant data. As described herein, the disclosed embodiments may be implemented as a centrally accessible system, deployed on premises or in the cloud, or as a distributed system, e.g., where some of the disclosed functions are performed by the computer systems of the market participants.

[0202] The trading network environment shown in FIG. 1 includes exemplary computer devices 150, 152, 154, 156 and 158 which depict different exemplary methods or media by which a computer device may be coupled with the exchange computer system 100 or by which a user may communicate, e.g., send and receive, trade or other information therewith. It should be appreciated that the types of computer devices deployed by traders and the methods and media by which they communicate with the exchange computer system 100 is implementation dependent and may vary and that not all of the depicted computer devices and / or means / media of communication may be used and that other computer devices and / or means / media of communications, now available or later developed may be used. Each computer device, which may comprise a computer 200 described in more detail with respect to FIG. 2, may include a central processor, specifically configured or otherwise, that controls the overall operation of the computer and a system bus that connects the central processor to one or more conventional components, such as a network card or modem. Each computer device may also include a variety of interface units and drives for reading and writing data or files and communicating with other computer devices and with the exchange computer system 100. Depending on the type of computer device, a user can interact with the computer with a keyboard, pointing device, microphone, pen device or other input device now available or later developed.

[0203] An exemplary computer device 150 is shown directly connected to exchange computer system 100, such as via a T1 line, a common local area network (LAN) or other wired and / or wireless medium for connecting computer devices, such as the network 220 shown in FIG. 2 and described with respect thereto. The exemplary computer device 150 is further shown connected to a radio 168. The user of radio 168, which may include a cellular telephone, smart phone, or other wireless proprietary and / or non-proprietary device, may be a trader or exchange employee. The radio user may transmit orders or other information to the exemplary computer device 150 or a user thereof. The user of the exemplary computer device 150, or the exemplary computer device 150 alone and / or autonomously, may then transmit the trade or other information to the exchange computer system 100.

[0204] Exemplary computer devices 152 and 154 are coupled with a local area network (“LAN”) 160 which may be configured in one or more of the well-known LAN topologies, e.g., star, daisy chain, etc., and may use a variety of different protocols, such as Ethernet, TCP / IP, etc. The exemplary computer devices 152 and 154 may communicate with each other and with other computer and other devices which are coupled with the LAN 160. Computer and other devices may be coupled with the LAN 160 via twisted pair wires, coaxial cable, fiber optics or other wired or wireless media. As shown in FIG. 1, an exemplary wireless personal digital assistant device (“PDA”) 158, such as a mobile telephone, tablet based compute device, or other wireless device, may communicate with the LAN 160 and / or the Internet 162 via radio waves, such as via Wifi, Bluetooth and / or a cellular telephone based data communications protocol. PDA 158 may also communicate with exchange computer system 100 via a conventional wireless hub 164.

[0205] FIG. 1 also shows the LAN 160 coupled with a wide area network (“WAN”) 162 which may be comprised of one or more public or private wired or wireless networks. In one embodiment, the WAN 162 includes the Internet 162. The LAN 160 may include a router to connect LAN 160 to the Internet 162. Exemplary computer device 156 is shown coupled directly to the Internet 162, such as via a modem, DSL line, satellite dish or any other device for connecting a computer device to the Internet 162 via a service provider therefore as is known. LAN 160 and / or WAN 162 may be the same as the network 220 shown in FIG. 2 and described with respect thereto.

[0206] Users of the exchange computer system 100 may include one or more market makers 166 which may maintain a market by providing constant bid and offer prices for a derivative or security to the exchange computer system 100, such as via one of the exemplary computer devices depicted. The exchange computer system 100 may also exchange information with other match or trade engines, such as trade engine 170. One skilled in the art will appreciate that numerous additional computers and systems may be coupled to exchange computer system 100. Such computers and systems may include clearing, regulatory and fee systems.

[0207] The operations of computer devices and systems shown in FIG. 1 may be controlled by computer-executable instructions stored on a non-transitory computer-readable medium. For example, the exemplary computer device 152 may store computer-executable instructions for receiving order information from a user, transmitting that order information to exchange computer system 100 in electronic messages, extracting the order information from the electronic messages, executing actions relating to the messages, and / or calculating values from characteristics of the extracted order to facilitate matching orders and executing trades. In another example, the exemplary computer device 154 may include computer-executable instructions for receiving market data from exchange computer system 100 and displaying that information to a user.

[0208] Numerous additional servers, computers, handheld devices, personal digital assistants, telephones and other devices may also be connected to exchange computer system 100. Moreover, one skilled in the art will appreciate that the topology shown in FIG. 1 is merely an example and that the components shown in FIG. 1 may include other components not shown and be connected by numerous alternative topologies.

[0209] Referring now to FIG. 2, an illustrative embodiment of a general computer system 200 is shown. The computer system 200 can include a set of instructions that can be executed to cause the computer system 200 to perform any one or more of the methods or computer based functions disclosed herein. The computer system 200 may operate as a standalone device or may be connected, e.g., using a network, to other computer systems or peripheral devices. Any of the components discussed herein, such as processor 202, may be a computer system 200 or a component in the computer system 200. The computer system 200 may be specifically configured to implement a match engine, margin processing, payment or clearing function on behalf of an exchange, such as the Chicago Mercantile Exchange, of which the disclosed embodiments are a component thereof. The computer system 200 may be implement a shared multi-tenant processing / operating system, such as may be used in a cloud deployment, of which one or more of the functions described herein are deployed in one or more of the shared processing environments.

[0210] In a networked deployment, the computer system 200 may operate in the capacity of a server or as a client user computer in a client-server user network environment, or as a peer computer system in a peer-to-peer (or distributed) network environment. The computer system 200 can also be implemented as or incorporated into various devices, such as a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile device, a palmtop computer, a laptop computer, a desktop computer, a communications device, a wireless telephone, a land-line telephone, a control system, a camera, a scanner, a facsimile machine, a printer, a pager, a personal trusted device, a web appliance, a network router, switch or bridge, or any other machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. In a particular embodiment, the computer system 200 can be implemented using electronic devices that provide voice, video or data communication. Further, while a single computer system 200 is illustrated, the term “system” shall also be taken to include any collection of systems or sub-systems that individually or jointly execute a set, or multiple sets, of instructions to perform one or more computer functions.

[0211] As illustrated in FIG. 2, the computer system 200 may include a processor 202, e.g., a central processing unit (CPU), a graphics processing unit (GPU), or both. The processor 202 may be a component in a variety of systems. For example, the processor 202 may be part of a standard personal computer or a workstation. The processor 202 may be one or more general processors, digital signal processors, specifically configured processors, application specific integrated circuits, field programmable gate arrays, servers, networks, digital circuits, analog circuits, combinations thereof, or other now known or later developed devices for analyzing and processing data. The processor 202 may implement a software program, such as code generated manually (i.e., programmed).

[0212] The computer system 200 may include a memory 204 that can communicate via a bus 208. The memory 204 may be a main memory, a static memory, or a dynamic memory. The memory 204 may include, but is not limited to, computer readable storage media such as various types of volatile and non-volatile storage media, including but not limited to random access memory, read-only memory, programmable read-only memory, electrically programmable read-only memory, electrically erasable read-only memory, flash memory, magnetic tape or disk, optical media and the like. In one embodiment, the memory 204 includes a cache or random access memory for the processor 202. In alternative embodiments, the memory 204 is separate from the processor 202, such as a cache memory of a processor, the system memory, or other memory. The memory 204 may be an external storage device or database for storing data. Examples include a hard drive, compact disc (“CD”), digital video disc (“DVD”), memory card, memory stick, floppy disc, universal serial bus (“USB”) memory device, or any other device operative to store data. The memory 204 is operable to store instructions executable by the processor 202. The functions, acts or tasks illustrated in the figures or described herein may be performed by the programmed processor 202 executing the instructions 212 stored in the memory 204. The functions, acts or tasks are independent of the particular type of instructions set, storage media, processor or processing strategy and may be performed by software, hardware, integrated circuits, firmware, micro-code and the like, operating alone or in combination. Likewise, processing strategies may include multiprocessing, multitasking, parallel processing and the like.

[0213] As shown, the computer system 200 may further include a display unit 214, such as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flat panel display, a solid state display, a cathode ray tube (CRT), a projector, a printer or other now known or later developed display device for outputting determined information. The display 214 may act as an interface for the user to see the functioning of the processor 202, or specifically as an interface with the software stored in the memory 204 or in the drive unit 206.

[0214] Additionally, the computer system 200 may include an input device 216 configured to allow a user to interact with any of the components of system 200. The input device 216 may be a number pad, a keyboard, or a cursor control device, such as a mouse, or a joystick, touch screen display, remote control or any other device operative to interact with the system 200.

[0215] In a particular embodiment, as depicted in FIG. 2, the computer system 200 may also include a disk or optical drive unit 206 or other volatile or non-volatile data storage mechanism. The disk drive unit 206 may include a computer-readable medium 210 in which one or more sets of instructions 212, e.g., software, can be embedded. Further, the instructions 212 may embody one or more of the methods or logic as described herein. In a particular embodiment, the instructions 212 may reside completely, or at least partially, within the memory 204 and / or within the processor 202 during execution by the computer system 200. The memory 204 and the processor 202 also may include computer-readable media as discussed herein.

[0216] The present disclosure contemplates a computer-readable medium that includes instructions 212 or receives and executes instructions 212 responsive to a propagated signal, so that a device connected to a network 220 can communicate voice, video, audio, images or any other data over the network 220. Further, the instructions 212 may be transmitted or received over the network 220 via a communication interface 218. The communication interface 218 may be a part of the processor 202 or may be a separate component. The communication interface 218 may be created in software or may be a physical connection in hardware. The communication interface 218 is configured to connect with a network 220, external media, the display 214, or any other components in system 200, or combinations thereof. The connection with the network 220 may be a physical connection, such as a wired Ethernet connection or may be established wirelessly. Likewise, the additional connections with other components of the system 200 may be physical connections or may be established wirelessly.

[0217] The network 220 may include wired networks, wireless networks, or combinations thereof. The wireless network may be a cellular telephone network, an 802.11, 802.16, 802.20, or WiMax network. Further, the network 220 may be a public network, such as the Internet, a private network, such as an intranet, or combinations thereof, and may utilize a variety of networking protocols now available or later developed including, but not limited to, TCP / IP based networking protocols.

[0218] Embodiments of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. While the computer-readable medium is shown to be a single medium, the term “computer-readable medium” includes a single medium or multiple media, such as a centralized or distributed database, and / or associated caches and servers that store one or more sets of instructions. The term “computer-readable medium” shall also include any medium that is capable of storing, encoding or carrying a set of instructions for execution by a processor or that cause a computer system to perform any one or more of the methods or operations disclosed herein. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, or a combination of one or more of them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.

[0219] In a particular non-limiting, exemplary embodiment, the computer-readable medium can include a solid-state memory such as a memory card or other package that houses one or more non-volatile read-only memories. Further, the computer-readable medium can be a random access memory or other volatile re-writable memory. Additionally, the computer-readable medium can include a magneto-optical or optical medium, such as a disk or tapes or other storage device to capture carrier wave signals such as a signal communicated over a transmission medium. A digital file attachment to an e-mail or other self-contained information archive or set of archives may be considered a distribution medium that is a tangible storage medium. Accordingly, the disclosure is considered to include any one or more of a computer-readable medium or a distribution medium and other equivalents and successor media, in which data or instructions may be stored.

[0220] In an alternative embodiment, dedicated or otherwise specifically configured hardware implementations, such as application specific integrated circuits, programmable logic arrays and other hardware devices, can be constructed to implement one or more of the methods described herein. Applications that may include the apparatus and systems of various embodiments can broadly include a variety of electronic and computer systems. One or more embodiments described herein may implement functions using two or more specific interconnected hardware modules or devices with related control and data signals that can be communicated between and through the modules, or as portions of an application-specific integrated circuit. Accordingly, the present system encompasses software, firmware, and hardware implementations.

[0221] In accordance with various embodiments of the present disclosure, the methods described herein may be implemented by software programs executable by a computer system. Further, in an exemplary, non-limited embodiment, implementations can include distributed processing, component / object distributed processing, and parallel processing. Alternatively, virtual computer system processing can be constructed to implement one or more of the methods or functionalities as described herein.

[0222] Although the present specification describes components and functions that may be implemented in particular embodiments with reference to particular standards and protocols, the invention is not limited to such standards and protocols. For example, standards for Internet and other packet switched network transmission (e.g., TCP / IP, UDP / IP, HTML, HTTP, HTTPS) represent examples of the state of the art. Such standards are periodically superseded by faster or more efficient equivalents having essentially the same functions. Accordingly, replacement standards and protocols having the same or similar functions as those disclosed herein are considered equivalents thereof.

[0223] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site, distributed across multiple sites, and / or remotely located, e.g., cloud-based, and interconnected by a communication network.

[0224] The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

[0225] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and anyone or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, e.g., a mobile telephone, a personal digital assistant (PDA), a mobile audio player, a Global Positioning System (GPS) receiver, to name just a few. Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[0226] As used herein, the terms “microprocessor” or “general-purpose processor” (“GPP”) may refer to a hardware device that fetches instructions and data from a memory or storage device and executes those instructions (for example, an Intel Xeon processor or an AMD Opteron processor) to then, for example, process the data in accordance therewith. The term “reconfigurable logic” may refer to any logic technology whose form and function can be significantly altered (i.e., reconfigured) in the field post-manufacture as opposed to a microprocessor, whose function can change post-manufacture, e.g. via computer executable software code, but whose form, e.g. the arrangement / layout and interconnection of logical structures, is fixed at manufacture. A GPP, with respect to certain embodiments, may also refer to specialized processors, such as those particularly suited to implementing applications of machine learning and / or artificial intelligence, such as vector processors or graphics processing units and the like. The term “software” may refer to data processing functionality that is deployed on a GPP. The term “firmware” may refer to data processing functionality that is deployed on reconfigurable logic. One example of a reconfigurable logic is a field programmable gate array (“FPGA”) which is a reconfigurable integrated circuit. An FPGA may contain programmable logic components called “logic blocks”, and a hierarchy of reconfigurable interconnects that allow the blocks to be “wired together”, somewhat like many (changeable) logic gates that can be inter-wired in (many) different configurations. Logic blocks may be configured to perform complex combinatorial functions, or merely simple logic gates like AND, OR, NOT and XOR. An FPGA may further include memory elements, which may be simple flip-flops or more complete blocks of memory.

[0227] To provide for interaction with a user, embodiments, or applicable portions thereof, of the subject matter described in this specification can be implemented on a device having a display, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well. Feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback. Input from the user can be received in any form, including acoustic, speech, or tactile input.

[0228] Embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back end component, e.g., a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described in this specification, or any combination of one or more such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.

[0229] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

[0230] It should be appreciated that the disclosed embodiments may be applicable to other types of messages depending upon the implementation. Further, the messages may comprise one or more data packets, datagrams or other collection of data formatted, arranged configured and / or packaged in a particular one or more protocols, e.g., the FIX protocol, TCP / IP, Ethernet, etc., suitable for transmission via a network 214 as was described, such as the message format and / or protocols described in U.S. Pat. No. 7,831,491 and U.S. Patent Publication No. 2005 / 0096999 A1, both of which are incorporated by reference herein in their entireties and relied upon. Further, the disclosed message management system may be implemented using an open message standard implementation, such as FIX, FIX Binary, FIX / FAST, or by an exchange-provided API.

[0231] The embodiments described herein utilize trade related electronic messages such as mass quote messages, individual order messages, modification messages, cancellation messages, etc., so as to enact trading activity in an electronic market. The trading entity and / or market participant may have one or multiple trading terminals associated with the session. Furthermore, the financial instruments may be financial derivative products. Derivative products may include futures contracts, options on futures contracts, futures contracts that are functions of or related to other futures contracts, swaps, swaptions, or other financial instruments that have their price related to or derived from an underlying product, security, commodity, equity, index, or interest rate product. In one embodiment, the orders are for options contracts that belong to a common option class. Orders may also be for baskets, quadrants, other combinations of financial instruments, etc. The option contracts may have a plurality of strike prices and / or comprise put and call contracts. A mass quote message may be received at an exchange. As used herein, an exchange computing system 100 includes a place or system that receives and / or executes orders.

[0232] In an embodiment, a plurality of electronic messages is received from the network. The plurality of electronic messages may be received at a network interface for the electronic trading system. The plurality of electronic messages may be sent from market participants. The plurality of messages may include order characteristics and be associated with actions to be executed with respect to an order that may be extracted from the order characteristics. The action may involve any action as associated with transacting the order in an electronic trading system. The actions may involve placing the orders within a particular market and / or order book of a market in the electronic trading system.

[0233] In an embodiment, an incoming transaction may be received. The incoming transaction may be from, and therefore associated with, a market participant of an electronic market managed by an electronic trading system. The transaction may involve an order as extracted from a received message and may have an associated action. The actions may involve placing an order to buy or sell a financial product in the electronic market or modifying or deleting such an order. In an embodiment, the financial product may be based on an associated financial instrument which the electronic market is established to trade.

[0234] In an embodiment, the action associated with the transaction is determined. For example, it may be determined whether the incoming transaction comprises an order to buy or sell a quantity of the associated financial instrument or an order to modify or cancel an existing order in the electronic market. Orders to buy or sell and orders to modify or cancel may be acted upon differently by the electronic market. For example, data indicative of different characteristics of the types of orders may be stored.

[0235] In an embodiment, data relating to the received transaction is stored. The data may be stored in any device, or using any technique, operable to store and provide recovery of data. For example, a memory 204 or computer readable medium 210, may be used to store data, as is described with respect to FIG. 2 in further detail herein. Data may be stored relating received transactions for a period of time, indefinitely, or for a rolling most recent time period such that the stored data is indicative of the market participant's recent activity in the electronic market.

[0236] Further, electronic trading systems may perform actions on orders placed from received messages based on various characteristics of the messages and / or market participants associated with the messages. These actions may include matching the orders either during a continuous auction process, or at the conclusion of a collection period during a batch auction process. The matching of orders may be by any technique.

[0237] As described herein, the matching of orders may occur based on a priority indicated by the characteristics of orders and market participants associated with the orders. Orders having a higher priority may be matched before orders of a lower priority. Such priority may be determined using various techniques. For example, orders that were indicated by messages received earlier may receive a higher priority to match than orders that were indicated by messages received later. Also, scoring or grading of the characteristics may provide for priority determination. Data indicative of order matches may be stored by a match engine and / or an order processing module 118, and used, for example, for determining message quality index (MQI) scores of market participants.Example Users

[0238] Generally, a market may involve market makers, such as market participants who consistently provide bids and / or offers at specific prices in a manner typically conducive to balancing risk, and market takers who may be willing to execute transactions at prevailing bids or offers may be characterized by more aggressive actions so as to maintain risk and / or exposure as a speculative investment strategy. From an alternate perspective, a market maker may be considered a market participant who places an order to sell at a price at which there is no previously or concurrently provided counter order. Similarly, a market taker may be considered a market participant who places an order to buy at a price at which there is a previously or concurrently provided counter order. A balanced and efficient market may involve both market makers and market takers, coexisting in a mutually beneficial basis. The mutual existence, when functioning properly, may facilitate liquidity in the market such that a market may exist with “tight” bid-ask spreads (e.g., small difference between bid and ask prices) and a “deep” volume from many currently provided orders such that large quantity orders may be executed without driving prices significantly higher or lower.

[0239] An exchange provides one or more markets for the purchase and sale of various types of products including financial instruments such as stocks, bonds, futures contracts, options, currency, cash, and other similar instruments. Agricultural products and commodities are also examples of products traded on such exchanges. A futures contract is a product that is a contract for the future delivery of another financial instrument such as a quantity of grains, metals, oils, bonds, currency, or cash. Generally, each exchange establishes a specification for each market provided thereby that defines at least the product traded in the market, minimum quantities that must be traded, and minimum changes in price (e.g., tick size). For some types of products (e.g., futures or options), the specification further defines a quantity of the underlying product represented by one unit (or lot) of the product, and delivery and expiration dates. As will be described, the exchange may further define the matching algorithm, or rules, by which incoming orders will be matched / allocated to resting orders.Matching and Transaction Processing

[0240] As described elsewhere herein, market participants, e.g., traders, use software to send orders or messages to the trading platform. The order identifies the product, the quantity of the product the trader wishes to trade, a price (if a limit order and no price if a market order) at which the trader wishes to trade the product, and a direction of the order (i.e., whether the order is a bid, i.e., an offer to buy, or an ask, i.e., an offer to sell). It will be appreciated that there may be other order types or messages that traders can send including requests to modify or cancel a previously submitted order.

[0241] The exchange computer system monitors incoming orders received thereby and attempts to identify, i.e., match or allocate, as described herein, one or more previously received, but not yet matched, orders, i.e., limit orders to buy or sell a given quantity at a given price, referred to as “resting” orders, stored in an order book database, wherein each identified order is contra to the incoming order and has a favorable price relative to the incoming order. An incoming order may be an “aggressor” order, i.e., a market order to sell a given quantity at whatever may be the current resting bid order price(s) or a market order to buy a given quantity at whatever may be the current resting ask order price(s). An incoming order may be a “market making” order, i.e., a market order to buy or sell at a price for which there are currently no resting orders. In particular, if the incoming order is a bid, i.e., an offer to buy, then the identified order(s) will be an ask, i.e., an offer to sell, at a price that is identical to or higher than the bid price. Similarly, if the incoming order is an ask, i.e., an offer to sell, the identified order(s) will be a bid, i.e., an offer to buy, at a price that is identical to or lower than the offer price.

[0242] An exchange computing system may receive conditional orders or messages for a data object, where the order may include two prices or values: a reference value and a stop value. A conditional order may be configured so that when a product represented by the data object trades at the reference price, the stop order is activated at the stop value. For example, if the exchange computing system's order management module includes a stop order with a stop price of 5 and a limit price of 1 for a product, and a trade at 5 (i.e., the stop price of the stop order) occurs, then the exchange computing system attempts to trade at 1 (i.e., the limit price of the stop order). In other words, a stop order is a conditional order to trade (or execute) at the limit price that is triggered (or elected) when a trade at the stop price occurs.

[0243] Stop orders also rest on, or are maintained in, an order book to monitor for a trade at the stop price, which triggers an attempted trade at the limit price. In some embodiments, a triggered limit price for a stop order may be treated as an incoming order.

[0244] Upon identification (matching) of a contra order(s), a minimum of the quantities associated with the identified order and the incoming order is matched and that quantity of each of the identified and incoming orders become two halves of a matched trade that is sent to a clearing house. The exchange computer system considers each identified order in this manner until either all of the identified orders have been considered or all of the quantity associated with the incoming order has been matched, i.e., the order has been filled. If any quantity of the incoming order remains, an entry may be created in the order book database and information regarding the incoming order is recorded therein, i.e., a resting order is placed on the order book for the remaining quantity to await a subsequent incoming order counter thereto.

[0245] It should be appreciated that in electronic trading systems implemented via an exchange computing system, a trade price (or match value) may differ from (i.e., be better for the submitter, e.g., lower than a submitted buy price or higher than a submitted sell price) the limit price that is submitted, e.g., a price included in an incoming message, or a triggered limit price from a stop order.

[0246] As used herein, “better” than a reference value means lower than the reference value if the transaction is a purchase (or acquire) transaction, and higher than the reference value if the transaction is a sell transaction. Said another way, for purchase (or acquire) transactions, lower values are better, and for relinquish or sell transactions, higher values are better.

[0247] Traders access the markets on a trading platform using trading software that receives and displays at least a portion of the order book for a market, i.e., at least a portion of the currently resting orders, enables a trader to provide parameters for an order for the product traded in the market, and transmits the order to the exchange computer system. The trading software typically includes a graphical user interface to display at least a price and quantity of some of the entries in the order book associated with the market. The number of entries of the order book displayed is generally preconfigured by the trading software, limited by the exchange computer system, or customized by the user. Some graphical user interfaces display order books of multiple markets of one or more trading platforms. The trader may be an individual who trades on his / her behalf, a broker trading on behalf of another person or entity, a group, or an entity. Furthermore, the trader may be a system that automatically generates and submits orders.

[0248] If the exchange computer system identifies that an incoming market order may be filled by a combination of multiple resting orders, e.g., the resting order at the best price only partially fills the incoming order, the exchange computer system may allocate the remaining quantity of the incoming, i.e., that which was not filled by the resting order at the best price, among such identified orders in accordance with prioritization and allocation rules / algorithms, referred to as “allocation algorithms” or “matching algorithms,” as, for example, may be defined in the specification of the particular financial product or defined by the exchange for multiple financial products. Similarly, if the exchange computer system identifies multiple orders contra to the incoming limit order and that have an identical price which is favorable to the price of the incoming order, i.e., the price is equal to or better, e.g., lower if the incoming order is a buy (or instruction to purchase, or instruction to acquire) or higher if the incoming order is a sell (or instruction to relinquish), than the price of the incoming order, the exchange computer system may allocate the quantity of the incoming order among such identified orders in accordance with the matching algorithms as, for example, may be defined in the specification of the particular financial product or defined by the exchange for multiple financial products.

[0249] An exchange responds to inputs, such as trader orders, cancellation, etc., in a manner as expected by the market participants, such as based on market data, e.g., prices, available counter-orders, etc., to provide an expected level of certainty that transactions will occur in a consistent and predictable manner and without unknown or unascertainable risks. Accordingly, the method by which incoming orders are matched with resting orders must be defined so that market participants have an expectation of what the result will be when they place an order or have resting orders and an incoming order is received, even if the expected result is, in fact, at least partially unpredictable due to some component of the process being random or arbitrary or due to market participants having imperfect or less than all information, e.g., unknown position of an order in an order book. Typically, the exchange defines the matching / allocation algorithm that will be used for a particular financial product, with or without input from the market participants. Once defined for a particular product, the matching / allocation algorithm is typically not altered, except in limited circumstance, such as to correct errors or improve operation, so as not to disrupt trader expectations. It will be appreciated that different products offered by a particular exchange may use different matching algorithms.

[0250] For example, a first-in / first-out (FIFO) matching algorithm, also referred to as a “Price Time” algorithm, considers each identified order sequentially in accordance with when the identified order was received. The quantity of the incoming order is matched to the quantity of the identified order at the best price received earliest, then quantities of the next earliest best price orders, and so on until the quantity of the incoming order is exhausted. Some product specifications define the use of a pro-rata matching algorithm, wherein a quantity of an incoming order is allocated to each of plurality of identified orders proportionally. Some exchange computer systems provide a priority to certain standing orders in particular markets. An example of such an order is the first order that improves a price (i.e., improves the market) for the product during a trading session. To be given priority, the trading platform may require that the quantity associated with the order is at least a minimum quantity. Further, some exchange computer systems cap the quantity of an incoming order that is allocated to a standing order on the basis of a priority for certain markets. In addition, some exchange computer systems may give a preference to orders submitted by a trader who is designated as a market maker for the product. Other exchange computer systems may use other criteria to determine whether orders submitted by a particular trader are given a preference. Typically, when the exchange computer system allocates a quantity of an incoming order to a plurality of identified orders at the same price, the trading host allocates a quantity of the incoming order to any orders that have been given priority. The exchange computer system thereafter allocates any remaining quantity of the incoming order to orders submitted by traders designated to have a preference, and then allocates any still remaining quantity of the incoming order using the FIFO or pro-rata algorithms. Pro-rata algorithms used in some markets may require that an allocation provided to a particular order in accordance with the pro-rata algorithm must meet at least a minimum allocation quantity. Any orders that do not meet or exceed the minimum allocation quantity are allocated to on a FIFO basis after the pro-rata allocation (if any quantity of the incoming order remains). More information regarding order allocation may be found in U.S. Pat. No. 7,853,499, the entirety of which is incorporated by reference herein and relied upon. Other examples of matching algorithms which may be defined for allocation of orders of a particular financial product include: Price Explicit Time; Order Level Pro Rata; Order Level Priority Pro Rata; Preference Price Explicit Time; Preference Order Level Pro Rata; Preference Order Level Priority Pro Rata; Threshold Pro-Rata; Priority Threshold Pro-Rata; Preference Threshold Pro-Rata; Priority Preference Threshold Pro-Rata; and Split Price-Time Pro-Rata, which are described in U.S. patent application Ser. No. 13 / 534,499, filed on Jun. 27, 2012, entitled “Multiple Trade Matching Algorithms,” published as U.S. Patent Application Publication No. 2014 / 0006243 A1, the entirety of which is incorporated by reference herein and relied upon.

[0251] With respect to incoming orders, some traders, such as automated and / or algorithmic traders, attempt to respond to market events, such as to capitalize upon a mispriced resting order or other market inefficiency, as quickly as possible. This may result in penalizing the trader who makes an errant trade, or whose underlying trading motivations have changed, and who cannot otherwise modify or cancel their order faster than other traders can submit trades there against. It may considered that an electronic trading system that rewards the trader who submits their order first creates an incentive to either invest substantial capital in faster trading systems, participate in the market substantially to capitalize on opportunities (aggressor side / lower risk trading) as opposed to creating new opportunities (market making / higher risk trading), modify existing systems to streamline business logic at the cost of trade quality, or reduce one's activities and exposure in the market. The result may be a lesser quality market and / or reduced transaction volume, and corresponding thereto, reduced fees to the exchange.

[0252] With respect to resting orders, allocation / matching suitable resting orders to match against an incoming order can be performed, as described herein, in many different ways. Generally, it will be appreciated that allocation / matching algorithms are only needed when the incoming order quantity is less than the total quantity of the suitable resting orders as, only in this situation, is it necessary to decide which resting order(s) will not be fully satisfied, which trader(s) will not get their orders filled. It can be seen from the above descriptions of the matching / allocation algorithms, that they fall generally into three categories: time priority / first-in-first-out (“FIFO”), pro rata, or a hybrid of FIFO and pro rata. As described elsewhere herein, price / size / time (PST) priority may also be implemented.

[0253] FIFO generally rewards the first trader to place an order at a particular price and maintains this reward indefinitely. So if a trader is the first to place an order at price X, no matter how long that order rests and no matter how many orders may follow at the same price, as soon as a suitable incoming order is received, that first trader will be matched first. This “first mover” system may commit other traders to positions in the queue after the first move traders. Furthermore, while it may be beneficial to give priority to a trader who is first to place an order at a given price because that trader is, in effect, taking a risk, the longer that the trader's order rests, the less beneficial it may be. For instance, it could deter other traders from adding liquidity to the marketplace at that price because they know the first mover (and potentially others) already occupies the front of the queue.

[0254] With a pro rata allocation, incoming orders are effectively split among suitable resting orders. This provides a sense of fairness in that everyone may get some of their order filled. However, a trader who took a risk by being first to place an order (a “market turning” order) at a price may end up having to share an incoming order with a much later submitted order. Furthermore, as a pro rata allocation distributes the incoming order according to a proportion based on the resting order quantities, traders may place orders for large quantities, which they are willing to trade but may not necessarily want to trade, in order to increase the proportion of an incoming order that they will receive. This results in an escalation of quantities on the order book and exposes a trader to a risk that someone may trade against one of these orders and subject the trader to a larger trade than they intended. In the typical case, once an incoming order is allocated against these large resting orders, the traders subsequently cancel the remaining resting quantity which may frustrate other traders. Accordingly, as FIFO and pro rata both have benefits and problems, exchanges may try to use hybrid allocation / matching algorithms which attempt to balance these benefits and problems by combining FIFO and pro rata in some manner. However, hybrid systems define conditions or fixed rules to determine when FIFO should be used and when pro rata should be used. For example, a fixed percentage of an incoming order may be allocated using a FIFO mechanism with the remainder being allocated pro rata.Alert Module

[0255] FIG. 3 shows a logical diagram of one implementation 300 of an alert module 122 of an electronic trading system 100, depicted in FIG. 1 and described above, which includes an unstructured statement-to-structured query converter 302 along with a real time alerting engine 304, e.g., Esper, described above, which can listen to a streaming data source 112 and have lookback capabilities by virtue of connecting to a historical database 318 and firing alerts when user defined conditions / queries are met by analyzing the real time streaming data i.e. market data 112, or structured and / or unstructured data received from external sources, described in more detail below, according to the disclosed embodiments. The alert module 300 (122) includes an alert generator 314 which generates alert messages based on participant 312 (150-158) provided queries, e.g., specified via the trading user interfaces 322 of their devices 150-158. The alert generator 314 includes a structured query processor 304 which implements a real time alerting engine and which includes a subscription / client database (not shown), such as an in memory cache or external database, and event processing engine (not shown) which stores the active vetted participant-specified queries, in association with data identifying the requestor or destination to which to communicate the alert messages, and evaluate, e.g., in real time, those queries against the market data feed 112 received from the electronic trading system 110, as well as other data sources (not shown), to generate alert events based thereon. The generated alert events are communicated to an event distribution engine 310 which prepares the alert events for electronic communication to the relevant participants, e.g., by forming the alert event into an electronic message in accordance with the requisite communication protocol for communicating the alert message, e.g., via email, SMS, mobile / wireless device application, web application, or other communications medium now available or later developed, to the requesting participants 312 (150-158), i.e., to the devices 150-158 thereof, or otherwise to the associated recipient / destination. As was noted above, the alert generator 314 may further include a throttling module / component / algorithm 308 which, as was described above, may be used to regulate the frequency with which particular alert events are, for example, communicated.

[0256] As will be described, the alert module 122 of the disclosed embodiments further includes an machine learnt / LLM model 316 based unstructured statement to structured query converter 302 which enables a participant 312 (150-158), i.e., via their device 150-158, to specify their alert queries using unstructured or natural language statements / expressions / prompts as described herein. So as to validate the conversion by the ML model 316 of the specified unstructured statements to structured queries, a query validator 320 and a historical database 318 are provided. The query validator 320 validates the syntax of the generated structured query, providing feedback regarding syntax errors, to the ML model 316 both to correct the current conversion and train the model 316 for future conversions. The query validator 320 is coupled with a query parser and validator 324 which parses and validates the query syntax. The query validator 320, as will be described, is further coupled with the historical database 318 which stores data previously generated by the electronic trading system 100 and / or other data sources not shown. As part of the structured query validation, the query validator 320, as will be described, further evaluates generated structured query against the historical database 318 to provide feedback regarding the extent to which the converted structured query semantically diverges from the unstructured query, as well as the effectiveness of the structured query in realizing the intent of the requestor, e.g., to provide meaningful results, minimal noise, etc. This feedback may then be provided back to the ML model 316, directly or indirectly via the requestor, to revise the converted structured query in accordance therewith. As described, this historical database 318 may also be used to provide contextual lookback data to augment the real time alert communications or otherwise for the execution of queries specifically against historical, rather than real time, data.

[0257] More particularly, FIG. 4 depicts a block diagram of a system / apparatus 400 (302), also referred to as an architecture, according to one embodiment, for generating a query to be automatically processed against data generated by an, e.g., stochastic, electronic data transaction processing system 100, e.g., by a structured query processor 304 of an alert module 122, to identify when particular data is generated thereby, the electronic data transaction processing 100 system comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network, each for a quantity of an instrument, are transacted, as they are received, by a, e.g., hardware, match engine 106 associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure 110 stored in a memory coupled with the match engine 106, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants.

[0258] It will be appreciated that the system 400 may be implemented at least in part by the alert module 122, match engine module 106, order book module 110, market data module 112, message management module 116 and / or order processing module 118 or other module(s) of the exchange computing system 100 described above and shown in FIG. 1, or separately but in communication therewith so as to have access to publicly and / or privately available data related to the state of the system 100. The system 400 includes one or more processors 402, and one or more non-transitory memories 404 coupled therewith, such as the processor 202, memory 204 and / or interfaces 214, 216, 218 described in detail above with reference to FIG. 2.

[0259] The memory 404 being operative to store instructions that when executed, or otherwise include logic 406 stored therein configured to, cause the processor 402 to implement a request receiver 406 operative to receive, from a requestor, i.e., the devices thereof, 150-158 via the data communications network 162 / 220, data indicative of an unstructured, e.g., natural language, statement, in the form of text, audio, or other format, comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor 304 at least against the data (112), as it is generated (in real time) by the electronic data transaction processing system 100, or just against historical data 418 (318) as described herein, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data 112 indicative of the result of the attempt to match, or a derivation thereof, at least, satisfies the intended query, alone or in combination with other data.

[0260] The memory 404 being operative to store instructions that when executed, or otherwise include logic 406 stored therein configured to, cause the processor 402 to implement a request converter 408 coupled with the request receiver 406 and configured to convert, using a machine learnt network 416 (316), the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system 100, indicative of the result of the attempt to match each of the plurality of incoming orders.

[0261] The memory 404 being operative to store instructions that when executed, or otherwise include logic 406 stored therein configured to, cause the processor 402 to implement a structured query validator 410 (320) coupled with the request converter 408 and configured to validate the structured query as being appliable by the structured query processor 304, i.e., that the structured query conforms to a correct syntax or is otherwise syntactically correct, e.g., using alert query parser and validator 324.

[0262] The memory 404 being operative to store instructions that when executed, or otherwise include logic 406 stored therein configured to, cause the processor 402 to implement a structured query tester 412 coupled with the structured query validator 410 (320) and configured to apply the structured query to a historical, e.g., time series, dataset 418 (318) comprising data indicative of results, generated by the electronic data transaction processing system 100, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system 100.

[0263] The memory 404 being operative to store instructions that when executed, or otherwise include logic 406 stored therein configured to, cause the processor 402 to implement a structured query refiner 414 coupled with the structured query tester 412 and configured to determine, based on a result of the application of the structured query to the historical data set 418 (318), a degree of semantic divergence between the intended query and structured query, e.g., an estimation of future performance or likely effectiveness or an identification of semantic or logical errors, and refine, e.g., iteratively, based on the determined degree of semantic divergence, the structured query to reduce or otherwise minimize the degree of semantic divergence between the intended query and structured query below a threshold.

[0264] In one embodiment, the machine learnt network 416 (316) is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data. As described above, it will be appreciated that in different implementations, different machine learning algorithms and techniques may be used.

[0265] One or more of the modules / components described herein may be implemented as a separate component or as one or more logic components, such as on an FPGA which may include a memory or reconfigurable component to store logic and a processing component to execute the stored logic, or as first thru fifth logic 406, 408, 410, 412, 414 respectively, e.g. computer program logic, stored in one or more memories, such as the memory 204 shown in FIG. 2 and described in more detail above with respect thereto, or other non-transitory computer readable medium, and executable by one or more processors 402, such as the processor 204 shown in FIG. 2 and described in more detail above with respect thereto, to cause the processor(s) 402 to, or otherwise be operative as described.

[0266] In one embodiment, as described herein, the transaction processing system comprises an electronic trading system 100, which may implement an ODM, QDM, central counterparty or bilateral based electronic trading system, operative to process electronic transaction messages received via an electronic communications network from a plurality of participant devices, each comprising data indicative of an order to buy or sell a quantity of a financial instrument at a defined price, specific / limit or best / market, or cancel or modify a prior order therefore, the current state the electronic trading system stored in an order book database, or other database(s) or data structure(s), which stores data indicative of received but not yet satisfied or canceled orders to trade, the state being modified as a result of the processing of received electronic transaction messages which modify the stored data indicative of the received but not yet satisfied or canceled orders to trade.

[0267] In one embodiment, the intended query is intended to return a result when at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query in combination with data received from another data source.

[0268] In one embodiment, the intended query is intended to return a result when data derived from at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query. Such derivations may include trends, including velocity and / or acceleration of changes, patterns, forecasts / predictions, precursors (stateless or stateful), or events occurring or repeating over defined time period(s)), or combinations thereof.

[0269] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with one or more clauses, expressions, predicates, statements, operators, fields, additional data sources, such as news, events, weather, or other events, or combinations thereof, comprising one or more precursor, related, or correlated parameters determined by the machine learnt network to minimize the semantic divergency between the structured query and the intended query.

[0270] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with another structured query, e.g. chained or for contextual lookback, configured to be applied to at least against the data, as it is generated by the electronic data transaction processing system 100, indicative of the result of the attempt to match each of the plurality of incoming orders, the historical data set 418 (318), or a combination thereof when the structured query is satisfied.

[0271] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with a programmatically executable action, such as generation of link or order entry ticket, to be executed when the structured query is satisfied.

[0272] In one embodiment, the degree of semantic divergence between the intended query and structured query is determined based on a volume, frequency content, or combination thereof, of the result of the application of the structured query to the historical data set.

[0273] In one embodiment, the structured query validator 410 is further configured to determine that the structured query is not applicable by the structured query processor, i.e., not syntactically correct, and based thereon repeating the converting, e.g., to correct the structured query syntax.

[0274] In one embodiment, the structured query refiner 414 is further configured to refine the structured query by modifying the unstructured statement and cause repetition of the conversion of the modified unstructured statement to a structured query.

[0275] In one embodiment, the structured query refiner 414 is further configured to refine the structured query via modification of the structured query.

[0276] In one embodiment, the structured query refiner 414 is further configured to refine the structured query via modification of one of the unstructured statement or structured query based on feedback received from the requestor 150-158 responsive to presentation of the result of the application of the structured query to the historical data set 418 (318) to the requestor 150-158, e.g., via the device thereof.

[0277] In one embodiment, the data indicative of sample results are further received from the requestor150-158, e.g., via the device thereof, the structured query refiner 414 being further configured to iteratively compare the sample results with the result of the application of the structured query to the historical data set and refine, either automatically or based on feedback, the structured query until the result of the application of the structured query to the historical data set 418 (318) is in accordance with the sample results, e.g., until the historical results conform to the sample results within a threshold.

[0278] In one embodiment, the structured query refiner 414 is further configured to refine the structured query via modification of a frequency of application of the structured query, one or more parameters of the structured query, or a combination thereof. For example, the query may be refined to narrow or broaden one or more query variables to narrow or expand potential results / scope, increase or decrease a threshold, alter parameters of the structure query processor used to apply the structured query, or combinations thereof.

[0279] In one embodiment, the structured query refiner 414 is further configured to train the machine learnt model based on the determined degree of semantic divergence.

[0280] In one embodiment, the request converter 408 is further configured to apply natural language processing to the unstructured statement prior to the converting. Such as rule or AI based, e.g., tokenization, parsing key words, removing nonce words, term expansion.

[0281] In one embodiment, the system 400 further includes a structured query executor 306 configured to provide the refined structured query to the structured query processor 304 for application thereby to at least against the data, as it is generated by the electronic data transaction processing system 100, indicative of the result of the attempt to match each of the plurality of incoming orders, the structured query returning a result when at least a subset of the data indicative of the result of the attempt to match satisfies the structured query. Wherein the results may be provided result immediately in real time or collected / accumulated and provided subsequent thereto, e.g., via a collection / digest communication or user interface therefore.

[0282] In one embodiment, the structured query processor 304 is further configured to determine a frequency of the structured query being satisfied and, based thereon, regulate 308 the output of the results, such as via suppression of outputs, throttling of query execution, modification of query to reduce frequency of trigger (increase threshold magnitude), etc., or combinations thereof.

[0283] In one embodiment, the structured query processor 304 is further configured to augment a result of the application of the structured query with actionable data, such as a link to trade submission, additional product, price, quantity data to facilitate trade based on alert, etc.

[0284] FIG. 5 depicts a flow chart showing operation of the system 400. In particular FIG. 5 shows a method, which may be computer implemented, for generating a query to be automatically processed against data generated by an, e.g., stochastic, electronic data transaction processing system 100 to identify when particular data is generated thereby, the electronic data transaction processing system 100 comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network 162, 220, each for a quantity of an instrument, are transacted, as they are received, by a, e.g., hardware, match engine associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure stored in a memory coupled with the match engine, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants.

[0285] The operation of the system 400 may include: receiving, by a processor 402 from a requestor 150-158, e.g., a device thereof, via the data communications network 162 / 220, data indicative of an unstructured, e.g., natural language, statement, specified in the form of text, audio, or other format, comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor 304 at least against the data, as it is generated (in real time) by the electronic data transaction processing system, or just against historical data as described herein, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match, or a derivation thereof, at least, satisfies the intended query, alone or in combination with other data (Block 502); converting, by the processor 402 using a machine learnt network 416 (316), the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor 304 against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders (Block 504); validating, by the processor 402, the structured query as being appliable by the structured query processor 304, i.e., that the structured query conforms to a correct syntax or is otherwise syntactically correct (Block 506); applying, by the processor 402, the structured query to a historical, e.g., time series, dataset 418 (318) comprising data indicative of results, generated by the electronic data transaction processing system 100, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system (Block 508); determining, by the processor 402, based on a result of the application of the structured query to the historical data set 418 (318), a degree of semantic divergence between the intended query and structured query, e.g., an estimation of future performance or likely effectiveness or an identification of semantic or logical errors (Block 510); and refining, e.g., iteratively, by the processor 402, based on the determined degree of semantic divergence, the structured query to reduce or otherwise minimize the degree of semantic divergence between the intended query and structured query below a threshold (Block 512).

[0286] In one embodiment, the machine learnt network 416 (316) is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data.

[0287] In one embodiment, as described herein, the transaction processing system comprises an electronic trading system 100, which may implement an ODM, QDM, central counterparty or bilateral based electronic trading system, operative to process electronic transaction messages received via an electronic communications network from a plurality of participant devices, each comprising data indicative of an order to buy or sell a quantity of a financial instrument at a defined price, specific / limit or best / market, or cancel or modify a prior order therefore, the current state the electronic trading system stored in an order book database, or other database(s) or data structure(s), which stores data indicative of received but not yet satisfied or canceled orders to trade, the state being modified as a result of the processing of received electronic transaction messages which modify the stored data indicative of the received but not yet satisfied or canceled orders to trade.

[0288] In one embodiment, the intended query is intended to return a result when at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query in combination with data received from another data source.

[0289] In one embodiment, the intended query is intended to return a result when data derived from at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query. Such derivations may include trends, including velocity and / or acceleration of changes, patterns, forecasts / predictions, precursors (stateless or stateful), or events occurring or repeating over defined time period(s)), or combinations thereof.

[0290] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with one or more clauses, expressions, predicates, statements, operators, fields, additional data sources, such as news, events, weather, or other events, or combinations thereof, comprising one or more precursor, related, or correlated parameters determined by the machine learnt network to minimize the semantic divergency between the structured query and the intended query.

[0291] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with another structured query, e.g. chained or for contextual lookback, configured to be applied to at least against the data, as it is generated by the electronic data transaction processing system 100, indicative of the result of the attempt to match each of the plurality of incoming orders, the historical data set 418 (318), or a combination thereof when the structured query is satisfied.

[0292] In one embodiment, the conversion of the unstructured statement to the structured query causes augmentation of the structured query with a programmatically executable action, such as generation of link or order entry ticket, to be executed when the structured query is satisfied.

[0293] In one embodiment, the degree of semantic divergence between the intended query and structured query is determined based on a volume, frequency content, or combination thereof, of the result of the application of the structured query to the historical data set 418 (318).

[0294] In one embodiment, the validating further comprises determining that the structured query is not applicable by the structured query processor 304, i.e., not syntactically correct, and based thereon repeating the converting, e.g., to correct the structured query syntax.

[0295] In one embodiment, the refining further includes modifying the unstructured statement and repeating the converting of the modified unstructured statement to a structured query.

[0296] In one embodiment, the refining further includes modifying the structured query.

[0297] In one embodiment, the refining further includes modifying one of the unstructured statement or structured query based on feedback received from the requestor 150-158, e.g., a device thereof, responsive to presentation of the result of the application of the structured query to the historical data set to the requestor.

[0298] In one embodiment, the data indicative of sample results are further received from the requestor, the determining further including iteratively comparing, by the processor 402, the sample results with the result of the application of the structured query to the historical data set 418 (318) and refining, either automatically or based on feedback, the structured query until the result of the application of the structured query to the historical data set is in accordance with the sample results, e.g., until the historical results conform to the sample results within a threshold.

[0299] In one embodiment, the refining further includes modifying a frequency of application of the structured query, one or more parameters of the structured query, or a combination thereof. For example, the query may be refined to narrow or broaden one or more query variables to narrow or expand potential results / scope, increase or decrease a threshold, alter parameters of the structure query processor used to apply the structured query, or combinations thereof.

[0300] In one embodiment, the refining further includes training the machine learnt model 416 (316) based on the determined degree of semantic divergence.

[0301] In one embodiment, the operation of the system 400 further includes applying natural language processing to the unstructured statement prior to the converting. Such as rule or AI based, e.g., tokenization, parsing key words, removing nonce words, term expansion.

[0302] In one embodiment, the operation of the system 400 further includes providing the refined structured query to the structured query processor 304 for application thereby to at least against the data, as it is generated by the electronic data transaction processing system 100, indicative of the result of the attempt to match each of the plurality of incoming orders, the structured query returning a result when at least a subset of the data indicative of the result of the attempt to match satisfies the structured query. Wherein the results may be provided result immediately in real time or collected / accumulated and provided subsequent thereto, e.g., via a collection / digest communication or user interface therefore.

[0303] In one embodiment, the structured query processor 304 is further configured to determine a frequency of the structured query being satisfied and, based thereon, regulate the output of the results, such as via suppression of outputs, throttling of query execution, modification of query to reduce frequency of trigger (increase threshold magnitude), etc., or combinations thereof.

[0304] In one embodiment, the structured query processor 304 is further configured to augment a result of the application of the structured query with actionable data, such as a link to trade submission, additional product, price, quantity data to facilitate trade based on alert, etc.CONCLUSION

[0305] The illustrations of the embodiments described herein are intended to provide a general understanding of the structure of the various embodiments. The illustrations are not intended to serve as a complete description of all of the elements and features of apparatus and systems that utilize the structures or methods described herein. Many other embodiments may be apparent to those of skill in the art upon reviewing the disclosure. Other embodiments may be utilized and derived from the disclosure, such that structural and logical substitutions and changes may be made without departing from the scope of the disclosure. Additionally, the illustrations are merely representational and may not be drawn to scale. Certain proportions within the illustrations may be exaggerated, while other proportions may be minimized. Accordingly, the disclosure and the figures are to be regarded as illustrative rather than restrictive.

[0306] While this specification contains many specifics, these should not be construed as limitations on the scope of the invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of the invention. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination. Moreover, although features may be described as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a sub-combination or variation of a sub-combination.

[0307] Similarly, while operations are depicted in the drawings and described herein in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0308] One or more embodiments of the disclosure may be referred to herein, individually and / or collectively, by the term “invention” merely for convenience and without intending to voluntarily limit the scope of this application to any particular invention or inventive concept. Moreover, although specific embodiments have been illustrated and described herein, it should be appreciated that any subsequent arrangement designed to achieve the same or similar purpose may be substituted for the specific embodiments shown. This disclosure is intended to cover any and all subsequent adaptations or variations of various embodiments. Combinations of the above embodiments, and other embodiments not specifically described herein, will be apparent to those of skill in the art upon reviewing the description.

[0309] The Abstract of the Disclosure is provided to comply with 37 C.F.R. § 1.72 (b) and is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, various features may be grouped together or described in a single embodiment for the purpose of streamlining the disclosure. This disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter may be directed to less than all of the features of any of the disclosed embodiments. Thus, the following claims are incorporated into the Detailed Description, with each claim standing on its own as defining separately claimed subject matter.

[0310] It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention.

Claims

1. A computer implemented method of generating a query to be automatically processed against data generated by an electronic data transaction processing system to identify when particular data is generated thereby, the electronic data transaction processing system comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network, each for a quantity of an instrument, are transacted, as they are received, by a match engine associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure stored in a memory coupled with the match engine, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants, the method comprising:receiving, by a processor from a requestor via the data communications network, data indicative of an unstructured statement comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match satisfies the intended query;converting, by the processor using a machine learnt network, the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders;validating, by the processor, the structured query as being appliable by the structured query processor;applying, by the processor, the structured query to a historical dataset comprising data indicative of results, generated by the electronic data transaction processing system, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system;determining, by the processor, based on a result of the application of the structured query to the historical data set, a degree of semantic divergence between the intended query and structured query; andrefining, by the processor, based on the determined degree of semantic divergence, the structured query to reduce the degree of semantic divergence between the intended query and structured query below a threshold; andwherein the machine learnt network is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data.

2. The computer implemented method of claim 1, wherein the intended query is intended to return a result when at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query in combination with data received from another data source.

3. The computer implemented method of claim 1, wherein the intended query is intended to return a result when data derived from at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query.

4. The computer implemented method of claim 1, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with one or more clauses, expressions, predicates, statements, operators, fields, additional data sources or combinations thereof, comprising one or more precursor, related, or correlated parameters determined by the machine learnt network to minimize the semantic divergency between the structured query and the intended query.

5. The computer implemented method of claim 1, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with another structured query configured to be applied to at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the historical data set, or a combination thereof when the structured query is satisfied.

6. The computer implemented method of claim 1, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with a programmatically executable action to be executed when the structured query is satisfied.

7. The computer implemented method of claim 1, wherein the degree of semantic divergence between the intended query and structured query is determined based on a volume, frequency content, or combination thereof, of the result of the application of the structured query to the historical data set.

8. The computer implemented method of claim 1, wherein the validating further comprises determining that the structured query is not applicable by the structured query processor and based thereon repeating the converting.

9. The computer implemented method of claim 1, wherein the refining further includes modifying the unstructured statement and repeating the converting of the modified unstructured statement to a structured query.

10. The computer implemented method of claim 1, wherein the refining further includes modifying the structured query.

11. The computer implemented method of claim 1, wherein the refining further includes modifying one of the unstructured statement or structured query based on feedback received from the requestor responsive to presentation of the result of the application of the structured query to the historical data set to the requestor.

12. The computer implemented method of claim 1, wherein the data indicative of sample results are further received from the requestor, the determining further including iteratively comparing, by the processor, the sample results with the result of the application of the structured query to the historical data set and refining the structured query until the result of the application of the structured query to the historical data set is in accordance with the sample results.

13. The computer implemented method of claim 1, wherein the refining further includes modifying a frequency of application of the structured query, one or more parameters of the structured query, or a combination thereof.

14. The computer implemented method of claim 1, wherein the refining further includes training the machine learnt model based on the determined degree of semantic divergence.

15. The computer implemented method of claim 1, further comprising applying natural language processing to the unstructured statement prior to the converting.

16. The computer implemented method of claim 1, further comprising providing the refined structured query to the structured query processor for application thereby to at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the structured query returning a result when at least a subset of the data indicative of the result of the attempt to match satisfies the structured query.

17. The computer implemented method of claim 1, wherein the structured query processor is further configured to determine a frequency of the structured query being satisfied and, based thereon, regulate the output of the results.

18. The computer implemented method of claim 1, wherein the structured query processor is further configured to augment a result of the application of the structured query with actionable data.

19. A system for generating a query to be automatically processed against data generated by an electronic data transaction processing system to identify when particular data is generated thereby, the electronic data transaction processing system comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network, each for a quantity of an instrument, are transacted, as they are received, by a match engine associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure stored in a memory coupled with the match engine, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants, the system comprising:a request receiver operative to receive, from a requestor via the data communications network, data indicative of an unstructured statement comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match satisfies the intended query;a request converter coupled with the request receiver and configured to convert, using a machine learnt network, the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders;a structured query validator coupled with the request converter and configured to validate the structured query as being appliable by the structured query processor;a structured query tester coupled with the structured query validator and configured to apply the structured query to a historical dataset comprising data indicative of results, generated by the electronic data transaction processing system, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system; anda structured query refiner coupled with the structured query tester and configured to determine, based on a result of the application of the structured query to the historical data set, a degree of semantic divergence between the intended query and structured query, and refine, based on the determined degree of semantic divergence, the structured query to reduce the degree of semantic divergence between the intended query and structured query below a threshold; andwherein the machine learnt network is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data.

20. The system of claim 19, wherein the intended query is intended to return a result when at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query in combination with data received from another data source.

21. The system of claim 19, wherein the intended query is intended to return a result when data derived from at least a subset of the data indicative of the result of the attempt to match at least satisfies the intended query.

22. The system of claim 19, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with one or more clauses, expressions, predicates, statements, operators, fields, additional data sources or combinations thereof, comprising one or more precursor, related, or correlated parameters determined by the machine learnt network to minimize the semantic divergency between the structured query and the intended query.

23. The system of claim 19, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with another structured query configured to be applied to at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the historical data set, or a combination thereof when the structured query is satisfied.

24. The system of claim 19, wherein the conversion of the unstructured statement to the structured query causes augmentation of the structured query with a programmatically executable action to be executed when the structured query is satisfied.

25. The system of claim 19, wherein the degree of semantic divergence between the intended query and structured query is determined based on a volume, frequency content, or combination thereof, of the result of the application of the structured query to the historical data set.

26. The system of claim 19, wherein the structured query validator is further configured to determine that the structured query is not applicable by the structured query processor and based thereon repeating the converting.

27. The system of claim 19, wherein the structured query refiner is further configured to refine the structured query by modifying the unstructured statement and cause repetition of the conversion of the modified unstructured statement to a structured query.

28. The system of claim 19, wherein the structured query refiner is further configured to refine the structured query via modification of the structured query.

29. The system of claim 19, wherein the structured query refiner is further configured to refine the structured query via modification of one of the unstructured statement or structured query based on feedback received from the requestor responsive to presentation of the result of the application of the structured query to the historical data set to the requestor.

30. The system of claim 19, wherein the data indicative of sample results are further received from the requestor, the structured query refiner being further configured to iteratively compare the sample results with the result of the application of the structured query to the historical data set and refine the structured query until the result of the application of the structured query to the historical data set is in accordance with the sample results.

31. The system of claim 19, wherein the structured query refiner is further configured to refine the structured query via modification of a frequency of application of the structured query, one or more parameters of the structured query, or a combination thereof.

32. The system of claim 19, wherein the structured query refiner is further configured to train the machine learnt model based on the determined degree of semantic divergence.

33. The system of claim 19, wherein the request converter is further configured to apply natural language processing to the unstructured statement prior to the converting.

34. The system of claim 19, further comprising a structured query executor configured to provide the refined structured query to the structured query processor for application thereby to at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the structured query returning a result when at least a subset of the data indicative of the result of the attempt to match satisfies the structured query.

35. The system of claim 19, wherein the structured query processor is further configured to determine a frequency of the structured query being satisfied and, based thereon, regulate the output of the results.

36. The system of claim 19, wherein the structured query processor is further configured to augment a result of the application of the structured query with actionable data.

37. A system for generating a query to be automatically processed against data generated by an electronic data transaction processing system to identify when particular data is generated thereby, the electronic data transaction processing system comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network, each for a quantity of an instrument, are transacted, as they are received, by a match engine associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure stored in a memory coupled with the match engine, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants, the system comprising:a processor and a memory coupled therewith, the memory having stored therein computer executable instructions that when executed by the processor cause the processor to:receive, from a requestor via the data communications network, data indicative of an unstructured statement comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match satisfies the intended query;convert, using a machine learnt network, the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders;validate the structured query as being appliable by the structured query processor;apply the structured query to a historical dataset comprising data indicative of results, generated by the electronic data transaction processing system, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system; anddetermine, based on a result of the application of the structured query to the historical data set, a degree of semantic divergence between the intended query and structured query; andrefine, based on the determined degree of semantic divergence, the structured query to reduce the degree of semantic divergence between the intended query and structured query below a threshold; andwherein the machine learnt network is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data.

38. A system for generating a query to be automatically processed against data generated by an electronic data transaction processing system to identify when particular data is generated thereby, the electronic data transaction processing system comprising a system in which a plurality of incoming orders received thereby from a plurality of participants via a data communication network, each for a quantity of an instrument, are transacted, as they are received, by a match engine associated therewith, which attempts to match, as they are received, each of the plurality of incoming orders with at least one other previously received but unsatisfied order counter thereto stored in an order book data structure stored in a memory coupled with the match engine, to at least partially satisfy one or both of the incoming order or the at least one other previously received but unsatisfied order counter thereto, upon which data indicative of any unsatisfied remainder thereof is stored in the order book data structure and data indicative of a result of the attempt to match is generated and communicated via the data communication network to the plurality of participants, the system comprising:means for receiving, from a requestor via the data communications network, data indicative of an unstructured statement comprising an attempt by the requestor to semantically specify an intended query to be applied by a structured query processor at least against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders, the intended query intended to return a result when at least a subset of the data indicative of the result of the attempt to match satisfies the intended query;means for converting, using a machine learnt network, the unstructured statement to a structured query comprising a logical expression to be applied by the structured query processor against the data, as it is generated by the electronic data transaction processing system, indicative of the result of the attempt to match each of the plurality of incoming orders;means for validating, the structured query as being appliable by the structured query processor;means for applying, the structured query to a historical dataset comprising data indicative of results, generated by the electronic data transaction processing system, of previous attempts to match, as they were received, each of a plurality of incoming orders, previously received by the electronic data transaction processing system; andmeans for determining, based on a result of the application of the structured query to the historical data set, a degree of semantic divergence between the intended query and structured query; andmeans for refining, based on the determined degree of semantic divergence, the structured query to reduce the degree of semantic divergence between the intended query and structured query below a threshold; andwherein the machine learnt network is a structured neural network trained based on historical transaction data and historical state data, the structured neural network comprising a layered plurality of interconnected processing nodes, wherein each connection of the plurality of interconnected processing nodes to another may be dynamically weighted, the one or more patterns indicative of expected changes in the historical state data as a result of the historical transaction data.

Citation Information

Patent Citations

  • Systems and methods for consolidating multiple feed data

    US11411907B2

  • Trade engine processing of mass quote messages and resulting production of market data

    US20050096999A1

  • Multiple Trade Matching Algorithms

    US20140006243A1

  • Low latency regulation of distributed transaction processing in accordance with centralized demand-based dynamically reallocated limits

    US20230351500A1

  • Market data message format

    US7831491B2