Introduction to ADL

Introduction to ADL

Using ADL algos

ADL and the Trade app are closely integrated so that you can easily use custom ADL algos to submit and manage orders from the Trade app. The process for creating and using an ADL algo is as follows:

  • Create an algo in ADL
  • Deploy the algo to the TT Algo Server
  • Execute the algo from the Trade app

Algo creation

Using ADL, you add blocks and create connections to design an algo that implements your desired strategy. Blocks configured to take user-defined variables will automatically appear as editable parameters within the trading application, allowing traders to modify the values before launching the algo. In the case of the Order Stack algo below, the Instrument, OrderQty and StackDepth inputs are all specified as user-defined variables.

Order Stack algo

Once you've tested your algo in ADL, you are ready to deploy it to the TT Algo Server.

Algo deployment to the TT Algo Server

Deploying an ADL algo to the TT Algo Server makes it available to the Trade app. Once the algo is deployed, it is displayed in your list of available algos within the Algo Dashboard, as shown. It is also displayed in the list of available algos within the Autotrader widget.

Deployed Algo

Algo execution

From the Algo Dashboard, you can specify the parameters for the algo and launch it. Below you can see that TT automatically generated input parameters for the Instrument, OrderQty and StackDepth blocks you configured as user-defined variables in your algo.

Once launched, the working algo parent order appears in the Algo Orders Pane, and the orders are submitted to the exchange.

In this case, the trader set the stack depth variable to 3 and the order quantity variable to 5. The MD Trader widget shows that the algo successfully submitted 5-lot orders at three price levels away on both sides of the market for the CME CL Mar17 instrument, also chosen by the trader.