Basic blocks

Basic blocks

Number block

The Number block outputs a constant numeric value. The value of the block can be set as follows:

  • Static value that is set during algo creation and does not change for the duration of the algorithm's execution either by entering a number for the value field in the Block Properties panel or by typing a number into block search to prepopulate the number block before adding it to the canvas
  • User-defined value that can be set by the user when starting the algorithm
  • Order price value that gets its values from the price level a user clicks in the MD Trader widget when launching a OTA (order ticket algorithm)
  • Order quantity value that gets its value from the quantity specified in the MD Trader widget when launching a OTA (order ticket algorithm)

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas
Value Numeric value to output
Variable Type

Method to set the value:

  • Static
  • UserDefined
  • OrderQty
  • OrderPrice