# US 2024/0193211 A1 · Systems and methods of retrospectively determining how submitted data transaction requests operate against a dynamic data structure

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0193211 A1
- Document ID: US20240193211A1
- Status: Published application
- Kind: A1
- Application number: 18/444,293
- Filed: 2024-02-16
- Published: 2024-06-13
- Earliest claimed: 2017-02-16
- Assignees: Nasdaq Technology AB
- Applicants: Nasdaq Technology AB
- Inventors: Jonas NORDIN
- Web page: https://patentgrep.com/patent/US20240193211A1

## CPC

- G06F 16/90348: {by searching ordered data, e.g. alpha-numerically ordered data}
- G06F 9/5005: {to service a request}
- G06F 11/00: Error detection; Error correction; Monitoring (error detection, correction or monitoring in information storage based on relative movement between record carrier and transducer G11B20/18; monitoring, i.e. supervising the progress of recording or reproducing G11B27/36; in static stores G11C29/00)
- G06F 16/2465: {Query processing support for facilitating data mining operations in structured databases}
- G06F 2201/835: Timestamp
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system is provided for retrospectively processing a data structure that includes a plurality of entries. The computer system determines if certain data transactions requests that have been recorded in the data structure could have been executed differently (e.g., by being processed at an earlier point in time). For a given entry in the data structure, the system determines if data transaction request could have at least partly succeeded against a prior recorded state of at least one of two ordered lists of pending data transaction requests. Another entry is then found that caused the initial entry to fail in execution and a time delta is stored between the timestamp of the another entry and the timestamp of the initial entry.

## Claims

### Claim 1

(canceled)

### Claim 2

A computer system comprising:
electronic data storage configured to store a plurality of entries that each correspond to a state change in a data structure that stores data transaction requests, wherein each entry includes an action that caused the state change in the data structure and an identifier that indicates when the corresponding action occurred relative to other actions that caused state changes in the data structure, where at least some of the plurality of entries include a snapshot that is based on those data transactions in the data structure;
a memory coupled to at least one hardware processor that is configured to perform operations comprising:
generating multiple differentials that are each associated with a difference between two entries of the plurality of entries, wherein each of the multiple differentials is generated by at least:
(a) selecting a first entry from the plurality of entries that corresponds to a first data transaction request that is determined to have failed in execution against the data structure;
(b) iterating, from the selected first entry, through the plurality of entries to determine a second entry that includes a snapshot, wherein the snapshot of the second entry includes data for contra-side data transaction request(s) that could have resulted in execution of the first data transaction request against the data structure;
(c) based on the second entry being determined, selecting, from the plurality of entries, a third entry, for which the action thereof was processed prior to processing the action of the second entry, that corresponds to a third data transaction request that resulted in modification of the data structure so that first data transaction request failed in execution against the data structure; and
(d) determining a differential between the identifier of the third entry and the identifier of the first entry.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein determined failure of execution of the first data transaction request against the data structure includes determination that the first data transaction request completely failed to execute against any other data transaction request that was pending in the data structure.

### Claim 4 (depends on 3)

The computer system of claim 3, wherein the snapshot of the second entry represents a state of the data structure for which the first data transaction request could have fully executed against.

### Claim 5 (depends on 3)

The computer system of claim 3, wherein the operations further comprise:
locating a fourth entry that includes a snapshot, wherein the snapshot of the fourth entry represents a state of the data structure for which the first data transaction request could have partly, but not fully, executed against.

### Claim 6 (depends on 5)

The computer system of claim 5, wherein the identifier of the fourth entry is between the identifier of the first entry and the identifier of the second entry.

### Claim 7 (depends on 6)

The computer system of claim 6, wherein the identifier of the fourth entry is temporally between the identifier of the first entry and the identifier of the second entry.

### Claim 8 (depends on 2)

The computer system of claim 2, wherein the data structure is an order book data structure.

### Claim 9 (depends on 2)

The computer system of claim 2, wherein the snapshot of the second entry represents a state of the data structure for which the first data transaction request could have partly, but not fully, executed against.

### Claim 10 (depends on 2)

The computer system of claim 2, wherein each snapshot of a corresponding one of the plurality of entries includes, a side parameter, a level parameter, an aggregated quantity of all data transaction requests at each level, and a total number of data transaction requests that make up the aggregated quantity for each level,
wherein the third data transaction request is associated with an action that caused removal of at least some of the aggregated quantity at a level that is associated with the third data transaction request.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the operations further comprise:
storing, based on selecting the third entry, a quantity amount removed from the aggregated quantity value as a result of the action the caused the state change to the data structure for the third data transaction request; and
storing, based on selecting the third entry, a data transaction request type for the third data transaction request that caused the removal of the quantity amount.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the data transaction request type includes one of an execute data transaction request type and a cancel data transaction request type.

