This algo aims to achieve the time-weighted average price calculated from the time you submit the order to the time it completes. Incomplete orders at the end of the stated completion time will continue to fill if the box 'allow trading past end time' is checked. Users can set the order to trade only when specified conditions are met. Those user-defined inputs include when the order is marketable, when the midpoint matches the required price, when the same side (buy or sell) matches to make the order marketable or when the last traded price would make the order marketable. For the TWAP algo, the average price calculation is calculated from the order entry time through the close of the market and will only attempt to execute when the criterion is met. The order may not fill throughout its stated duration and so the order is not guaranteed. TWAP is available for all US equities.


The Reference Table to the upper right provides a general summary of the order type characteristics. The checked features are applicable in some combination, but do not necessarily work in conjunction with all other checked features. For example, if Options and Stocks, US and Non-US, and Smart and Directed are all checked, it does not follow that all US and Non-US Smart and direct-routed stocks support the order type. It may be the case that only Smart-routed US Stocks, direct-routed Non-US stocks and Smart-routed US Options are supported.

Products Availability Routing TWS
Futures US Products Smart Attribute
Stocks Non-US Products* Directed Order Type
Options IB Algo Time in Force
Forex IB Algo
*Available for Australian stocks.
Available for Japanese and Hong Kong stocks for customers who use the Cost Plus pricing structure.
Open Users' Guide

Time-Weighted Average Price (TWAP) Orders Short Video

For more short videos, see our Traders' Academy Courses.