Trading Blocks

Trading Blocks

Price block

The Price block is a trading block that allows a user to specify a valid price for an instrument using the display format. During algo execution, when the user specifies a price in this block, the Price block ensures that the price is a tradable price for that instrument. The block provides an alternative to using the Number block for specifying an order price.

Example Using the Price block to enter a valid price of "4551.00" for the CL Sep17 contract

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas
Variable Type

Method to use to specify the price

  • Static. The price is set during development and does not change during execution.
  • User Defined. The price can be set or changed before starting an algorithm. This option allows you to design an algorithm template that can be used with different prices.
  • Order Price. Any algorithm containing an Order Instrument will be recognized as an Order Ticket Algorithm (OTA), which is executable directly from an MD Trader widget. The instrument automatically matches the price shown on the ladder.
Price

Default value for the price block

You can use the integrated price ladder to select a price or enter the price directly.