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:
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).
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
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.