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)
Example The Number block outputs a number that is used by the Order block to set the order quantity.
To customize the block, update the Block Properties.
||Name to display beneath the block on the ADL canvas
||Numeric value to output
Method to set the value: