Users often need to place several order "up or down the book" . To achieve this, we will build basic Queue Holder functionality. The following examples show the basic entry-side of the logic for these types of order entry.
This example uses the following algo variables:
The following screen shots show how to assemble the logic. This first screen shot sets up the variables.
This part creates the original stack of orders. It uses a loop block to set the depth of the stack and takes the Index Number off the Loop Block and adds that to any offset the user designates to figure out the exact price each original order should be placed at. Each of these will be a virtual instance. The DOB references “START PRICE” as the original order, and Order QTY. Also, the DOB is set for Flip for Sell functionality.
To help with the internal referencing of some of the blocks seen below:
This screen shot shows the inside logic of the virtualized “Individual Virtual Order Managers” group block.
To help with the internal referencing of some of the blocks seen below:
This screenshot shows a larger view of the logic inside the Virtualized Group Block
And this screen shot shows the logic responsible for the Order Price Movement.