### Claim 13 (depends on 10)

The computer system of claim 10, wherein the second entry is determined, at least in part, based on being an add data transaction request type that is a type that adds quantity to at least one level of the data structure.

### Claim 14 (depends on 2)

The computer system of claim 2, wherein the identifier included with each entry is a value that represents a value time from a clock that indicates when the corresponding action occurred.

### Claim 15 (depends on 2)

The computer system of claim 2, wherein snapshots of the data structure are only stored in the plurality of entries for which the corresponding action results in adding quantity to the data structure.

### Claim 16 (depends on 2)

The computer system of claim 2, wherein determination of the second entry is further based on determination of the identifier of the second entry falling within a window that is calculated based at least in part on the identifier of the first entry.

### Claim 17 (depends on 2)

The computer system of claim 2, wherein the operations further comprise:
generating a graphical user interface that includes, for each corresponding window of a plurality of windows that are over different sets of the plurality of entries, (1) a total quantity that is calculated from a quantity of each data transaction request associated with the corresponding window, and (2) a selectable element for each first entry that falls within the corresponding window.

### Claim 18

A method implemented on a computer system, the method comprising:
storing, to a non-transitory computer-readable storage medium of the computer system, a plurality of entries that each correspond to a state change in a data structure that stores data transaction requests, wherein each entry includes an action that caused the state change in the data structure and an identifier that indicates when the corresponding action occurred relative to other actions that caused state changes in the data structure, where at least some of the plurality of entries include a snapshot that is based on those data transactions in the data structure;
generating multiple deltas that are each associated with a difference between two entries of the plurality of entries, wherein each of the multiple deltas is generated by at least:
(a) selecting a first entry from the plurality of entries that corresponds to a first data transaction request that is determined to have failed in execution against the data structure;
(b) iterating, from the selected first entry, through the plurality of entries to determine a second entry that includes a snapshot, wherein the snapshot of the second entry includes data for contra-side data transaction request(s) that could have resulted in execution of the first data transaction request against the data structure;
(c) based on the second entry being determined, selecting, from the plurality of entries, a third entry, for which the action thereof was processed prior to processing the action of the second entry, that corresponds to a third data transaction request that resulted in modification of the data structure so that first data transaction request failed in execution against the data structure; and
(d) determining a delta between the identifier of the third entry and the identifier of the first entry.

### Claim 19 (depends on 18)

The method of claim 18, wherein each snapshot of a corresponding one of the plurality of entries includes, a side parameter, a level parameter, an aggregated quantity of all data transaction requests at each level, and a total number of data transaction requests that make up the aggregated quantity for each level,
wherein the third data transaction request is associated with an action that caused removal of at least some of the aggregated quantity at a level that is associated with the third data transaction request.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
storing, based on selecting the third entry, a quantity amount removed from the aggregated quantity value as a result of the action the caused the state change to the data structure for the third data transaction request; and
storing, based on selecting the third entry, a data transaction request type for the third data transaction request that caused the removal of the quantity amount.

### Claim 21

A non-transitory computer readable storage medium storing instructions for use with a computer system, the stored instructions comprising instructions that cause the computer system to perform operations comprising:
retrieving, from electronic data storage, a plurality of entries that each correspond to a state change in a data structure that stores data transaction requests, wherein each entry includes an action that caused the state change in the data structure and an identifier that indicates when the corresponding action occurred relative to other actions that caused state changes in the data structure, where at least some of the plurality of entries include a snapshot that is based on those data transactions in the data structure;
generating multiple deltas that are each associated with a difference between two entries of the plurality of entries, wherein each of the multiple deltas is generated by at least:
(a) selecting a first entry from the plurality of entries that corresponds to a first data transaction request that is determined to have failed in execution against the data structure;
(b) iterating, from the selected first entry, through the plurality of entries to determine a second entry that includes a snapshot, wherein the snapshot of the second entry includes data for contra-side data transaction request(s) that could have resulted in execution of the first data transaction request against the data structure;
(c) based on the second entry being determined, selecting, from the plurality of entries, a third entry, for which the action thereof was processed prior to processing the action of the second entry, that corresponds to a third data transaction request that resulted in modification of the data structure so that first data transaction request failed in execution against the data structure; and
(d) determining a delta between the identifier of the third entry and the identifier of the first entry.
