Arithmetic blocks

Arithmetic blocks

Subtract block

The Subtract block subtracts the second input from the first input and outputs the difference.

Example The Subtract block subtracts 2 from the bid quantity.

More about Flip for Sell

When the Flip for Sell option is enabled, the Subtract block will either perform a subtraction or an addition operation, depending on the value of the Order Side Variable (see: Flip For Sell Orders Functionality for more information).

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas
Flip for Sell Order

Whether to enable a single algorithm to act either as buy or sell side routine as needed

See Flip For Sell Orders Functionality for more information.