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.
When the Flip for Sell Order 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 Order Functionality for more information).
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 Order Functionality for more information. |