# US 2025/0095066 A1 · Virtualizing for User-Defined Algorithm Electronic Trading

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

- Number: US 2025/0095066 A1
- Document ID: US20250095066A1
- Status: Published application
- Kind: A1
- Application number: 18/959,148
- Filed: 2024-11-25
- Published: 2025-03-20
- Earliest claimed: 2009-10-20
- Assignees: Trading Technologies International, Inc.
- Applicants: Trading Technologies International, Inc.
- Inventors: Richard Lane; Michael Unetich; Daniel Lidor; Nathan Edwards
- Web page: https://patentgrep.com/patent/US20250095066A1

## CPC

- G06Q 40/04: Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
- G06F 3/04847: Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
- G06Q 40/00: Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Certain embodiments reduce the risks of traditionally programmed algorithms such as syntax errors, unclear logic, and the need for a non-trader programmer to develop the algorithm as specified by a trader by reducing or eliminating the writing of programming code by a user. Certain embodiments provide a design canvas area and blocks for designing an algorithm. Certain embodiments provide for grouping blocks placed in the design canvas area. Certain embodiments provide for virtualized group blocks enabling dynamic instantiation of portions of an algorithm to handle particular discrete events. Certain embodiments provide for operation of some or all portions of an algorithm when a connection between a client device and an algorithm server is broken.

## Claims

### Claim 1

(canceled)

### Claim 2

A method including:
receiving by a computing device a command to execute program code associated with a definition for an algorithm, wherein the definition for the algorithm is based on an arrangement of blocks specified in a visual programming environment, wherein the arrangement of blocks includes a virtualized group block, wherein the virtualized group block includes one or more blocks representing a particular functionality, wherein the virtualized group block includes a discrete event input;
executing by the computing device the program code associated with the definition for the algorithm;
determining by the computing device, while the program code associated with the definition for the algorithm is executing, the occurrence of a discrete event, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when the discrete event occurs; and
invoking by the computing device the event handler associated with the discrete event input of the virtualized group block, wherein invoking the event handler includes:
instantiating by the computing device a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
executing by the computing device program code associated with the particular functionality in the new instance based on the discrete event.

### Claim 3 (depends on 2)

The method of claim 2, further including:
receiving by the computing device the program code associated with the definition of the algorithm.

### Claim 4 (depends on 2)

The method of claim 2, further including:
receiving by the computing device the definition for the algorithm; and
generating by the computing device the program code associated with the definition of the algorithm.

### Claim 5 (depends on 2)

The method of claim 2, further including:
registering by the computing device the event handler associated with the discrete event input of the virtualized group block to be invoked when the discrete event occurs.

### Claim 6 (depends on 2)

The method of claim 2, wherein determining the occurrence of the discrete event is based on data received by the computing device.

### Claim 7 (depends on 2)

The method of claim 2, further including:
determining by the computing device, while the program code associated with the definition for the algorithm is executing, the occurrence of a plurality of discrete events, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when each of the plurality of discrete events occurs; and
invoking by the computing device for each of the plurality of discrete events the event handler associated with the discrete event input of the virtualized group block, wherein invoking the event handler includes:
instantiating by the computing device a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
executing by the computing device program code associated with the particular functionality in the new instance based on the corresponding discrete event.

### Claim 8 (depends on 2)

The method of claim 2, wherein the computing device is a client device.

### Claim 9 (depends on 2)

The method of claim 2, wherein the computing device is an algorithm server.

### Claim 10

A non-transitory computer readable medium having stored therein instructions executable by a processor, including instructions executable to:
receive a command to execute program code associated with a definition for an algorithm, wherein the definition for the algorithm is based on an arrangement of blocks specified in a visual programming environment, wherein the arrangement of blocks includes a virtualized group block, wherein the virtualized group block includes one or more blocks representing a particular functionality, wherein the virtualized group block includes a discrete event input;
execute the program code associated with the definition for the algorithm;
determine, while the program code associated with the definition for the algorithm is executing, the occurrence of a discrete event, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when the discrete event occurs; and
invoke the event handler associated with the discrete event input of the virtualized group block, wherein the instructions to invoke the event handler include instructions executable to:
instantiate a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
execute program code associated with the particular functionality in the new instance based on the discrete event.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, further including instructions executable to:
receive the definition for the algorithm; and
generate the program code associated with the definition of the algorithm.

### Claim 12 (depends on 10)

The non-transitory computer readable medium of claim 10, further including instructions executable to:
register the event handler associated with the discrete event input of the virtualized group block to be invoked when the discrete event occurs.

### Claim 13 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the occurrence of the discrete event is determined based on data received by a computing device including the processor.

### Claim 14 (depends on 10)

The non-transitory computer readable medium of claim 10, further including instructions executable to:
determine, while the program code associated with the definition for the algorithm is executing, the occurrence of a plurality of discrete events, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when each of the plurality of discrete events occurs; and
invoke for each of the plurality of discrete events the event handler associated with the discrete event input of the virtualized group block, wherein invoking the event handler includes:
instantiate a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
execute program code associated with the particular functionality in the new instance based on the corresponding discrete event.

### Claim 15 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein an algorithm server includes the processor.

### Claim 16

A system including:
a computing device configured to:
receive a command to execute program code associated with a definition for an algorithm, wherein the definition for the algorithm is based on an arrangement of blocks specified in a visual programming environment, wherein the arrangement of blocks includes a virtualized group block, wherein the virtualized group block includes one or more blocks representing a particular functionality, wherein the virtualized group block includes a discrete event input;
execute the program code associated with the definition for the algorithm;
determine, while the program code associated with the definition for the algorithm is executing, the occurrence of a discrete event, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when the discrete event occurs; and
invoke the event handler associated with the discrete event input of the virtualized group block, wherein to invoke the event handler the computing device is configured to:
instantiate a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
execute program code associated with the particular functionality in the new instance based on the discrete event.

### Claim 17 (depends on 16)

The system of claim 16, wherein the computing device is further configured to:
receive the definition for the algorithm; and
generate the program code associated with the definition of the algorithm.

### Claim 18 (depends on 16)

The system of claim 16, wherein the computing device is further configured to:
register the event handler associated with the discrete event input of the virtualized group block to be invoked when the discrete event occurs.

### Claim 19 (depends on 16)

The system of claim 16, wherein the occurrence of the discrete event is determined based on data received by a computing device including the processor.

### Claim 20 (depends on 16)

The system of claim 16, wherein the computing device is further configured to:
determine, while the program code associated with the definition for the algorithm is executing, the occurrence of a plurality of discrete events, wherein an event handler associated with the discrete event input of the virtualized group block is registered to be invoked when each of the plurality of discrete events occurs; and
invoke for each of the plurality of discrete events the event handler associated with the discrete event input of the virtualized group block, wherein invoking the event handler includes:
instantiate a new instance of the particular functionality represented by the one or more blocks in the virtualized group block; and
execute program code associated with the particular functionality in the new instance based on the corresponding discrete event.

### Claim 21 (depends on 16)

The system of claim 16 wherein the computing device is an algorithm server.
