Arithmetic blocks

Arithmetic blocks

Arithmetic blocks overview

ADL provides a series of arithmetic blocks that allow you to perform calculations based on the outputs of other blocks. For example, you could use the Multiply and Add blocks to determine the tradable price two ticks about the inside market for an instrument or use the Formula block to define custom mathematical equations to support your algorithm.

Arithmetic blocks include:

  • Add
  • Subtract
  • Multiply
  • Divide
  • Mod
  • Round
  • Average
  • Math
  • Formula