Basics of an Algo Order

An Algo order is a regular Order that has an AlgoOrderData section added in the Place Order or Change Order requests.
Get the strategy guide here and the developer description at the Developer Portal.
Order tickets must warn before trading a complex product, provide a KID download and the cost breakdown. See the sample.
Algo-orders can be used for pre-market trading in US Stocks.

!! IMPORTANT !! Algo Orders only partly work on SIM (no executions), so Live testing is necessary!
The '?env=live' option to test on production uses a readonly app. So best is to use a token from your own live app.

POST body containing order parameters:

Click button to launch function.

JS code:
Click button to show code.