Advanced concepts

Advanced concepts

Synthetic order algos (SOA)

A synthetic order algo (SOA) in ADL is a type of Order Ticket Algo (OTA) that behaves similarly to a TT Order Type. An SOA differs from an OTA in three significant ways:

  • A synthetic order algo automatically shows the parent order in MD Trader.
  • An SOA generates fills for the parent order in addition to the fills for the child orders.
  • When a synthetic order algo is fully-filled (when the block with its type set to Order Quantity reaches 0), the algo is automatically terminated.

Like an OTA, a synthetic order algo requires its Instrument block's Type property to be set to Order Instrument.

When the SOA is deployed, it also appears in the list of order type values, as shown.

Both the parent and child orders submitted by an SOA are displayed in the MD Trader widget. If the algo creator enables Synthetic Algo Order (SOA) setting in ADL, the Show algo order on ladder setting is automatically checked (and cannot be disabled).

Viewing SOA orders in MD Trader

When a synthetic order algo order is submitted, the working quantity of the parent order is set to to the submitted quantity. Child orders appear as normal working orders.

(1) SOA parent synthetic order
(2) SOA child exchange order

Note: If an SOA delays submitting its first child order, the working quantity of the SOA parent order will remain 0 until the first child order is submitted.