Introduction

View as MarkdownOpen in Claude

As long as an order is active, it is possible to retrieve it using the TWS API. Orders submitted via the TWS API will always be bound to the client application (i.e. client Id) they were submitted from meaning only the submitting client will be able to modify the placed order. Three different methods are provided to allow for maximum flexibility. Active orders will be returned via the IBApi.EWrapper.openOrder and IBApi.EWrapper.orderStatus methods as already described in [The openOrder callback](/tws-api/doc/order-management/open-orders) and The orderStatus callback sections

Note: it is not possible to obtain cancelled or fully filled orders.